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
/** | |
* ScratchOSC Android Client | |
* Renders Realtime ScratchOSC Data via OSC from a Turntable running ScratchOSC | |
* This was developed as part of the ArtHackDay at 319 Scholes, Brooklyn, NY | |
* January 26-28, 2012 | |
* Written By: Daniel Moore | |
*/ | |
//Copyright (C) 2012 Daniel Moore | |
// |
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
<sml> | |
<!-- | |
# SCRATCH MARKUP LANGUAGE, WORKING DRAFT | |
http://scratchml.com | |
* version -- minor versions for small changes, major for incompatibilities | |
* info -- general file metadata: author info, client info etc. | |
* turntable - hardware metadata | |
* mixer -- hardware metadata |
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
<scratch> | |
<!-- | |
* info -- general file metadata: author info, client info et al | |
* audio -- info + raw data for audio recording, or links to external files | |
* transcription -- turntable markup (TTM)-style notation of fader cuts & hand movements | |
* turntable - hardware metadata | |
* mixer -- hardware metadata | |
* data -- actual fader/hand event data. |
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
# config/initializers/logger_customizations.rb | |
# Production-only monkeypatches to make our logs awesome | |
# Monkeypatch 1 | |
# Don't log common poller-style requests, they are just noise | |
class CustomLogger < Rails::Rack::Logger | |
def initialize(app, opts = {}) | |
@app = app | |
@opts = opts | |
@opts[:silenced] ||= [] |
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/sh | |
app="$1" | |
which -s heroku || (echo "no 'heroku' command. Try:\n\n\t gem install heroku" && exit 1) | |
heroku create $app | |
cd $app | |
heroku addons:add releases:basic | |
heroku addons:add memcached:5mb | |
heroku addons:add redis:nano |
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
vbell on | |
defscrollback 5000 | |
escape `` | |
startup_message off | |
screen -t bash 0 bash | |
screen -t bash 1 bash | |
screen -t bash 2 bash | |
screen -t bash 3 bash |
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
use strict; | |
use Irssi; | |
use URI::Find::Rule; | |
use REST::Client; | |
use URI::Escape; | |
use vars qw($VERSION %IRSSI); | |
$VERSION = '0.01'; | |
%IRSSI = ( |
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
task :default => :server | |
desc 'Start Jekyll server with --auto' | |
task :server do | |
jekyll('--server --auto') | |
end | |
desc 'Build site with Jekyll' | |
task :build do | |
jekyll('--no-auto') |
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
desc 'Test site output for Liquid template errors' | |
task :test => :build do | |
errors = `grep --exclude Rakefile -R 'Liquid error:' _site` | |
if errors.nil? || errors.empty? | |
puts "No errors" | |
else | |
puts "Errors:" | |
puts errors.inspect | |
exit 1 | |
end |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Megaplaya Advanced Embed demo</title> | |
</head> | |
<body> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"></script> | |
<script type="text/javascript" src="http://vhx.tv/javascripts/jquery.swfobject-1.1.1.js"></script> |