Skip to content

Instantly share code, notes, and snippets.

Avatar

Will Van Wazer willvanwazer

View GitHub Profile
View metaweblog.rb
#!/usr/bin/env ruby -wKU
# Comments added 6 March 2014.
# Implementation of the MetaWeblog API for my personal Ruby static blog generator.
# This is not even nearly idiomatic Ruby. There are all kinds of issues.
# (What's with the method interiors all being mushed-up together?)
# But -- it's also worked flawlessly for five years without my having to edit it.
# It won't work for anyone else as-is — but if it helps anyone
# to do a MetaWeblog API implementation, then cool.
@doctyper
doctyper / one-line-install.sh
Created Oct 12, 2012
How to replace Safari 6's inspector with WebKit's inspector.
View one-line-install.sh
curl -L https://raw.github.com/gist/3880960/db03e2ba7e519f7431f35aaddcf4a5899669aec4/revert-safari-inspector.sh | bash
@jeremyjbowers
jeremyjbowers / red_velvet_cake.md
Last active May 7, 2020
Georgia Red Velvet Cake
View red_velvet_cake.md

Red Velvet Cake

Red Velvet cake recipe Red Velvet cake finished

Cake

Ingredients

From original recipe

@AkashaThorne
AkashaThorne / gist:3430820
Created Aug 23, 2012
TheEmpath repping 4over with class
View gist:3430820
~ #node.js
[20.16.16] < TheEmpath> so
[20.16.34] < TheEmpath> anyone else have a hot programmer girl in their office? o____O
[20.16.42] < Lorentz> I wiiish
[20.16.48] <@Nexxy> not appropriate.
[20.16.57] »¡« Signoff caaakeeey: #Node.js (Ping timeout: 260 seconds)
[20.17.32] < joshwnj> yeah guys, grow up
[20.17.38] < jerrysv> Nexxy: olynode was fun, you should have gone
[20.18.03] < TheEmpath> my boss came by and said "Here, a new subodinate" and its a very attractive female. the otherwise painfully quite engineering room suddenly came to life and its a problem :X
~~~~~~~
@danparsons
danparsons / gist:3195652
Created Jul 29, 2012
How to stream the London 2012 Olympics
View gist:3195652

How to stream the London 2012 Olympics

There have been several HOWTOs posted regarding streaming the 2012 Olympics using HTTP / SOCKS proxies via SSH and other similar methods. None of these actually work using the latest Flash on Mountain Lion (with Firefox, Chrome or Safari). Additionally, the third-party streaming sites don't provide BBC's amazing interface, which lets you quickly skip to individual competitors and events. However, setting up an OpenVPN server does work, with some tweaks. You'll get the exact same UX that people in England receive.

@myersjustinc
myersjustinc / mercator.html
Created Nov 14, 2011
Mercator scale factors by latitude
View mercator.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>
<title>Mercator craziness</title>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">//<![CDATA[
var map;
var circles = [];
function degToRad(degrees) {return degrees * Math.PI / 180;}
@tankchintan
tankchintan / gist:1335220
Last active Nov 30, 2019
Procedure for installing and setting Sun JDK Java on Default Amazon Linux AMI
View gist:1335220
# First verify the version of Java being used is not SunJSK.
java -version
# Get the latest Sun Java SDK from Oracle http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html
wget http://download.oracle.com/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-i586.rpm
# Rename the file downloaded, just to be nice
mv jdk-7u1-linux-i586.rpm\?e\=1320265424\&h\=916f87354faed15fe652d9f76d64c844 jdk-7u1-linux-i586.rpm
# Install Java
@stefanfoulis
stefanfoulis / osx_developer_installation.rst
Last active Dec 23, 2019
Instructions on how to setup an OSX developer machine for (python/django) development
View osx_developer_installation.rst

OSX Developer System installation

This guide assumes a fresh install of Mac OSX 10.7 Lion.

Brew User

You can’t perform that action at this time.