This file contains 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
Multiple facebook apps on one facebooker-powered Rails app. This | |
should be backwards compatible. For adding an app: | |
development: | |
api_key: 963285923uj23j8rj23j932 | |
secret_key: fj329jf932jf9329t939hg239t | |
canvas_page_name: mainapp | |
pretty_errors: true | |
set_asset_host_to_callback_url: true | |
callback_url: http://www.host.com |
This file contains 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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'curl' | |
require 'json' | |
client = Curl::Easy.perform( | |
"http://#{ENV['PPW_USER']}:#{ENV['PPW_PASS']}" + | |
"@www.pushpinweb.com" + | |
"/datasets/1.json" |
This file contains 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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by sphinx configure 1.11, which was | |
generated by GNU Autoconf 2.65. Invocation command line was | |
$ ./configure --with-libstemmer --without-unixodbc --with-mysql=/usr/local/mysql --disable-debug CPPFLAGS=-I/usr/local/include -I/usr/local/Cellar/open-mpi/1.4.2/include -I/usr/local/Cellar/boost/1.45.0/include -arch x86_64 LDFLAGS=-L/usr/local/lib -L/usr/local/Cellar/open-mpi/1.4.2/lib -L/usr/local/Cellar/boost/1.45.0/lib CFLAGS=-O -arch x86_64 LDFLAGS=-arch x86_64 -L/usr/local/Cellar/open-mpi/1.4.2/lib -L/usr/local/Cellar/boost/1.45.0/lib CXXFLAGS=-O -arch x86_64 | |
## --------- ## | |
## Platform. ## |
This file contains 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
rvm use --create 1.9.2@list_benchmark |
This file contains 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 guard for watching the filesystem and running | |
# Compass compilers. | |
# | |
group :development do | |
gem 'guard-compass' | |
end |
This file contains 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
// | |
// This server will start a bash shell and expose it | |
// over socket.io to a browser. See ./term.html for the | |
// client side. | |
// | |
// You should probably: | |
// | |
// npm install socket.io | |
// curl -O https://github.com/LearnBoost/Socket.IO/raw/master/socket.io.min.js | |
// |
This file contains 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
node_modules | |
public/socket.io.min.js | |
public/jquery.js |
This file contains 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
Just create a new bookmark, then copy and paste the | |
javascript in bookmarklet.js into the "url" section. | |
Then open co-op, click the bookmarklet, and you're | |
using text to speech! | |
This only works with Chrome right now. |
This file contains 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
# Lifting from http://stackoverflow.com/questions/714042/unit-testing-code-which-gets-current-time | |
# mostly, but adding a non-block version. | |
# | |
# Toss this into config/initializers/stub_time.rb and set a | |
# time at the bottom of the file. | |
# | |
# Danger Will Robinson, Danger! | |
# | |
require 'time' |
This file contains 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
=begin | |
Rack::SpellCheck - Spell check your HTML pages with Aspell, Nokogiri, and Rack. | |
This probably should be loaded in an initializer like so: | |
if Rails.env.development? | |
SpintoApp::Application.config.middleware.use Rack::SpellCheck | |
end |
OlderNewer