Skip to content

Instantly share code, notes, and snippets.

@ryantomlinson
ryantomlinson / gist:9196703
Created February 24, 2014 20:48
express3-handlebars register partials
hbs = exphbs.create({
defaultLayout: 'main',
helpers : helpers,
partialsDir: [
'views/partials/'
]
});
@ryantomlinson
ryantomlinson / gist:5a1b88a90f0aba827527
Created June 8, 2014 10:49
vagrant elasticsearch demo output
rtomlinson at mbprtomlinson in ~/Development/github/vagrant-kibana-demo on master
± vagrant up
WARNING: Could not load IOV methods. Check your GSSAPI C library for an update
WARNING: Could not load AEAD methods. Check your GSSAPI C library for an update
Bringing machine 'default' up with 'vmware_fusion' provider...
==> default: Cloning VMware VM: 'Ubuntu precise 64 VMWare'. This can take some time...
==> default: Verifying vmnet devices are healthy...
==> default: Preparing network adapters...
==> default: Starting the VMware VM...
==> default: Waiting for the VM to finish booting...
{
"id": 1005,
"Name": "some macro",
"SeoName" : "Chicago",
"GeoLocation": {
"Latitude": "40.4121375",
"Longitude": "-3.6939285"
},
"DomainId": 70,
"Locale": "en-US",