emacs life changers

vterm- a terminal mode for emacs that doesn’t suck. oh, and it’s fast. vterm-toggle - F2 boom. you’re there.

December 30, 2020 · sulrich

TIL: about the python code module

well this module is hugely useful. invoke the REPL where you need it while you’re debugging something gnarly. for some reason, i’ve never quite grokked the use of pdb. i stumbled on this gem via this article.

April 19, 2020 · sulrich

NNT on personal finance

i’m curious as to how long this link will last. that said, pretty solid advice and reasonable take on things. far less abrasive than his twitter feed would have you think.

December 27, 2019 · sulrich

single host ansible playbook

for those times when you just want to run the playbook against a single host in the group … --limit hostname make sure that the host can be found in the inventory.

November 3, 2019 · sulrich

TIL: github publishes your public keys for you

today i learned, github publishes everyone’s public keys at https://github.com/username.keys. very handy for bootstrapping a machine. mine

October 28, 2019 · sulrich

foo-lab sample topology

topology the following scripts will create the VMs and the necessary OVS plumbing to generate the topology associated with the above diagram. these should be run in the following order: start-vms.sh start-topology.sh follow the gist links to get the raw source. NB the start-topo.sh script will create a number of interfaces. the most notable of which is the mgmgt0 interface which it will assign an IP address to. you’ll want to make sure that it’s not going to conflict with anything you need to access....

May 20, 2019 · sulrich

foo-lab topology building

overview to build a virtualized network topology from the most base elements it’s as simple as starting a virtual machine with the necessary number of virtualized interfaces and interconnecting these virtual interfaces to other virtual machines or physical interfaces. while there are tools1 which will nicely automate the creation of topologies and handle the lifecycle of VMs. all of these are effectively placing a nice wrapper around the following process....

May 20, 2019 · sulrich

pyenv reminder

you can have multiple pythons enabled at the same time so that those applications which you run which make assumptions about python2 being available work. (i’m looking at you gsutil and gcloud) elmo(~)% pyenv global 3.7.1 2.7.15 elmo(~)% pyenv versions system * 2.7.15 (set by /Users/sulrich/.pyenv/version) 2.7.15/envs/foo 2.7.5 * 3.7.1 (set by /Users/sulrich/.pyenv/version) 3.7.2 foo elmo(~)% which python2 /Users/sulrich/.pyenv/shims/python2 elmo(~)% which python3 /Users/sulrich/.pyenv/shims/python3 elmo(~)% which python /Users/sulrich/.pyenv/shims/python elmo(~)% python --version Python 3....

April 15, 2019 · sulrich