start new:
tmux
start new with session name:
tmux new -s myname
A collection of Markdown code and tricks that were tested to work in Gist.
This and all public gists in https://gist.github.com/ww9 are Public Domain. Do whatever you want with it including , no need to credit me.
| ### Generic Dockerfile demonstrating good practices | |
| ### Imports | |
| # Bad. You risk both the stability and security of your application | |
| # You don't know what they might merge into their image or who they may give control of the project | |
| # https://twitter.com/b0rk/status/1226856930875932672/photo/1 | |
| FROM random-person/golang:latest | |
| # Bad-ish. We don't need Ubuntu, it comes with unnecessary bloat |
| If: | |
| - you add and commit with the wrong email address in git, and | |
| - your remote has a hook set up to prevent you from pushing with the bad address | |
| Then you need to amend the author of your commit before push can succeed: | |
| 1. fix your email address in git config: | |
| $ git config user.name "Your Name" |