How to use Pelican on GitHub Pages 
Author: Josef Jezek
sudo apt-get install python-setuptools
| group_0: | |
| match: G@stack_id:20 and G@roles:qatp.base and G@roles:qatp.ipa and G@roles:java.oracle.jdk7 | |
| sls: | |
| - qatp.base | |
| - qatp.ipa | |
| - java.oracle.jdk7 | |
| group_1: | |
| match: G@stack_id:20 and G@roles:cdh4.hadoop.namenode | |
| sls: | |
| - cdh4.hadoop.namenode |
| http://pcottle.github.io/learnGitBranching/ | |
| http://rogerdudler.github.io/git-guide/ | |
| http://think-like-a-git.net/ | |
| http://gitimmersion.com/ | |
| http://gitref.org/ | |
| http://git-scm.com/documentation |
| /* | |
| * predefined classes | |
| * | |
| * Copyright (C) 2013 Rintaro Okamura | |
| */ | |
| //mixin | |
| $vendpf: -webkit-, -moz-, -ms-, -o-, ''; |
| from salt.client import LocalClient | |
| client = LocalClient() | |
| o = client.cmd(t, 'cmd.run_all', kwarg={ | |
| 'cmd': 'curl *options and url redacted*', | |
| 'cwd': dirname | |
| }) | |
| print "Ret: %(retcode)d\n\nstdout:\n%(stdout)s\n\nstderr:\n%(stderr)s\n" % o[t] | |
| print o[t], "\n" | |
| if o[t]['retcode'] != 0: | |
| client.cmd(t, 'file.remove', arg=(dirname,), timeout=5) |
| // To compile this on mac: gcc -m32 -o rawcode rawcode.c | |
| // Probably the same on linux, or drop the -m32. | |
| // Then: ./rawcode | |
| #include <stdio.h> // printf | |
| #include <string.h> // memcpy | |
| #include <sys/mman.h> // mmap, munmap | |
| int main () { | |
| // x86 machine code for: int mul (int a, int b) { return a * b; } |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| ''' | |
| Bootstrapping the salt minions on Rackspace (using fabric rather than | |
| salt-cloud). | |
| This is not the most effective way to do this, but it gets it done. |

Author: Josef Jezek
sudo apt-get install python-setuptools