Skip to content

Instantly share code, notes, and snippets.

View stickbyatlas's full-sized avatar

Ari Najarian stickbyatlas

View GitHub Profile
@stickbyatlas
stickbyatlas / mustache.diff.lasso
Created April 8, 2015 18:27
Patch to mustache.lasso
68,69d67
<
< local(nnam = sys_homePath + '/cache/' + #splt->first + '.mustache.lasso')
71,72c69
< //local(nnam = '/__cache/' + #splt->first + '.mustache.lasso')
< dir(#nnam->stripLastComponent)->create
---
> local(nnam = sys_homePath + '/cache/' + #splt->first + '.mustache.lasso')
74c71,75
< local(f2 = file(#nnam))
@stickbyatlas
stickbyatlas / gist:5178279
Created March 16, 2013 20:49
Error log report after making changes to CouchDB Mac binary to support GeoCouch
Notes:
When moving the ebin file into the correct location, I named it geocouch-1.2.x, because I wasn't sure what version it was. Beyond that, followed your instructions to the letter, including building GeoCouch on the exact environment (R15B03-1).
Complete log dump:
Launching '/Applications/couchdb/Apache CouchDB.app/Contents/Resources/couchdbx-core/bin/couchdb'
Eshell V5.9.3.1 (abort with ^G)
Apache CouchDB 1.2.1 (LogLevel=info) is starting.
[error] [<0.96.0>] {error_report,<0.34.0>,
@stickbyatlas
stickbyatlas / EventbriteSelectiveSync.js
Created September 8, 2011 18:14
Scans Eventbrite for events created by a specific group of users, mirrors these events on a CouchDB instance and notifies an administrator by email of any updates or additions.
// Load the library - https://github.com/ryanjarvinen/eventbrite.npm
var Eventbrite = require('eventbrite');
// Load creationix's couch-client
var CouchClient = require('couch-client');
// Initialize the Eventbrite API client - http://www.eventbrite.com/api/key/
var eb_client = Eventbrite('YOUR API KEY');
// Initialize your couchbase client: