Skip to content
View gist:6546329
root@voice:/usr/local/src/pyflac# make && make install
swig -python -Wall flac/sw_metadata.i
swig -python -Wall flac/decoder.i
swig -python -Wall flac/encoder.i
./setup.py build
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/flac
View gk.py
#!/usr/bin/python
import numpy as np
a = [[1, 1, 1], [2, 2, 2], [3, 3, 3]]
b = [[1, 1, 1], [2, 2, 2], [3, 3, 3]]
A = np.array(a)
B = np.array(b)
# i
View Gemfile
# Edit this Gemfile to bundle your application's dependencies.
source 'http://rubygems.org'
gem 'rails', '3.0.9' #, :git => 'git://github.com/rails/rails.git'
gem 'rake', '0.8.7'
gem "haml-rails"
gem "jquery-rails"
# Sends notifications of errors on Production app
gem "hoptoad_notifier"
# asset packaging
gem "jammit"
View assets.yml
allow_debugging: on
package_assets: on
compress_assets: off
gzip_assets: off
javascripts:
app:
- public/javascripts/*.js
- public/javascripts/**/*.js
View assets.yml
allow_debugging: on
package_assets: always
javascripts:
app:
- public/javascripts/*.js
- public/javascripts/**/*.js
stylesheets:
app:
View gist:1074548
:~ $ gem list
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (3.0.9, 3.0.8, 3.0.7, 3.0.6, 3.0.5, 3.0.3, 3.0.0)
actionpack (3.0.9, 3.0.7, 3.0.6, 3.0.5, 3.0.3, 3.0.0)
activemodel (3.0.9, 3.0.7, 3.0.6, 3.0.5, 3.0.3, 3.0.0)
activerecord (3.0.9, 3.0.7, 3.0.6, 3.0.5, 3.0.3, 3.0.0)
activeresource (3.0.9, 3.0.7, 3.0.6, 3.0.5, 3.0.3, 3.0.0)
View Gemfile.lock
GIT
remote: git://github.com/bmabey/database_cleaner.git
revision: 8bcee52a94360f3c8ff727def4de2e64dd2e2841
specs:
database_cleaner (0.6.7)
GIT
remote: git://github.com/jnicklas/carrierwave.git
revision: 3850f67ce1b7d25db595c3e2ec28b81ac172467c
specs:
View Gemfile
# Edit this Gemfile to bundle your application's dependencies.
source 'http://rubygems.org'
gem 'rails', '3.0.9' #, :git => 'git://github.com/rails/rails.git'
gem 'rake', '0.8.7'
gem "haml-rails"
gem "jquery-rails"
# Gem to abstract away the dplication common in standard restful controllers
gem 'inherited_resources'
View Gemfile.lock
GIT
remote: git://github.com/bmabey/database_cleaner.git
revision: 8bcee52a94360f3c8ff727def4de2e64dd2e2841
specs:
database_cleaner (0.6.7)
GIT
remote: git://github.com/jnicklas/carrierwave.git
revision: 3850f67ce1b7d25db595c3e2ec28b81ac172467c
specs:
View streamer.js
socket = io.listen(server);
socket.on('connection', function(client) {
return client.send('Welcome to the Tweet Monitor!!!\n\n\n\n');
});
twit.addListener('tweet', function(tweet) {
db.save(tweet);
socket.broadcast(tweet);
return console.log(twit.trackKeywords);
}).stream();
}).call(this);
Something went wrong with that request. Please try again.