Skip to content

Instantly share code, notes, and snippets.

View meandavejustice's full-sized avatar

Dave Justice meandavejustice

View GitHub Profile
@meandavejustice
meandavejustice / movies2c.md
Last active May 22, 2016 02:45 — forked from hackerwitch/movies2c.md
movies 2c
  • blue velvet
  • carmen from kawachi
  • kagero-za
  • strange victory
  • yumeji
  • WR: Mysteries of the Organism
  • Sisters - Brian De Palma
  • repo man
  • harlan county usa
  • breathless
@meandavejustice
meandavejustice / gist:6ae8c576846e62f91b72
Created March 3, 2016 17:36
test_pilot_addon-0.4.5-an+fx.xpi VS test_pilot_addon-0.4.4-fx+an.xpi
meandave@mainframe-x250> node sign.js ~/moz-code/testpilot/addon
JPM [info] updateRDF created at /home/meandave/moz-code/testpilot/addon/@testpilot-addon-0.4.5.update.rdf
JPM [info] Signing XPI: @testpilot-addon-0.4.5.xpi
Validating add-on [.....................................................................................]JPM [info] Validation results: https://addons.mozilla.org/en-US/developers/upload/e06719320d674b1bad15dd6c6226df4d
Downloading signed files: 100%
JPM [info] Downloaded:
JPM [info] ./test_pilot_addon-0.4.5-an+fx.xpi
meandave@mainframe-x250> node sign.js ~/moz-code/testpilot/addon
JPM [info] updateRDF created at /home/meandave/moz-code/testpilot/addon/@testpilot-addon-0.4.4.update.rdf
@meandavejustice
meandavejustice / outreachy-mentor.md
Last active February 26, 2016 19:16
Mentorship experience for outreachy

I've had quite a bit of experience mentoring both in companies and open source communities. Perhaps the largest impact I've had mentoring was when organizing the PDXNodeJs user group. Our group split the meeting time between community talks and nodeschool/hack nights. With nodeschool I would help newcomers to the nodeJS platform work through a variety of challenges. For the past 3 years, I've been active on many open source projects and irc channels offering assistance in any way I can. I've had many experiences onboarding new programmers to companies as well as guiding them in their own personal projects. Recently I have served as a mentor to my partner's inclusive hacking group, "hacker witch". I have a passion for teaching. I find it particularly interesting how I can change my actions and language in order to help assist the learning process of those around me.

@meandavejustice
meandavejustice / pre-commit
Last active January 20, 2016 00:20
pre-commit hook for idea-town
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-commit".
if git rev-parse --verify HEAD >/dev/null 2>&1
const Contributors = Collection.extend({
model: Model
});
new Contributors(this.model.contributors)
var h = require('hyperscript');
var CronJob = require('cron').CronJob;
var nodemailer = require('nodemailer');
var craigslist = require('node-craigslist');
var options = {
category : 'cta',
maxAsk : '9000',
minAsk : '1000'
};

#b 4 mozlando

##crucial

server

  • 195 persist enabled addons

client

  • 194 header disappears on rerender
  • 192 tabzilla landing page.
- User opens browser window.
- Addon queries server for updates, and attempts to establish socket
connection.
- User is notified of updates via Badge icon.
- User clicks addon icon and is directed to ideatown web client.
- On 'loaded' event, the addon sends down the update data, as well as
currently installed addons.
- The client updates itself based on this data.(The user's browser
should ALWAYS be the source of truth.)
- If there are conflicts, the addon should push an 'update' event to
Stack:
"send@resource://gre/modules/commonjs/toolkit/loader.js ->
resource://gre/modules/commonjs/sdk/content/worker.js:90:57sendToWeb@
resource://gre/modules/commonjs/toolkit/loader.js ->
resource://idea-town-addon/index.js:124:5installListeners.onDownloadProgress@
resource://gre/modules/commonjs/toolkit/loader.js ->
resource://idea-town-addon/index.js:71:5AMI_callInstallListeners@
resource://gre/modules/AddonManager.jsm:1621:15AMP_callInstallListeners@
resource://gre/modules/AddonManager.jsm:2568:1AI_onDataAvailable@
resource://gre/modules/addons/XPIProvider.jsm:5627:10"