Skip to content

Instantly share code, notes, and snippets.

View acmiyaguchi's full-sized avatar
🌎

Anthony Miyaguchi acmiyaguchi

🌎
View GitHub Profile
#########################################
# bitmapfont.py #
# #
# Display C-style bitmap fonts in text #
#########################################
import re
def main():
inputline = raw_input("Enter the bytes: ")
@acmiyaguchi
acmiyaguchi / gist:810f67be16f398398fd9
Created July 11, 2015 00:39
kissanime bookmarklet
javascript:(function(){function a(){function b(e){return function(){e.click()}}var c=document.getElementsByTagName("a");for(var d=0;d<c.length;d++){if(c[d].textContent=="Hide"){setTimeout(b(c[d]),100)}}}a();document.addEventListener("DOMContentLoaded",a)})();
@acmiyaguchi
acmiyaguchi / buildprops.json
Last active August 29, 2015 14:26
Windows Taskcluster
{
"properties": {
"buildnumber": 6573,
"product": "firefox",
"script_repo_revision": "production",
"branch": "try",
"repository": "",
"buildername": "WINNT 5.2 try build",
"basedir": "/c/builds/moz2_slave/try-w32-0000000000000000000000",
"project": "",
@acmiyaguchi
acmiyaguchi / gist:87674b7829448338c3e4
Last active August 29, 2015 14:27
taskcluster-checkout
{
"provisionerId": "aws-provisioner-v1",
"workerType": "gaia",
"created": "2015-08-12T21:02:28.235Z",
"deadline": "2015-08-12T22:02:28.235Z",
"scopes": ["queue:*", "index:*"],
"payload": {
"image": "lightsofapollo/tc-vcs:2.3.4",
"command": [
"tc-vcs create-clone-cache --task-id $TASK_ID --run-id $RUN_ID --proxy https://bitbucket.org/acmiyaguchi/tc-hg-testing"
@acmiyaguchi
acmiyaguchi / check_ttl.py
Created September 18, 2015 21:40
Tooltool manifest checker
#!/usr/bin/env python
import argparse
import logging
import os
import json
import subprocess
import sys
log = logging.getLogger(__name__)
@acmiyaguchi
acmiyaguchi / main.md
Last active December 5, 2015 05:05
EE183EW
  • Commons - shared, freely accessible, finite resources
  • The Tragedy - The inevitable depletion of the commons due to conflict of interest
  • The problem - people and limites resources
  • Collective interest - preserve the commons
  • Individual interest - utilize the commons
  • Technical solutions - some aspects of technology can help, but they merely slow the eventual depletion; fighting political will
  • Nontechnical solutions - mutual coercison, education, appeal to conciousness
  • Mutual Coersion - agreed upon coersion between two parties; does not have to be prohibiton; implemented through laws and regulation; enforce legislation through regulatory bodies

Commons paper

@acmiyaguchi
acmiyaguchi / eeb18.md
Created November 3, 2015 22:06
EEB18

EEB18

@acmiyaguchi
acmiyaguchi / dump.py
Created June 7, 2016 23:48
Releasetasks sample dump
from releasetasks.test.firefox import make_task_graph
from releasetasks.test import PVT_KEY_FILE
import pprint
pp = pprint.PrettyPrinter(indent=2)
graph = make_task_graph(
product="firefox",
version="42.0b2",
@acmiyaguchi
acmiyaguchi / README.md
Created June 19, 2016 02:09
Article Summaries

Article Summaries

These are a collection of articles that I have read and summarized for future reference.