Your source for daily hacks

Published on: August 31, 2013 / Comments: None

This weekend learn X in Y minutes

The weekends are a good time to learn something new.  I stumbled on this site called Learn X in Y Minutes. It’s a crash course in a decent sized list of programming languages and tools.  There aren’t any chapters or anything, it’s like viewing the source code of a language to learn it.

I wouldn’t recommend the site if you don’t know any programming languages however, but if you know … C, you can check out ruby or haskell and I’m sure from just the code and comments you’ll pick a few things up.  While it’s mostly programming, there is shell scripting with bash, and git.  And once you learn git, you can add your own to the list!

Published on: August 15, 2013 / Comments: None

Get Gittin with Git

Albeit slowly, git is taking over your crusty old subversion repository.  The mainline Linux kernel development has already switched and github is just about as popular as ever nowadays!  So it’s time to learn some git commands.

Git might be a little difficult to wrap your head around at first, especially if you are used to using svn now.  Some things don’t translate 1:1. I found this great resource called  Git Magic .  It’s a GPL’d book on git.  It’s available in a ton of different formats and languages.  I prefer the PDF version myself.  It starts out by helping you get the concept around git, when you clone a repo (… check it out in svn speak) you are creating your own repo, which you publish your changes, and eventually push the changes upstream.  Then it covers a few scenarios that you are likely to run into.  A great book on git, especially for the price.   Well worth a read.

If you’re too lazy to read there’s always a cheat sheet.