layout | title | categories | |||||
---|---|---|---|---|---|---|---|
post |
Varnish Setup for Wordpress |
|
All configs are available as a gist from GitHub.
#!/bin/bash | |
# Configuration | |
# This will be used in URLs and file paths, so don't get too fancy | |
# Alphanumeric characters and underscores should be ok | |
export APP_NAME=mtos-next | |
# IP or URL of the server you want to deploy to | |
export APP_HOST=mtos.co |
#!/usr/bin/python | |
import re | |
import mechanize | |
import sys | |
import string | |
print 'Number of arguments:', len(sys.argv), 'arguments.' | |
print 'Argument List:', str(sys.argv) |
#!/usr/bin/python | |
import re | |
import mechanize | |
import sys | |
import string | |
print 'Number of arguments:', len(sys.argv), 'arguments.' | |
print 'Argument List:', str(sys.argv) |
require 'formula' | |
class Vim < Formula | |
homepage 'http://www.vim.org/' | |
# Get stable versions from hg repo instead of downloading an increasing | |
# number of separate patches. | |
url 'https://vim.googlecode.com/hg/', :tag => 'v7-3-548' | |
version '7.3.548' | |
head 'https://vim.googlecode.com/hg/' |
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='300' height='300' id='player1' name='player1'> | |
<param name='movie' value='player.swf'> | |
<param name='allowfullscreen' value='true'> | |
<param name='allowscriptaccess' value='always'> | |
<param name='flashvars' value='file=playlist.xml'> | |
<embed id='player1' | |
name='player1' | |
src='player.swf' | |
width='300' | |
height='300' |
init |
layout | title | categories | |||||
---|---|---|---|---|---|---|---|
post |
Varnish Setup for Wordpress |
|
All configs are available as a gist from GitHub.
layout | title | categories | ||||
---|---|---|---|---|---|---|
post |
Visualizing Wikipedia Editors |
|
I was recently contracted by my friend, Morgan Currie, in the new media masters program at the University of Amsterdam, to construct visualizations of Wikipedia editing activity across the articles pertaining to Feminism, a topic subject to intense debate and occasional vandalism. Her aim was to analyze Wikipedia’s validity as a source in scholarly research. Her results may be found in this PDF.
size(520, 620) | |
from math import pi | |
data = [i | |
#User,"Feminism","History of Feminism","Women's Suffrage","Women's Rights","Radical Feminism","Ecofeminism","Men's Rights","Antifeminism","Sex-Positive Feminism","Men and Feminism","Liberal Feminism","Cultural Feminism","Anarcha-Feminism","Feminist Theology","Marxist Feminism"], | |
["Cailil",701,91,22,60,10,14,35,0,0,18,3,16,2,0,1], | |
["Catamorphism",120,0,0,0,10,0,0,15,28,0,0,0,0,0,0], | |
["SmackBot (bot)",32,13,10,7,15,2,18,12,6,10,4,3,2,3,2], | |
["Dysprosia",97,2,0,0,6,0,9,0,0,0,1,0,0,0,0], | |
["Binksternet",27,6,60,0,4,0,0,0,0,0,0,0,0,2,0], |