This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Dojo Template</title> | |
<style type="text/css"> | |
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/resources/dojo.css"; | |
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.5/dijit/themes/claro/claro.css"; | |
/* include your main application css here */ | |
/*@import "css/your_css.css";*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# by finite (http://www.reddit.com/r/4chan/comments/bb06w/alright_you_bastards_how_do_i_triforce/c0lwko2) | |
# saved as a gist for posterity | |
python -c 'print chr(10).join("".join((" ","▲")[c] for c in l)for l in reduce(lambda s,n,w=90:s+[[w>>(s[-1][i-1]*4+s[-1][i]*2+s[-1][(i+1)%len(s[0])])&1 for i in range(len(s[-1]))]],range(31),[[0]*31+[1]+[0]*31]))' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
'''Yet another Montage experiment for desktop wallpaper | |
This version works with a variant on the "Pseudo-Poisson" dart throwing algorithms | |
that were popular in stochastic ray-tracing years ago. It throws darts at a rectangular | |
region ensuring that no darts are closer together than a minimum distance. It allows the | |
minimum distance to scale down so you can have some big pictues and some smaller pictures. | |
The help text was intended to be self explanatory... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#user nginx; | |
worker_processes 5; | |
error_log /opt/local/var/log/nginx/error.log; | |
pid /opt/local/var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
LOG=~/Applications/bin/b.log | |
echo "<<($@)" >> $LOG | |
$($@ >> $LOG 2>> $LOG; echo ">>($@)" >> $LOG) & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Peter Parente | |
email = [email protected] | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name inotes | |
// @namespace http://aether.raleigh.ibm.com/ | |
// @description Adds Dock badge and Growl notification to iNotes in a Fluid SSB browser | |
// @include * | |
// @author Peter Parente <[email protected]> | |
// ==/UserScript== | |
(function () { | |
var authCol = 'e-listview-container-mail-Col2'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
''' | |
Setup a virtualenv with tornado/master and a run script to serve static files. | |
''' | |
import virtualenv | |
import os | |
import subprocess | |
import stat | |
def after_install(options, home_dir): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>RequireJS + Dojo XD sandbox</title> | |
<style type="text/css"> | |
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/resources/dojo.css"; | |
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.5/dijit/themes/claro/claro.css"; | |
</style> | |
<script data-main="main" src="js/require.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name aether.raleigh.ibm.com; | |
server_name_in_redirect off; | |
access_log /Users/parente/servers/logs/aether_access.log; | |
location / { | |
proxy_pass http://localhost:8080; | |
proxy_pass_header Server; | |
proxy_set_header X-Real-IP $remote_addr; |
OlderNewer