I hereby claim:
- I am x37v on github.
- I am xnor (https://keybase.io/xnor) on keybase.
- I have a public key ASCqzxwlRzIxXiTBfS1Ti9hP0hAMpFFS7axACRp-K1OtdQo
To claim this, I am signing this object:
http://forum.subsonic.org/forum/viewtopic.php?f=2&t=2038 | |
sudo cp local/src/ffmpeg-3.2/ffmpeg /var/subsonic/transcode/ | |
sudo ln -fs /usr/bin/lame /var/subsonic/transcode/ | |
run java audioDevList from homedir, see that USB [plughw:1,0] is our dog. | |
edit /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/lib/sound.properties |
use std::rc::Rc; | |
type TimePoint = u64; | |
trait Schedule { | |
fn schedule(&mut self, t: TimePoint, f: Rc<Fn(&mut Schedule)>) -> (); | |
fn now(&self) -> TimePoint; | |
} | |
type SeqFun = Rc<Fn(&mut Schedule)>; |
s = Server.default.boot; | |
( | |
SynthDef(\blah, { |out = 0, gate = 1| | |
Out.ar(out, SinOsc.ar(423) * EnvGen.ar(Env.adsr, gate), 0); | |
}).add; | |
) | |
x = Synth.new(\blah); | |
x.set(\gate, 0); |
I hereby claim:
To claim this, I am signing this object:
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA256 | |
I'm going to the key signing party https://pin13.net/BoT/2016-11-21/ | |
-----BEGIN PGP SIGNATURE----- | |
iQEcBAEBCAAGBQJYM0fvAAoJEGMnndNrINhFWPIH/1CfTuq5PB/K/SfPH2eJOysK | |
QWkMjqAT/0jPez+ETkbw80QCv8HxywzNyEFbGc3eujvc+hth/IBbQdDCeF34Rpoa | |
ocFq7muHFdljpY4PMSbyfip0djS2r8GWLY4FqbhIUwXkBcECkPu+E8MBwyWAkc2l | |
nTyyuKkqQbNRqkVP4Xx4hdoOSq00g+lX9tRE0MFwbogmic+6+OD4vzRf6w6OsPkl |
remote: Building source: | |
remote: | |
remote: -----> Using set buildpack heroku/nodejs | |
remote: -----> Node.js app detected | |
remote: | |
remote: -----> Creating runtime environment | |
remote: | |
remote: NPM_CONFIG_LOGLEVEL=error | |
remote: NPM_CONFIG_PRODUCTION=true | |
remote: NODE_ENV=demo |
Knex:warning - migration 20151111160500_move_parent_ing_id_out_of_data.js did not return a promise | |
Knex:warning - migrations failed with error: DROP FUNCTION set_updated_timestamp() - cannot drop function set_updated_timestamp() because other objects depend on it | |
error: DROP FUNCTION set_updated_timestamp() - cannot drop function set_updated_timestamp() because other objects depend on it | |
at Connection.parseE (/vagrant/node_modules/pg/lib/connection.js:539:11) | |
at Connection.parseMessage (/vagrant/node_modules/pg/lib/connection.js:366:17) | |
at Socket.<anonymous> (/vagrant/node_modules/pg/lib/connection.js:105:22) | |
at emitOne (events.js:77:13) | |
at Socket.emit (events.js:169:7) | |
at readableAddChunk (_stream_readable.js:146:16) | |
at Socket.Readable.push (_stream_readable.js:110:10) |
#N canvas 1140 61 583 661 10; | |
#X obj 74 -93 phasor~; | |
#X obj 93 -518 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 | |
1; | |
#X obj 28 -239 mtof; | |
#X obj 89 -245 hradio 15 1 0 8 empty empty empty 0 -8 0 10 -1856 -262144 | |
-228856 3; | |
#X obj 89 -213 + 1; | |
#X floatatom 158 -215 5 0 0 0 - - -; | |
#X obj 92 -427 random 8; |
def labeled_field_wrapper(res, name, f = nil, label_text = nil, &blk) | |
classes = 'field' | |
classes << ' field_with_errors' if any_errors(res, name) | |
label_text ||= name.to_s.capitalize | |
content_tag(:div, {:class => classes}) do | |
if f | |
f.label(name, label_text) | |
else | |
label_tag(name, label_text) | |
end << capture(&blk) |
class Foo < ActiveRecord::Base | |
has_many :bars | |
end | |
class Bar < ActiveRecord::Base | |
belongs_to :foo, :polymorphic => true #is polymorphic even needed? | |
end | |
class Baz < Bar | |
end |