summaryrefslogtreecommitdiffstats
path: root/content/posts/make-this-blog-post-happen.rst
blob: 40408c4cc65c6fe753564861e9e970789d9acdf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Make this blog post happen
##########################
:date: 2012-02-01 13:20
:tags: ruby, octopress

.. code-block:: bash

    #?/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.