Micro posts — snippets and sentences.

Send yourself messages in WhatsApp ·

Create a group with someone, kick them out (sorry), pin the group, and now send yourself links, messages, and other media to yourself that you can access on your phone, the web, and on your desktop. This has been a nice addition to my usual now-laborious Notes app route.

Permission denied (publickey) ·

I wrapped up Baptiste Augrain’s solution to the Permission denied (publickey) problem in a bash file called ssh_git.sh, made it executable (chmod +x ssh_git.sh), and run it whenever I run into the error message when pushing to a Bitbucket repository.

ssh-add ~/.ssh/bitbucket-key # replace this with your key path
ssh-add -l
ssh -Tv git@bitbucket.org

Clean up disks from Virtual Box ·

Unfortunately, to clean up space, you can’t just delete *.vmdk.

vboxmanage list hdds
vboxmanage closemedium disk <uuid> --delete

Figuring out (painful) lessons ·

“I began to experience painful moments in a radically different way. Instead of feeling frustrated or overwhelmed, I saw pain as nature’s reminder that there is something important for me to learn. Encountering pains and figuring out the lessons they were trying to give me became sort of a game to me. The more I played it, the better I got at it, the less painful those situations became, and the more rewarding the process of reflecting, developing principles, and then getting rewards for using those principles became. I learned to love my struggles, which I suppose is a healthy perspective to have…”

Ray Dalio, Principles (2017)

The life plan ·

Alice asked the Cheshire Cat, who was sitting in a tree, “What road do I take?”

The cat asked, “Where do you want to go?”

“I don’t know,” Alice answered.

“Then,” said the cat, “it really doesn’t matter, does it?”

Lewis Carroll, Alice’s Adventures in Wonderland (1865)

Underscore ·

Get the last value in the console with an underscore _.

irb> Event.within_bounding_box([40.71, 100.23], [36.12, 88.65])
irb> event = _