Ubuntu 18
Super (just by itself)
Ubuntu 16
Super + w
https://askubuntu.com/questions/1187228/super-w-for-ubuntu-18
Ubuntu 18
Super (just by itself)
Ubuntu 16
Super + w
https://askubuntu.com/questions/1187228/super-w-for-ubuntu-18
Add the username to the docker
group.
https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user
Let’s say you’ve accidentally added a password into git. Here’s how you remove it:
1. if you have only committed locally
a. and it’s your last commit
git commit -a --amend
b. and it’s a previous commit
git rebase -i origin/master
pick
to edit
where you want to editgit commit --amend
git rebase --continue
https://stackoverflow.com/questions/872565/remove-sensitive-files-and-their-commits-from-git-history
2. if you have committed and pushed to GitHub
https://blog.ostermiller.org/git-remove-from-history
https://blog.tinned-software.net/remove-files-from-git-history/
Terraform
1. Install Terraform extension:
Ctrl Shift P > Install
Terraform
2. Enable 0.12 support
Ctrl Shift P > Terraform: Enable/Disable Language Server
Possibly one of the worst handovers I’ve ever experienced. I overheard this recently when a consultant was doing a handover to a colleague. Some classics!
I’m not making this up. These were all real phrases!
And then there were all the passive-aggressive phrases like “Yes” or “No” in response to questions instead of elaborating and explaining.
And the git commit history was funny. Line after line of commit messages saying “WIP”! And all the merges to master were done by himself – no peer reviews.
You can’t make this stuff up!
When generating certificates from LetsEncrypt we get 4 .pem
files. These are:
1. fullchain.pem
2. privkey.pem
3. cert.pem
4. chain.pem
What are they all?
privkey.pem: private key
cert.pem: public key
chain.pem: certificate chain
fullchain.pem concatenation of cert.pem and chain.pem
https://community.letsencrypt.org/t/what-are-those-pem-files/18402
sudo apt-get -y update; sudo apt-get install -y terminator
); launch Terminator (terminator
); Add to Favourites; close Terminal:minimize,maximize,close
to close,maximize,minimize:
sudo apt install curl
sudo apt-get install fonts-powerline
(so much easier than on the Mac) – https://github.com/powerline/fontsplugins=(autojump docker extract git git-extras vagrant web-search )
You’d have to
cleanWs()
a function of the Workspace Cleanup plugin and deletes the workspace.