To see messages from other users and the system as well as performing various log operations from a regular user add it to the group:
sudo usermod -aG systemd-journal $USER| # annotated by dave eddy (@yousuckatprogramming) | |
| # explained - https://youtu.be/D0sG2fj0G4Y | |
| # borrowed heavily from https://grml.org | |
| # Begin blinking text mode | |
| # I just use bold red here since my terminal has blinking disabled | |
| export LESS_TERMCAP_mb=$'\e[1;31m' | |
| # Begin bold text mode | |
| export LESS_TERMCAP_md=$'\e[1;31m' |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| #!/bin/bash | |
| # Example file line: | |
| # VM name,Group,MAC Address,RAM,Procs,HDD,VRDP port | |
| # sf-mc-01,Group,080027EF99DD,512,1,6000,9007 | |
| if [[ ! -e $1 ]]; then | |
| echo "File $1 not found." | |
| exit 1 | |
| fi |
WARNING: If you're reading this in 2021 or later, you're likely better served by reading:
(This gist was created in 2013 and targeted the legacy GOPATH mode.)
$ ssh -A vm
$ git config --global url."git@github.com:".insteadOf "https://github.com/"