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
int[][] result; | |
float t; | |
void setup() { | |
setup_(); | |
result = new int[width*height][3]; | |
} | |
void draw() { |
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
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 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 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 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 * |
NewerOlder