{
  "_source": "\nSyntax highlighting with [highlight.js](http://softwaremaniacs.org/soft/highlight/en/).\nThe theme used is tomorrow, you can find more themes [here](http://jmblog.github.io/color-themes-for-highlightjs/).\n\n<span class=\"more\"></span>\n\n### JavaScript\n\n```javascript\nfunction getRandomNumber() {\n    return 4; // chosen by fair dice roll.\n              // guaranteed to be random.\n}\n```\n\n### CoffeeScript\n\n```coffeescript\nclass Animal\n  ### Intellegent design ###\n  getDNA: ->\n    print 'sequencing...'\n    while true\n      sleep 1\n\nclass Monkey extends Animal\n  speak: ->\n    print 'ah ah ah'\n\nclass Human extends Monkey\n  speak: ->\n    print ['yolo' unless i % 3] + ['swag' unless i % 5] or i for i in [1..100]\n```\n\n### C\n\n```c\n#include <stdio.h>\n\nint main(void)\n{\n  printf(\"Hello world\\n\");\n  return 0;\n}\n```\n\n### C++\n\n```cpp\n#include <iostream>\n\nint main()\n{\n  std::cout << \"Hello World!\" << std::endl;\n  return 0;\n}\n```\n\n### C-sharp\n\n```cs\nclass ExampleClass\n{\n    static void Main()\n    {\n        System.Console.WriteLine(\"Hello, world!\");\n    }\n}\n```\n\n### Erlang\n\n```erlang\nio:format(\"~s~n\", [\"hello, world\"])\n```\n\n### Go\n\n```go\npackage main\n\nimport \"fmt\"\n\nfunc main() {\n   fmt.Println(\"Hello World!\")\n}\n```\n\n### Java\n\n```java\npublic class HelloWorld {\n   public static void main(String[] args) {\n       System.out.println(\"Hello world!\");\n   }\n}\n```\n\n### ObjectiveC\n\n```objectivec\n#import <stdio.h>\n\nint main(void)\n{\n    printf(\"Hello, World!\\n\");\n    return 0;\n}\n```\n\n### PHP\n\n```php\n<?php echo 'Hello, world'; ?>\n```\n\n### Python\n\n```python\nprint(\"Hello World\")\n```\n\n### Ruby\n\n```ruby\nputs \"Hello world!\"\n```\n\n\n\n\n\n",
  "title": "Code and stuff!",
  "author": "broccoli-pages",
  "date": "2012-10-01 15:00",
  "template": "post.hbs",
  "_filterName": "markdown",
  "_path": "blog/code"
}