cmp.is

Notes

When I find out something that requires a small example or longer text I make a note here on my site.

These posts are short and often times come with a small summary to avoid even needing to click in to the note at all.

2017

“Apple Needs to Reinvent Itself” Apple is doing more AI than ever
How to get your local ip in OS X from terminal ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'

2016

Edit a file in a running Emacs instance $ emacsclient -n content/notes/launch-existing-emacs-from-terminal.md
Slow React Native iOS animations You have slow animations on! Cmd + T!
Find ports in use lsof -n -i:8000 | grep LISTEN
How to actually install lxml on Ubuntu 12.04 sudo apt-get install libxml2-dev libxslt1-dev zlib1g-dev python-dev && pip install lxml
Install Python 3.5 on Ubuntu Trusty 14.04 LTS $ sudo add-apt-repository ppa:fkrull/deadsnakes
Force Zsh File Redirection echo text >! overwrite.file