Skip to content

Instantly share code, notes, and snippets.

Kingdon Barrett XULRunner42

Block or report user

Report or block XULRunner42

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@XULRunner42
XULRunner42 / gist:4550806
Created Jan 16, 2013
This capybara scraper checks my bitcoin address at blockexplorer for an updated balance periodically and posts it to Beeminder.
View gist:4550806
#!/usr/bin/env ruby
require "capybara"
require "capybara/dsl"
require "capybara-webkit"
require "beeminder"
require 'dbi'
Capybara.run_server = false
Capybara.current_driver = :webkit
Capybara.app_host = "http://blockexplorer.com"
@XULRunner42
XULRunner42 / example.markdown
Created Mar 15, 2012
Frack Free New York.com articles (scratchpad)
View example.markdown

Title: Statement for March 16, 2012 New York State Republican Convention Protest in Rochester, NY Author: Harry Davis Date: Mon Mar 5 2012 4:20:54 GMT-0500 (EST)

Occupy Rochester Fracking Working Group

##STATEMENT FOR MARCH 16, 2012 NEW YORK STATE REPUBLICAN CONVENTION PROTEST IN ROCHESTER, NEW YORK##

Governor Cuomo has recently stated that a decision on fracking could be announced within the next 2 months. The DEC's dSGEIS is fatally flawed. The DEC fails to study the cumulative

View parallel_gzip.bash
#!/bin/bash
GZIP="gzip --best --rsyncable --quiet"
for DEST in $* ; do
[ ! -d "${DEST}" ] && exit -1
echo Running \"${GZIP}\" on everything in \"${DEST}\"
TRACKING="/tmp/${RANDOM}_parallel_gzip"
mkdir -p "${TRACKING}"
@XULRunner42
XULRunner42 / status.txt
Created Jun 7, 2011
Generic TSV -> Amazon Mapper
View status.txt
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# np.sqlite
# products.sqlite
# status.txt
nothing added to commit but untracked files present (use "git add" to track)
@XULRunner42
XULRunner42 / pages.txt
Created Jun 1, 2011
Product Listing Page Template
View pages.txt
page
1
2
3
4
@XULRunner42
XULRunner42 / 00_intro.html
Created May 9, 2011
calicious static files
View 00_intro.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<title>go.jcurry Front Page</title>
<link href="css/main.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="javascript/main.js"></script>
</head>
View about.mustache
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<title>go.jcurry Front Page</title>
<link href="css/main.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="javascript/main.js"></script>
</head>
@XULRunner42
XULRunner42 / .gitignore
Created Feb 9, 2011
go/mustache+dbi and web.go
View .gitignore
ybookmarks.sqlite
You can’t perform that action at this time.