linux

bash tips 1

BASH tips So I read a comment on Hacker News about ctrl+o and and the comment (and subsequent comments) made it sound as though it was this ultra helpful trick. Well I had a bit of difficulty finding what and how to use, perhaps its because I’m a bit stupid. So here is how it works, you type a command (I found it works best when you use ctrl+r then press ctrl+o) press ctrl+o instead of enter.

pyenv

Version Managers I have been enjoying the idea of version managers for interpreted languages like Ruby, Python and even NodeJS. Python likes to advocate using virtualenv, which works very well when interacting and writing the code. However when interacting with automation like Ansible or Chef this becomes difficult since you have to source the shell scripts to install a given version. Some might argue that there isn’t a need to have one of these version managers, and as you might guess I disagree with that, and advocate for them.

white_spaces_can_be_dangerous

====== White spaces can be dangerous ====== When I was some go I noticed that it refused to compile due to a white space: '’ ./go-test-router.go:17: invalid identifier character U+2502 ./go-test-router.go:17: syntax error: unexpected name, expecting } '’ I have noticed this first with Microsoft Windows formatting of white spaces and new lines. This is also true Word quotes. This was due to the fact that we had to put documentation on sharepoint.

tiddlywiki_entry_everyday_for_30_days

====== Tiddlywiki entry everyday for 30 days ====== I’m going to make it a goal to make a tiddlywiki entry every day for 30 days. This will be in effort to help form a habit. Here is my plan, add items to track quick ideas like Million dollar ideas, things to research, plans for the house, programming/learning notes. Really Tiddlywiki should be quick and dirty, I want this dokuwiki to be more mature, organized, especially since it’s versioned with git.