Skip to content

Instantly share code, notes, and snippets.

View lantins's full-sized avatar

Luke Antins lantins

View GitHub Profile
./server1.yml # main playbook for the server
./base/setup.yml # base playbook applied to all servers
./base/tasks/foo.yml # base playbook foo tasks
./base/tasks/bar.yml # base playbook bar tasks
./www-server/setup.yml # www server playbook. etc.
@lantins
lantins / spectra-history.md
Created September 29, 2012 12:58
Spectra - History

HEAD

  • Added support for tracking achievements offline. n.b. banner to notify player of earned achievement only displays when logged into game center.
  • Added game centre achievement syncronisation.
  • New icon artwork.

0.2.52 (2012-09-29)

  • Split touch control input 50/50 on screen. Left: Yaw; Right: Fire, Thrust, Hyperspace.
# Below methods are called from AppDelegate#applicationDidBecomeActive
- (void)setupEffects
{
soundFactory = [[FIFactory alloc] init];
soundEngine = [soundFactory buildSoundEngine];
[soundEngine activateAudioSessionWithCategory:AVAudioSessionCategoryAmbient];
[soundEngine openAudioDevice];
[self loadGameEffects];
22:23:08,757 INFO [org.torquebox.core.runtime] (MSC service thread 1-9) Created ruby runtime (ruby_version: RUBY1_9, compile_mode: JIT, app: torquebox-eventmachine-service, context: services) in 1.69s
22:23:08,757 INFO [org.torquebox.core.runtime] (Thread-110) Created ruby runtime (ruby_version: RUBY1_9, compile_mode: JIT, app: torquebox-eventmachine-service, context: web) in 1.69s
22:23:08,933 INFO [com.lividpenguin.server] (RubyThread-113: /Users/lantins/.rvm/gems/jruby-1.6.7.2/gems/servolux-0.10.0/lib/servolux/threaded.rb:210) server | ---- | --------------------------------
22:23:08,934 INFO [com.lividpenguin.server] (RubyThread-113: /Users/lantins/.rvm/gems/jruby-1.6.7.2/gems/servolux-0.10.0/lib/servolux/threaded.rb:210) server | ---- | recovering...
22:23:08,953 INFO [com.lividpenguin.server] (RubyThread-113: /Users/lantins/.rvm/gems/jruby-1.6.7.2/gems/servolux-0.10.0/lib/servolux/threaded.rb:210) server | ---- | server listening for connections on: 0.0.0.0:42690
22:23:08,953 INFO [com.livid
21:18:27,348 INFO [org.torquebox.core.runtime] (Thread-115) Created ruby runtime (ruby_version: RUBY1_9, compile_mode: JIT, app: imss, context: web) in 1.92s
21:18:28,170 DEBUG [uk.co.iris-technology.imss.end-point] Server "imss-end-point" creating pid file "/Users/lantins/devel/iris/imss/tmp/imss-end-point.42690.pid"
21:18:28,170 DEBUG [uk.co.iris-technology.imss.end-point] Starting
21:18:28,171 INFO [uk.co.iris-technology.imss.end-point] server | ---- | --------------------------------
21:18:28,172 INFO [uk.co.iris-technology.imss.end-point] server | ---- | recovering...
21:18:28,179 INFO [uk.co.iris-technology.imss.end-point] server | ---- | server listening for connections on: 0.0.0.0:42690
21:18:28,179 INFO [uk.co.iris-technology.imss.end-point] server | ---- | recover complete
21:18:28,216 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018565: Replaced deployment "imss-knob.yml" with deployment "imss-knob.yml"
21:18:30,277 DEBUG [uk.co.iris-technology.imss.end-point] sock
20:13:35,478 INFO [org.torquebox.core.runtime] (Thread-110) Created ruby runtime (ruby_version: RUBY1_9, compile_mode: JIT, app: imss, context: web) in 2.04s
20:13:35,478 INFO [org.torquebox.core.runtime] (MSC service thread 1-4) Created ruby runtime (ruby_version: RUBY1_9, compile_mode: JIT, app: imss, context: services) in 2.04s
20:13:36,306 DEBUG [uk.co.iris-technology.imss.end-point] Server "imss-end-point" creating pid file "/Users/lantins/devel/iris/imss/tmp/imss-end-point.42690.pid"
20:13:36,307 DEBUG [uk.co.iris-technology.imss.end-point] Starting
20:13:36,309 INFO [uk.co.iris-technology.imss.end-point] server | ---- | --------------------------------
20:13:36,309 INFO [uk.co.iris-technology.imss.end-point] (RubyThread-114: /Users/lantins/.rvm/gems/jruby-1.6.7.2/gems/servolux-0.10.0/lib/servolux/threaded.rb:210) server | ---- | --------------------------------
20:13:36,311 INFO [uk.co.iris-technology.imss.end-point] server | ---- | recovering...
20:13:36,311 INFO [uk.co.iris-technology.ims
19:12:57,279 INFO [imss-end-point] (RubyThread-114: /Users/lantins/.rvm/gems/jruby-1.6.7.2/gems/servolux-0.10.0/lib/servolux/threaded.rb:210) server | ---- | --------------------------------
19:12:57,280 INFO [imss-end-point] (RubyThread-114: /Users/lantins/.rvm/gems/jruby-1.6.7.2/gems/servolux-0.10.0/lib/servolux/threaded.rb:210) server | ---- | recovering...
19:12:57,294 INFO [imss-end-point] (RubyThread-114: /Users/lantins/.rvm/gems/jruby-1.6.7.2/gems/servolux-0.10.0/lib/servolux/threaded.rb:210) server | ---- | server listening for connections on: 0.0.0.0:42690
19:12:57,295 INFO [imss-end-point] (RubyThread-114: /Users/lantins/.rvm/gems/jruby-1.6.7.2/gems/servolux-0.10.0/lib/servolux/threaded.rb:210) server | ---- | recover complete
19:12:57,328 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "imss-knob.yml"
19:19:19,753 ERROR [stderr] (RubyThread-114: /Users/lantins/.rvm/gems/jruby-1.6.7.2/gems/servolux-0.10.0/lib/servolux/threaded.rb:210) rx | ---> |
Sequel::DatabaseConnectionError: NoMethodError: undefined method `createStatement' for nil:NilClass
make_new at /Users/lantins/.rvm/gems/jruby-1.6.5.1@torquebox/gems/sequel-3.35.0/lib/sequel/connection_pool.rb:103
make_new at /Users/lantins/.rvm/gems/jruby-1.6.5.1@torquebox/gems/sequel-3.35.0/lib/sequel/connection_pool/threaded.rb:144
available at /Users/lantins/.rvm/gems/jruby-1.6.5.1@torquebox/gems/sequel-3.35.0/lib/sequel/connection_pool/threaded.rb:130
acquire at /Users/lantins/.rvm/gems/jruby-1.6.5.1@torquebox/gems/sequel-3.35.0/lib/sequel/connection_pool/threaded.rb:120
sync at /Users/lantins/.rvm/gems/jruby-1.6.5.1@torquebox/gems/sequel-3.35.0/lib/sequel/connection_pool/threaded.rb:162
sync at /Users/lantins/.rvm/gems/jruby-1.6.5.1@torquebox/gems/sequel-3.35.0/lib/sequel/connection_pool/threaded.rb:162
acquire at /Users/lantins/.rvm/gems/jruby-1.6.5.1@torquebox/gems/sequel-3.35.0/lib/sequel
{"id":25,"timestamp":1337790661,"log":{"format":"imdl"},"transcode":{"time-series":"ncode-s3t","histogram":"ncode-s3h"},"modules":[{"id":0,"type":"remote-canbus","motion-signals":{"gyroscope-x":{"type":"float64","name":"Gyroscope - X Axis","unit":"deg/s","min":-250.0,"max":250.0,"signed":true,"scale":1.0,"offset":0.0,"results":0,"id":0},"gyroscope-z":{"type":"float64","name":"Gyroscope - Z Axis","unit":"deg/s","min":-250.0,"max":250.0,"signed":true,"scale":1.0,"offset":0.0,"results":1,"id":1},"gyroscope-y":{"type":"float64","name":"Gyroscope - Y Axis","unit":"deg/s","min":-250.0,"max":250.0,"signed":true,"scale":1.0,"offset":0.0,"results":2,"id":2},"accelerometer-z":{"type":"float64","name":"Accelerometer - Z Axis","unit":"mps","min":-40.0,"max":40.0,"signed":true,"scale":1.0,"offset":0.0,"results":3,"id":3},"accelerometer-y":{"type":"float64","name":"Accelerometer - Y Axis","unit":"mps","min":-40.0,"max":40.0,"signed":true,"scale":1.0,"offset":0.0,"results":4,"id":4},"accelerometer-x":{"type":"float64","name
v=0000;eval$s=%q~d=%!^Lcf<LK8, _@7gj*LJ=c5nM)Tp1g0%Xv.,S[<>YoP
4ZojjV)O>qIH1/n[|2yE[>:ieC "%.#% :::##" 97N-A&Kj_K_><wS5rtWk@*a+Y5
yH?b[F^e7C/56j|pmRe+:)B "##% ::##########" O98(Zh)'Iof*nm.,$C5Nyt=
PPu01Avw^<IiQ=5$'D-y? "##: ###############" g6`YT+qLw9k^ch|K'),tc
6ygIL8xI#LNz3v}T=4W "# #. .####:#######" lL27FZ0ij)7TQCI)P7u
}RT5-iJbbG5P-DHB<. " ##### # :############" R,YvZ_rnv6ky-G+4U'
$*are@b4U351Q-ug5 " #######################" 00x8RR%`Om7VDp4M5
PFixrPvl&<p[]1IJ " ############:#### %#####" EGgDt8Lm#;bc4zS^
y]0`_PstfUxOC(q " .#############:##% .## ." /,}.YOIFj(k&q_V
zcaAi?]^lCVYp!; " %% .################. #. " ;s="v=%04o;ev"%