Docs

Hugo

Links More links shortcodes documentation creating a new anything hugo new docs/hugo.md »

Git

## Git Revert ## Git checkout master #then run a git log and get the id of the merge commit. git log #then revert to that commit: git revert -m 1 <merge-commit> # With ‘-m 1’ we tell git to revert to the first parent of the mergecommit on the master branch. -m 2 would specify to revert to the first parent on the develop branch where the merge came from initially. »

ansible

ansible notes https://galaxy.ansible.com/ Galaxy is your hub for finding, reusing and sharing Ansible content https://github.com/wilmardo/ansible-role-plex repo for the plex install with ansible… something for later »

chef

chef $ kitchen list $ kitchen converge ;# creates the vagrant box from the kitchen.yml $ kitchen exec -c whoami ;#fire a command from insid ethe vagrant box $ kitchen verify ;# runs the tests that are configured $ kitchen login ; # logs into the box directly gives a shell »

cli

shasum Getting a shasum on something… useful so lets do it with this shasum -a 256 <filename> »

kubernetes

https://github.com/kubernetes/dashboard ansible roles for minikube https://github.com/reachlin/k8s0 commands minikube kubectl »

qmk

qmk there is a bunch of qmk stuff out there this is what you need for qmk and the ergodox ez keyboard… https://docs.qmk.fm/ - qmk documentation https://www.pjrc.com/teensy/loader_linux.html ***if you are programming it with the qmk toolbox make sure that your have karabiner elements turned off docker images qmk builder can be done via docker. This means that it is way easier to build than dealing with all the dependencies for building, just use docker. »

ssh

ssh SSH Proxy ssh -o ProxyCommand='ssh -W %h:%p user@bastion' user@target ~/.ssh/config Host bastion Hostname my-bastion-host.example.com Host my_server Hostname 10.0.1.18 ProxyCommand ssh bastion -W %h:%p then you can use: $ ssh my_server »

tmux

vim scrolling Ctrl-b [ then you can use your normal navigation keys to scroll around (eg. Up Arrow or PgDn). Press q to quit scroll mode. Selection and copying once in acroll mode spacebar character slect mode once in scroll mode shift+V line select mode once selected y copies to clipboard paste like normal »