Skip to content

Instantly share code, notes, and snippets.

0x05556c26c5d722da32f57ca29a0f9f049525d2718961d1d875723795a6eb7ecf

Here's the canonical TOML example from the TOML README, and a YAML version of the same. Which looks nicer?

title = "TOML Example"

[owner] name = "Tom Preston-Werner"

@zah
zah / gist:8576001
Created January 23, 2014 10:04 — forked from mflamer/gist:6862918
const NULL* = 0
type
TagPtr = distinct int
Sum2[T1,T2] = TagPtr
proc copyHeap*[T](x: var T): ptr T =
var
@zah
zah / chef-standalone-bootstrap.sh
Created October 15, 2011 16:29 — forked from sometimesfood/chef-standalone-bootstrap.sh
Chef standalone bootstrap with chef-admin-essentials
#!/bin/bash
sudo apt-get install curl git-core lsb-release
bash < <( curl -sL https://raw.github.com/sometimesfood/chef-admin-essentials/master/contrib/install-chef.sh )
mkdir ~/cookbooks
cd ~/cookbooks
echo '*~' > .gitignore
git init
git add .
git commit -am 'Initial commit'
git submodule add git://github.com/sometimesfood/chef-admin-essentials.git admin-essentials