Skip to content

Instantly share code, notes, and snippets.

View cwhitney's full-sized avatar

Charlie Whitney cwhitney

View GitHub Profile
@hfreire
hfreire / qemu_osx_rpi_raspbian_jessie.sh
Last active March 24, 2024 14:35
How to emulate a Raspberry Pi (Raspbian Jessie) on Mac OSX (El Capitan)
# Install QEMU OSX port with ARM support
sudo port install qemu +target_arm
export QEMU=$(which qemu-system-arm)
# Dowload kernel and export location
curl -OL \
https://github.com/dhruvvyas90/qemu-rpi-kernel/blob/master/kernel-qemu-4.1.7-jessie
export RPI_KERNEL=./kernel-qemu-4.1.7-jessie
# Download filesystem and export location
@igrr
igrr / ota_server.py
Created June 11, 2015 15:31
ESP8266 Arduino OTA test script
#!/usr/bin/python
#
# this script will push an OTA update to the ESP
#
# use it like: python ota_server.py <ESP_IP_address> <sketch.bin>
#
# on the ESP side you need code like this: https://gist.github.com/igrr/43d5c52328e955bb6b09 to handle the update
#
import socket
@patriciogonzalezvivo
patriciogonzalezvivo / GLSL-Noise.md
Last active June 29, 2024 13:05
GLSL Noise Algorithms

Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);

Marina Abramovic is starting an interdisciplinary performance and education center.

She needs $600,000 to complete this project, so she's raising the money with a Kickstarter.

In the midst of the Kickstarter campaign there is an interesting reward:

THE EXERCISES: MUTUAL GAZE WITH MARINA ABRAMOVIC. Marina will perform the Abramovic Method eye gazing exercise with you via webcam. You may document this experience in any way you’d like and opt to include it in MAI digital archives. PLUS Neuroscience Exclusives, OMA / MAI Digital Design Package, Abramovic Method Exclusives, access to ALL $25 live stream exercises / live events, MAI 101 Lecture and Digital Booklet, MAI Founder (WALL FOUNDER), and Digital MAI rewards.

In order to help Marina meet her goal, and to explore all the possibilities of this exercise, I would like to arrange a "Mutual Gaze" session around one or more of the following constructed situations:

@dustinsenos
dustinsenos / gist:5294392
Created April 2, 2013 17:42
Retina Mouse Cursor Files. Below is the file location of the retina mouse cursors on OS X 10.8.3. All files are .pdfs (thanks Apple) so they should work perfectly in Photoshop, Illustrator etc.
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HiServices.framework/Versions/A/Resources/cursors
@bzztbomb
bzztbomb / gist:4639808
Created January 26, 2013 02:57
Cinder + OSC Hacks
//Hack #1, publishing OSC port info via Bonjour. Control (http://charlie-roberts.com/Control/) scans Bonjour for available services.
// Call publish_via_bonjour from your ::setup() function
#import <Cocoa/Cocoa.h>
@class NSNetService;
@interface BonjourPublisher : NSObject
{
NSNetService *netService;
}
@ofZach
ofZach / gitignore OF
Created September 12, 2012 14:41
good gitignore for OF
# Some general ignore patterns
build/
obj/
*.o
Debug*/
Release*/
*.mode*
*.app/
*.pyc
.svn/