This file contains hidden or 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
(ns insane-noises.core | |
(:use [overtone.live] | |
[overtone.inst.piano] | |
[overtone.inst.sampled-piano] | |
[overtone.inst.drum] | |
[overtone.inst.synth] | |
)) | |
;;defsynth vs definfst | |
;(definst foo [freq 220] (lpf (saw (mouse-y 10 300 LIN)) (mouse-x 40 5000 EXP))) |
This file contains hidden or 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 | |
from time import sleep | |
from sh import t, broadcast | |
from random import choice | |
name = "Sean" | |
phrases = [ | |
name + ", you better ", | |
] |
This file contains hidden or 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 | |
echo $@ | ssh sean.local 'espeak --stdout|aplay -t wav -' | |
This file contains hidden or 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
/* | |
* Problem 50 - Project Euler | |
* Sean Lee 02/03/12 | |
*/ | |
var isPrime = [] | |
var primes = [] | |
var genprimes = function(upperbound){ //Sieve of Erastothenes | |
for (var i = 0; i< upperbound; i++){ |
This file contains hidden or 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
nitrogen --restore & | |
sudo macshit & | |
urxvtq & | |
redshift & | |
xbindkeys & | |
ssh-agent & | |
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel' | |
.bin/statusbar & |
This file contains hidden or 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 | |
EXPECTED_ARGS=1 | |
if [ $# -ne $EXPECTED_ARGS ] | |
then | |
echo "Usage: $0 directory" | |
exit 1 | |
fi | |
wdfs https://webfolders.exeter.edu/$1 ~/.mount/$1 |
This file contains hidden or 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 | |
# | |
# calen - a calender app | |
import os | |
import sys | |
from termcolor import colored | |
class entry: | |
def __init__(self, date, task): |
NewerOlder