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/python | |
WhatThisIS=""" | |
This is a hacked together script to connect to all of your running EC2 instances, and to provide a single SSH prompt amongst all of them, and to assist in uploading, splitting, and downloading files. email me at winniningham at and email server called gmail.com :P | |
""" | |
import paramiko | |
from numpy import * |
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
from pandas import DataFrame | |
from pandas.util.testing import set_trace | |
import os | |
import numpy as np | |
import matplotlib.pyplot as plt | |
dirs = [] | |
names = [] | |
lengths = [] |
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 com.example.hello_clojure.HelloActivity | |
(:gen-class :main false | |
:extends android.app.Activity | |
:exposes-methods {onCreate superOnCreate}) | |
(:import [com.example.hello_clojure R$layout])) | |
(defn -onCreate | |
[this bundle] | |
(doto this | |
(.superOnCreate bundle) |
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 | |
#set url and port to the xbmc box webservice | |
XBMC_HOST="http://127.0.0.1:8080" | |
if [ "$1" = "" ]; then | |
echo -n "Insert URL: " | |
read url | |
else | |
url="$1" | |
fi |
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 explore-overtone.leip-polyrhythm | |
(:require [overtone.live :as o] | |
[leipzig.live :as ll] | |
[leipzig.melody :as lm])) | |
(def snare (o/sample (o/freesound-path 26903))) | |
(def kick (o/sample (o/freesound-path 2086))) | |
(def close-hihat (o/sample (o/freesound-path 802))) | |
(def open-hihat (o/sample (o/freesound-path 26657))) | |
(def clap (o/sample (o/freesound-path 48310))) |
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
Not sure how to summarize/organize this into something useful. Some can be made into Spotify/Rdio playlists, but others are likely unavailable and some are just URLs to other services. Genre is all over the place as well...lots of ambient and classical, soundtracks, uptempo dancey stuff, rock w/ words, and even Slayer. Not sure all that can be put into one playlist that's useful for anyone. What I'm saying is, good luck! | |
fantoraygun @fantoraygun 1h | |
@jkottke some great mixes here: http://musicforprogramming.net/ | |
Andrew @jandrewc 1h | |
@jkottke "From here we go sublime" by The Field and "Alive 2007" by Daft Punk. | |
Lenny @lenny_ 1h | |
@jkottke SomaFM's Groove Salad station |
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
sudo nano /usr/share/X11/xorg.conf.d/20-intel.conf | |
Section "Device" | |
Identifier "Intel Graphics" | |
Driver "intel" | |
Option "AccelMethod" "sna" | |
Option "TearFree" "true" | |
EndSection | |
Settings > Window Manager Tweaks > Enable display compositing |
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
int[][] result; | |
float t; | |
void setup() { | |
setup_(); | |
result = new int[width*height][3]; | |
} | |
void draw() { |
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
import bpy | |
myCurve = bpy.data.curves[0] # here your curve | |
spline= myCurve.splines[0] # maybe you need a loop if more than 1 spline | |
scale = 200 | |
curvepath_template = """ | |
var curves = new THREE.CurvePath(); | |
%s |
OlderNewer