chef

chef notes $ 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

2016-02-19 · 1 min · 52 words · Mike Fettis

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

1 min · 25 words · Mike Fettis

chef notes

chef notes $ 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

1 min · 52 words · Mike Fettis

cli

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

1 min · 17 words · Mike Fettis

Git

git revert first checkout the master branch: 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....

2 min · 236 words · Mike Fettis

index

Wiki |-+-+-| |git | chef| ansible| |qmk | tmux| cli |

1 min · 11 words · Mike Fettis

qmk

qmk notes 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....

1 min · 112 words · Mike Fettis

tmux

vim scrolling Ctrl-b then [ 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

1 min · 55 words · Mike Fettis