Make this blog post happen

Wed 01 February 2012
By makefu
#?/bin/sh
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
echo '[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm' >> ~/.zshrc
source ~/.zshrc
rvm install 1.9.2 && rvm use 1.9.2
rvm rubygems latest
gem install bundler
git clone git://github.com/imathis/octopress.git octopress
cd octopress
bundle install
rake install
rake new_post\["Make this blog post happen"\]
vim source/_posts/2012-02-01-make-this-blog-post-happen.markdown
rake generate

Disclamer

Well, this is my first post. I will post code i am working with here.

Most of the code snippets will be pseudo-code ( tagged by the hash questionmark #? ). The code can be seen as an digest of the history command of my shell or my texteditor.

Be sure not to simply copy-paste my stuff as it will most likely break because i haven’t tested it myself after writing this up even though it looks correct ;).

I will mostly not describe what this stuff does more than the head line and probably some tags as i think code is the only thing that matters in the end, everything else can be read up somewhere else.

I guess this blog is somewhat like Gist or Command Line Kung Fu, but only containing stuff important for me and my work.

Comments