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
#include <Wire.h> | |
#include <Serial.h> | |
#include <math.h> | |
#include <PWMLEDDriver.h> | |
// How many Channels we're driving on this board | |
// 12'' Drum - 7 Channels | |
// 16'' Drum - 7 Channels | |
// 20'' Drum - 10 Channels | |
// 24'' Drum - 11 Channels |
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 processing.opengl.*; | |
import SimpleOpenNI.*; | |
SimpleOpenNI kinect; | |
void setup() { | |
size(1028, 768, OPENGL); | |
kinect = new SimpleOpenNI(this); | |
kinect.enableDepth(); | |
kinect.enableUser(SimpleOpenNI.SKEL_PROFILE_ALL); |
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
.carousel.carousel-fade .item { | |
-webkit-transition: opacity 2s ease-in-out; | |
-moz-transition: opacity 2s ease-in-out; | |
-ms-transition: opacity 2s ease-in-out; | |
-o-transition: opacity 2s ease-in-out; | |
transition: opacity 2s ease-in-out; | |
} | |
.carousel.carousel-fade .active.left, | |
.carousel.carousel-fade .active.right { | |
left: 0; |
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 processing.serial.*; | |
import cc.arduino.*; | |
Arduino arduino; | |
int ledPin = 13; | |
void setup() | |
{ | |
//println(Arduino.list()); | |
arduino = new Arduino(this, Arduino.list()[0], 57600); |
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 processing.serial.*; | |
import cc.arduino.*; | |
Arduino arduino; | |
void setup() { | |
arduino = new Arduino(this, Arduino.list()[0], 115200); | |
} | |
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
From: Brian Akins < [email protected]> | |
To: chef < [email protected]> | |
Subject: [chef] Data bag implementation for chef-solo | |
Date: Tue, 1 Feb 2011 10:42:05 -0500 | |
We often use chef-solo for quick testing, etc. This is our extremely simple implementation of data bags for chef-solo. Add "data_bag_path /some/dir/data_bags" to your solo.rb and add this into your libraries: | |
if Chef::Config[:solo] | |
class Chef | |
module Mixin | |
module Language |
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
[master][~/dev/CommunityReboot] ruby -v | |
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.3] | |
[master][~/dev/CommunityReboot] gem list | |
*** LOCAL GEMS *** | |
aaronh-chronic (0.3.9) | |
actionmailer (2.3.11) | |
actionpack (2.3.11) | |
activerecord (2.3.11) |
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
# For rvm had to add the lines to Capistrano: | |
$:.unshift(File.expand_path('./lib', ENV['rvm_path'])) # Add RVM's lib directory to the load path. | |
require "rvm/capistrano" | |
set :rvm_ruby_string, '1.9.2@community' | |
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
# unicorn_rails -c /data/github/current/config/unicorn.rb -E production -D | |
rails_env = ENV['RAILS_ENV'] || 'production' | |
# 16 workers and 1 master | |
worker_processes (rails_env == 'production' ? 16 : 4) | |
# Load rails+github.git into the master before forking workers | |
# for super-fast worker spawn times | |
preload_app true |
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
; Daniel Shiffman's initial example in his PVector + Processing Tutorial | |
; re-written in clojure | |
(ns example1 | |
(:use [rosado.processing] | |
[rosado.processing.applet])) | |
(set! *warn-on-reflection* true) | |
(defn bounced? |