Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Mikeal Rogers mikeal

🏠
Working from home
View GitHub Profile
@mikeal
mikeal / gist:86920c314a9dd66db86b
Last active Aug 29, 2015
ONE-SHOT by NodeConf
View gist:86920c314a9dd66db86b

ONE-SHOT is a "forkable conference" initially created by the organizer of NodeConf.

The main NodeConf events around the world are rather large productions and require a big commitment of time and financial risk. ONE-SHOT was created as a much simpler single day speaker series event that people around the world can pick up and run without a huge time commitment or considerable financial risk.

That first ONE-SHOT was run in London and events are now planned for Budapest, Brussels, and Oakland.

Ping @mikeal if you'd like to run an event, he'll give you instructions on how to fork the repository which includes the website, CFP instructions, and the Issue tracker can be used to accept talk proposals. Mikeal will also point "your city".nodeconf.com at the property gh-pages CNAME.

View gist:8528b70eb2c8cc78a89b
request (49)
underscore (36)
glob (20)
once (19)
lru-cache (15)
optimist (14)
async (14)
minimatch (14)
lodash (13)
node-uuid (13)
View hacktoberfest.js
var requestdb = require('requestdb')
, request = requestdb('./hacktoberfest')
, qs = require('querystring')
, noop = function () {}
, http = require('http')
, fs = require('fs')
, access_token = process.env.GHTOKEN
, _ = require('lodash')
, csv = require('csv-parser')
, lines = []
View gist:c811b96d1dd08590d735
var mdeps = require('module-deps')
, builtins = require('builtins')
, lodash = require('lodash')
, used = []
;
function filter (id) {
if (builtins.indexOf(id) === -1) return true
used.push(id)
return false
View gist:72939
# Generated by the windmill services transformer
from windmill.authoring import WindmillTestClient
import time
from windmill.server import proxy
proxy.first_forward_domains.append('www.sandbox-freebase.com')
from windmill.server import add_forward_condition
View gist:95600
var mozmill = {}; Components.utils.import('resource://mozmill/modules/mozmill.js', mozmill);
var elementslib = {}; Components.utils.import('resource://mozmill/modules/elementslib.js', elementslib);
var testFoo = function(){
var controller = mozmill.getMail3PaneController();
var e =
new elementslib.XPath(controller.window.frames[0].document, "/*[name()='page' and namespace-uri()='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul']/*[name()='grid' and namespace-uri()='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul'][1]/*[name()='rows' and namespace-uri()='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul'][1]/*[name()='row' and namespace-uri()='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul'][16]/*[name()='hbox' and namespace-uri()='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul'][1]/*[name()='label' and namespace-uri()='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul'][1]");
controller.click(e);
View gist:96499
import copy
from mozmill import CLI, FirefoxProfile
class LangProfile(FirefoxProfile):
preferences = copy.copy(FirefoxProfile.preferences)
preferences['mypref'] = True
class LangCLI(CLI):
profile_class LangProfile
View gist:102518
2009-04-27 09:35:44,292 Trac[__init__] INFO: Sending SMTP notification to localhost:25 to [u'adam.christian@gmail.com', u'anthony.lenton@canonical.com', u'mikeal@osafoundation.org']
2009-04-27 09:35:44,302 Trac[__init__] ERROR: Failure sending notification on change to ticket #258: SMTPRecipientsRefused: {u'adam.christian@gmail.com': (450, '4.1.7 <trac@getwindmill.com>: Sender address rejected: undeliverable address: host mx.ipower.com[65.254.254.56] said: 550 5.1.1 <trac@getwindmill.com> recipient rejected (in reply to RCPT TO command)'), u'anthony.lenton@canonical.com': (450, '4.1.7 <trac@getwindmill.com>: Sender address rejected: undeliverable address: host mx.ipower.com[65.254.254.56] said: 550 5.1.1 <trac@getwindmill.com> recipient rejected (in reply to RCPT TO command)'), u'mikeal@osafoundation.org': (450, '4.1.7 <trac@getwindmill.com>: Sender address rejected: undeliverable address: host mx.ipower.com[65.254.254.56] said: 550 5.1.1 <trac@getwindmill.com> recipient rejected (in reply to RCPT TO command)
View gist:102519
2009-04-27 09:35:44,292 Trac[__init__] INFO: Sending SMTP notification to localhost:25 to [u'adam.christian@gmail.com', u'anthony.lenton@canonical.com', u'mikeal@osafoundation.org']
2009-04-27 09:35:44,302 Trac[__init__] ERROR: Failure sending notification on change to ticket #258: SMTPRecipientsRefused: {u'adam.christian@gmail.com': (450, '4.1.7 <trac@getwindmill.com>: Sender address rejected: undeliverable address: host mx.ipower.com[65.254.254.56] said: 550 5.1.1 <trac@getwindmill.com> recipient rejected (in reply to RCPT TO command)'), u'anthony.lenton@canonical.com': (450, '4.1.7 <trac@getwindmill.com>: Sender address rejected: undeliverable address: host mx.ipower.com[65.254.254.56] said: 550 5.1.1 <trac@getwindmill.com> recipient rejected (in reply to RCPT TO command)'), u'mikeal@osafoundation.org': (450, '4.1.7 <trac@getwindmill.com>: Sender address rejected: undeliverable address: host mx.ipower.com[65.254.254.56] said: 550 5.1.1 <trac@getwindmill.com> recipient rejected (in reply to RCPT TO command)
View gist:122641
try {
EventUtils.synthesizeKey(aKey, modifiers, win);
} catch(e) {
throw new Error("Synthesizing key event failed. \n"+e)
}