I hereby claim:
- I am cgranade on github.
- I am cgranade (https://keybase.io/cgranade) on keybase.
- I have a public key whose fingerprint is 7950 2540 D90E 791F A91F 6AFC 7B70 49DA 0677 5403
To claim this, I am signing this object:
function get_ifaces(component) { | |
// WARNING: This is implemented in a stupid way. | |
var nsis = Components.interfaces.nsISupports; | |
var cc = Components.classes; | |
var clazz = cc[component].createInstance(nsis); | |
var ifaces = Array(); | |
for each (iface in Components.interfaces) { | |
if (clazz instanceof iface) { |
/* This is a template command */ | |
CmdUtils.CreateCommand({ | |
name: "shell", | |
icon: "http://example.com/example.png", | |
homepage: "http://sites.google.com/site/cgranade/", | |
author: { name: "Christopher Granade", email: "[email protected]"}, | |
license: "GPL", | |
description: "A short description of your command", |
#!/usr/bin/python | |
## | |
# overlay.py: small daemon for showing web pages in an overlay | |
## | |
# (c) 2010 Christopher E. Granade ([email protected]). | |
# Licensed under GPL v3. | |
## | |
# WARNING: This is still a proof of concept. Do not use it | |
# without improving it first, unless you plan on filing bug |
#!/usr/bin/python | |
## | |
# storyyield.py: Proof of concept for story scripting in Python with coroutines. | |
## | |
# (c) 2011 Christopher E. Granade ([email protected]). | |
# Licensed under GPL v3. | |
## | |
from __future__ import print_function |
#!/usr/bin/env mpiexec -n 4 python | |
# -*- coding: utf-8 -*- | |
## | |
# ssp.py: Demonstration of stupid simple pooling using mpi4py. | |
## | |
# By Christopher E. Granade, 2013. | |
# Commited to the public domain except where otherwise noted. | |
## | |
## IMPORTS ##################################################################### |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
## | |
# cl_cos_model.py: Demonstration of OpenCL-powered SMC. | |
## | |
# © 2013 Christopher E. Granade ([email protected]). | |
# | |
# Licensed under the AGPL version 3. | |
## | |
# This program is free software: you can redistribute it and/or modify |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
## | |
# log_calls.py: Decorator for logging calls to a function. | |
## | |
# © 2013 Christopher E. Granade ([email protected]). | |
# | |
# Licensed under the AGPL version 3. | |
## | |
# This program is free software: you can redistribute it and/or modify |
// ==UserScript== | |
// @name MathJax for Gists | |
// @include *://gist.github.com/* | |
// @version 0.1 | |
// @description Adds MathJax support to Gists. | |
// ==/UserScript== | |
if ((window.unsafeWindow == null ? window : unsafeWindow).MathJax == null) { | |
var script = document.createElement("script"); | |
script.type = "text/javascript"; |
I hereby claim:
To claim this, I am signing this object: