Skip to content

Instantly share code, notes, and snippets.

View emceeaich's full-sized avatar
🛑
No Tech For ICE

Emma Humphries emceeaich

🛑
No Tech For ICE
View GitHub Profile
@emceeaich
emceeaich / hopepunk.md
Last active May 25, 2019 18:59
Hopepunk List

Hopepunk

Discussed at the Hopepunk panel at WisCon 43, Madison, WI, US May 25th 2019

Novellas and Novels

  • Witchmark - C. L. Polk
  • And the Lamb Shall Devour the Lion - Margaret Killjoy
  • Bannerless and The Wild Dead - Carrie Vaughn
  • Finders - Melissa Scott
  • Ancestral Night - Elizabeth Bear
@emceeaich
emceeaich / sample-slack-coc.md
Created May 2, 2019 18:53 — forked from annalee/sample-slack-coc.md
A sample code of conduct for social slack teams.

[SLACKNAME] Code of Conduct

Welcome!

[BRIEF DESCRIPTION OF THE SLACK AND ITS PURPOSE]

The current admins are:

  • [NAMES]
@emceeaich
emceeaich / server.py
Created March 11, 2019 06:15
Namebadge Controller
from inky import InkyPHAT
from PIL import Image, ImageFont, ImageDraw
from font_fredoka_one import FredokaOne
from flask import Flask
index_str = """\
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
@emceeaich
emceeaich / namebadge.js
Last active December 7, 2018 18:45
Namebadge for pixl.js
// Download/transmit this to your pixl.js
var name = "Emma";
var sites = ["@triagegirl", "https://emmah.net", "https://emmas.site"];
var pronouns = ["she/her", "they/them", "zie/zir"];
var pronounCount = 0;
require("Font8x12").add(Graphics);
// note: g is the global instance of Graphics
@emceeaich
emceeaich / count-open.js
Last active March 17, 2018 01:10
Counting open bugs inactive over 1, 2, 4, and 10 years in Bugzilla
function countOpen(period, last, total) {
fetch(`https://bugzilla.mozilla.org/rest/bug?include_fields=id,summary,status&f1=days_elapsed&f2=bug_id&limit=0&o1=greaterthan&o2=greaterthan&product=Core&product=External%20Software%20Affecting%20Firefox&product=Firefox&product=Firefox%20for%20Android&product=Firefox%20for%20iOS&product=NSPR&product=NSS&product=Toolkit&resolution=---&v1=${period}&v2=${last}`)
.then(res => { return res.json() })
.then(body => {
var found = body.bugs.length;
total += found;
if (found > 9999) {
body.bugs.sort((a, b) => { a.id - b.id; });
last = body.bugs[found - 1].id;
console.log(`\t\tStill counting, running total is ${total} last is: ${last}.`)
@emceeaich
emceeaich / style.css
Last active June 3, 2018 22:28
Style Sheet for Dreamwith
/* Cleaned CSS: */
* {
margin: 0;
padding: 0;
}
body {
font-family: system-ui, -apple-system, -apple-system-font, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
font-size: 1rem;
@emceeaich
emceeaich / GIF-Screencast-OSX.md
Created September 1, 2017 22:12 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

Keybase proof

I hereby claim:

  • I am emceeaich on github.
  • I am emceeaich (https://keybase.io/emceeaich) on keybase.
  • I have a public key whose fingerprint is 676F B0CF 97D7 2474 87D1 13A8 1B2B 6777 43AB 66E2

To claim this, I am signing this object:

@emceeaich
emceeaich / cincinnati_chili.md
Created December 13, 2016 19:45
Cincinnati Chili Recipe

Cincinnati-Style Chili

Copycat recipe for Skyline-style Cincinnati chili, modified from [this recipe] (http://www.food.com/recipe/skylike-chili-skyline-chili-copycat-110548).

In the time that I've spent trying to find/create a decent copycat recipe, this is about as close as I've gotten. When done right, it tastes a lot like the canned original Skyline, but I can't quite get it to taste 100% like the restaurant quality. YMMY and YUMMY both.

Ingredients

  • 2 lbs 85% lean ground beef
  • 2 medium onions, finely chopped
  • 4-5c beef stock
  • 2 (8oz) cans of tomato sauce
@emceeaich
emceeaich / wiki-to-leads.js
Created September 20, 2016 22:06
Parse out the triage leads from the wiki. Cut and paste into the javascript console.
var report = [];
document.querySelectorAll('table.wikitable').forEach(table => {
report.push({
product: table.querySelector('tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2)').textContent.trim(),
component: table.querySelector('tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(4)').textContent.trim(),
lead: table.querySelector('tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(2)').textContent.trim()
});
});
report.forEach(item => {console.log(item.product + ', "' + item.component + '", ' + item.lead) });