Skip to content

Instantly share code, notes, and snippets.

View brapse's full-sized avatar

Sean Braithwaite brapse

View GitHub Profile
/* Set of controls for creating the composition */
s.boot;
s.freqscope;
Synth.new(\chelled, [\freq, 200, \duration, 1]);
Synth.new(\chord, [\freq, 920, \fm, 480]);
Synth.new(\ground, [\freq, (200..2000).choose]);
Synth.new(\ground, [\freq, 1500]);
//Chelled
/* Set of controls for creating the composition */
s.boot;
s.freqscope;
Synth.new(\chelled, [\freq, 200, \duration, 1]);
Synth.new(\chord, [\freq, 920, \fm, 480]);
Synth.new(\ground, [\freq, (200..2000).choose]);
Synth.new(\ground, [\freq, 1500]);
//Chelled
require File.join( File.dirname(__FILE__), "..", "spec_helper" )
describe FauxQuery do
it 'Determin the model being tested' do
#Simple case
a = FauxQuery.new("Bands in montreal")
a.query_model.should == Band
#quotted case
package enell
{
import caurina.transitions.Tweener;
import flash.display.Sprite;
import flash.events.Event;
public class Mountain extends Sprite
{
//positiong
Index: build.xml
===================================================================
RCS file: /var/cvs/EPC/EPC_v5.0/code/applications/Portal/epc-guideline/build.xml,v
retrieving revision 1.17
diff -u -r1.17 build.xml
--- build.xml 11 Feb 2009 19:03:36 -0000 1.17
+++ build.xml 4 Mar 2009 17:42:55 -0000
@@ -136,6 +136,7 @@
<include name="FlexSpy.swc" />
<include name="KapInspect.swc" />
processing it and putting it here: /Users/jeremytough/.scvim/doc
/Users/jeremytough/workspace/SuperCollider3/editors/scvim/bin/scvim_make_help.rb:112:in `write': Broken pipe (Errno::EPIPE)
from /Users/jeremytough/workspace/SuperCollider3/editors/scvim/bin/scvim_make_help.rb:112:in `puts'
from /Users/jeremytough/workspace/SuperCollider3/editors/scvim/bin/scvim_make_help.rb:112:in `runhtml'
from /Users/jeremytough/workspace/SuperCollider3/editors/scvim/bin/scvim_make_help.rb:100:in `open'
from /Users/jeremytough/workspace/SuperCollider3/editors/scvim/bin/scvim_make_help.rb:100:in `runhtml'
from /Users/jeremytough/workspace/SuperCollider3/editors/scvim/bin/scvim_make_help.rb:199:in `myunhtml'
from /Users/jeremytough/workspace/SuperCollider3/editors/scvim/bin/scvim_make_help.rb:198:in `open'
from /Users/jeremytough/workspace/SuperCollider3/editors/scvim/bin/scvim_make_help.rb:198:in `myunhtml'
from /Users/jeremytough/workspace/SuperCollider3/editors/scvim/bin/scvim_make_help.rb:267:in `processFi
Index: SConstruct
===================================================================
--- SConstruct (revision 8951)
+++ SConstruct (working copy)
@@ -359,7 +359,7 @@
if os.path.exists('/usr/lib/ccache/bin'):
os.environ['PATH'] = '/usr/lib/ccache/bin:' + os.environ['PATH']
- env['ENV']['CCACHE_DIR'] = os.environ['CCACHE_DIR']
+ env['ENV']['CCACHE_DIR'] = os.environ.get('CCACHE_DIR')
Index: SConstruct
===================================================================
--- SConstruct (revision 8951)
+++ SConstruct (working copy)
@@ -16,7 +16,7 @@
ANY_FILE_RE = re.compile('.*')
HOME_DIR_RE = re.compile(os.environ.get('HOME') + '.*')
-DEFAULT_PREFIX = '/usr/local/'
+DEFAULT_PREFIX = os.environ.get('PREFIX', '/usr/local/')
Index: SConstruct
===================================================================
--- SConstruct (revision 8951)
+++ SConstruct (working copy)
@@ -104,7 +104,7 @@
Exit(1)
#get our variables from the options
-PREFIX = env.get('PREFIX')
+PREFIX = os.path.join(env.get('DESTDIR',''), env.get('PREFIX'))
lex = WordNet::Lexicon.new
collection = []
current = ""
while true
trap("INT") do
Process.exit
end