vectorbeta.wordpress.com
My getopts reference page | Vector Beta
https://vectorbeta.wordpress.com/2014/08/18/my-getopts-reference-page
Doling out sparks of information. My getopts reference page. I don’t use bash getopts. Often enough to remember its syntax exactly. I can’t just say. To see its man page, and while this tutorial. Is good, it’s not as straightforward as I’d prefer. So here’s my reference page. Usage() { echo "Usage: $0 [options] arguments" } while getopts "$optstring" opt; do case $opt in a) dosomething ; b) dosomethingelse ; *) usage exit 1 esac done shift $( OPTIND - 1). This entry was posted in coding. August 18, 2014.
vectorbeta.wordpress.com
Protecting the master branch from you | Vector Beta
https://vectorbeta.wordpress.com/2015/03/10/protecting-the-master-branch-from-you
Doling out sparks of information. Protecting the master branch from you. An ounce of prevention is worth a pound of cure. Benjamin Franklin. Eighteen new commits on master with questionable commit messages. Yay. One of the most critical things you do when working with remote git repositories is pushing your changes to master. Once that is done, everyone else can see what you’ve done. And, if you. Command. A couple of months ago finally messed that up one too many times, so I decided to use Git’s. No more...
vectorbeta.wordpress.com
Programming Font: Inconsolata | Vector Beta
https://vectorbeta.wordpress.com/2014/04/22/programming-font-inconsolata
Doling out sparks of information. Time for another of my favorite programming fonts: Inconsolata. Inconsolata specimen from fontsquirrel.com. As its creator states, it bears a resemblance to the Consolas font that ships with more recent Windows versions, and which isn’t all that bad either. This one has a bit of an edge in my opinion: it’s freely available so I’m good to go on my Mac with it. It’s a bit sharper and bolder than Droid Sans Mono. This entry was posted in fonts. April 22, 2014. On The Java l...
vectorbeta.wordpress.com
Bill Havanki | Vector Beta
https://vectorbeta.wordpress.com/author/bhavanki
Doling out sparks of information. Author Archives: Bill Havanki. Solutions Architect for Cloudera Government Services, Inc., a subsidiary of Cloudera. How to Kill It on a Phone Screen. Louvre-Lens Indian window screen 1605 CE. CC BY-NC 2.0, by damian entwistle ( https:/ www.flickr.com/photos/damiavos/10805845864. Be clear and crisp. Don’t let Verizon or AT&T determine how well you come across over the phone. I think conversing like this is unnatural for most people. It’s totally fine to take a ...Remembe...
vectorbeta.wordpress.com
Programming Font: Droid Sans Mono | Vector Beta
https://vectorbeta.wordpress.com/2014/02/14/programming-font-droid-sans-mono
Doling out sparks of information. Programming Font: Droid Sans Mono. The first one on my list is what I use for my iTerm2. Window: Droid Sans Mono. Droid Sans Mono specimen from fontsquirrel.com. It doesn’t have as many sharp corners as other popular monospaced fonts, and the letter spacing is also much bigger, which helps keep commands from running together at the prompt. The lowercase letters are nice and big compared to the capital letters (that is, the font has a nice, big x-height. February 14, 2014.
vectorbeta.wordpress.com
From Dropbox to BitTorrent Sync | Vector Beta
https://vectorbeta.wordpress.com/2014/04/11/from-dropbox-to-bittorrent-sync
Doling out sparks of information. From Dropbox to BitTorrent Sync. I’ve been a fan of Dropbox. For years, mainly due to how dead-simple it is to use and how well It Just Works. Lately, Amazon and Google have been trying to move in on the cloud storage game with their own offerings, and of course there’s Box. Ubuntu One, and other systems already competing. Obviously, the ability to sync files across your machines is super-handy. A while back a friend of mine had me set up BitTorrent Sync. That’s al...
vectorbeta.wordpress.com
Kicking off background jobs over SSH | Vector Beta
https://vectorbeta.wordpress.com/2014/05/23/kicking-off-background-jobs-over-ssh
Doling out sparks of information. Kicking off background jobs over SSH. I needed this information. Yesterday, as I was trying to use SSH from one machine to start a shell script running in the background on another. Works perfectly. So, not this:. Ssh remotehost "script.sh &". Ssh remotehost "nohup script.sh /dev/null script.out 2 script.err &". This is also needed for pssh. Pssh -h remotehosts.txt "nohup script.sh /dev/null script.out 2 script.err &". This entry was posted in Uncategorized. May 23, 2014.
vectorbeta.wordpress.com
Splitting a commit in Git | Vector Beta
https://vectorbeta.wordpress.com/2014/07/24/splitting-a-commit-in-git
Doling out sparks of information. Splitting a commit in Git. I must be getting pretty good at Git, because the other day I realized that I wanted to take a set of changes I had made in a single commit and divide them into two, and I was thinking “Hey, Git must have a way to do this! 8221; and lo and behold I was right. Here’s what to do. Let’s get started. Git rebase -i abc123. Git rebase - continue. Splitting Commits, from the Git Book. Git: How to split up a commit buried in history. July 24, 2014.