View Sass error on Heroku
arron@arron-ubuntu:~/Documents/slash$ heroku logs | |
==> dyno-2997016.log <== | |
Running on MongoHQ | |
BSON::ObjectID is deprecated. Please use BSON::ObjectId instead. | |
BSON::ObjectID is deprecated. Please use BSON::ObjectId instead. | |
/usr/ruby1.8.7/lib/ruby/1.8/fileutils.rb:243:in `mkdir': Read-only file system - /disk1/home/slugs/345453_676f2cb_7e8a-2291b117-2cec-48b0-9c98-efabd5fe14e7/mnt/public/stylesheets/compiled - Heroku has a read-only filesystem. See http://docs.heroku.com/constraints#read-only-filesystem (Errno::EROFS) | |
from /usr/ruby1.8.7/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir' | |
from /usr/ruby1.8.7/lib/ruby/1.8/fileutils.rb:217:in `mkdir_p' | |
from /usr/ruby1.8.7/lib/ruby/1.8/fileutils.rb:215:in `reverse_each' | |
from /usr/ruby1.8.7/lib/ruby/1.8/fileutils.rb:215:in `mkdir_p' |
View gist:973870
arron@ubuntu11:~/programming/backbone$ npm install mongodb | |
> mongodb@0.9.4-3 install /home/arron/programming/backbone/node_modules/mongodb | |
> bash ./install.sh | |
./install.sh: line 2: [: too many arguments | |
Not building native library for cygwin | |
make -C ./external-libs/bson | |
make[1]: Entering directory `/home/arron/programming/backbone/node_modules/mongodb/external-libs/bson' | |
rm -rf build .lock-wscript bson.node |
View gist:988072
Started POST "/questions" for 127.0.0.1 at 2011-05-23 19:53:06 -0700 | |
Processing by QuestionsController#create as HTML | |
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rDxBRpG0cVTO2WsjqpPci1J34FLBHmHJgfutqG0+mDc=", "question"=>{"position"=>{"lat"=>"37.36883", "long"=>"-122.036349"}, "title"=>"New Test Questions, does this work yet?", "tags"=>"test", "body"=>"Testing the question adding again.. I wonder why its broken!", "language"=>"", "wiki"=>"0", "pollable"=>"false", "anonymous"=>"false"}, "tag_input"=>"", "commit"=>"Create"} | |
[0;34m(F)[0m MONGODB slashbiasdev['groups'].find({:state=>"active", :domain=>"localhost.lan"}) | |
[0;34m(F)[0m MONGODB slashbiasdev['users'].find({:_id=>"4dc38f9a9aecd73671000005"}) | |
[0;34m(F)[0m MONGODB slashbiasdev['tags'].find({"group_id"=>"4dc3853b9aecd7296100000c", :name=>{"$in"=>["test"]}}, {:_type=>1, :name=>1}) | |
[0;34m(F)[0m MONGODB slashbiasdev['$cmd'].find({"count"=>"users", "query"=>{:login=>"aschaar", :_id=>{"$ne"=>"4dc38f9a9aecd73671000005"}}, "fields"=>nil}) | |
[0;34m |
View gist:1294757
var mongoose = module.exports.mongoose = require('mongoose'); | |
var PostSchema = new mongoose.Schema({ | |
title: { | |
type: String | |
}, | |
slug_key: String, | |
body: String, | |
last_activity_at: Date, | |
created_at: { |
View gist:1320942
------------------------------------------------------------ | |
/Users/arron/Envs/flightdeck/bin/vend run on Thu Oct 27 14:16:52 2011 | |
Downloading/unpacking jingo | |
Getting page http://pypi.python.org/simple/jingo | |
URLs to search for versions for jingo: | |
* http://pypi.python.org/simple/jingo/ | |
Getting page http://github.com/jbalogh/jingo | |
Analyzing links from page http://pypi.python.org/simple/jingo/ | |
Skipping link http://github.com/jbalogh/jingo (from http://pypi.python.org/simple/jingo/); not a file | |
Skipping link http://jbalogh.me/projects/jingo (from http://pypi.python.org/simple/jingo/); not a file |
View gist:1328810
====================================================================== | |
ERROR: test_addon_with_deep_dependency (FlightDeck.apps.xpi.tests.test_building.XPIBuildTest) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/arron/programming/FlightDeck/../FlightDeck/apps/xpi/tests/test_building.py", line 389, in test_addon_with_deep_dependency | |
response = addon.latest.build_xpi(hashtag=self.hashtag) | |
File "/Users/arron/programming/FlightDeck/apps/jetpack/models.py", line 1311, in build_xpi | |
package_dir = self.make_dir(packages_dir) | |
File "/Users/arron/programming/FlightDeck/apps/jetpack/models.py", line 295, in make_dir | |
os.mkdir(package_dir) |
View gist:3723388
// | |
// Persistence and databinding tag thoughts | |
// | |
// Add one of these for each entity you want indexDb persistence | |
<x-indexdb for="x-todo-item" path="todoapp.todo-item"> | |
<x-indexdb for="x-user-preferences" path="todoapp.preferences"> | |
//when injected into the DOM will auto request data and inflate | |
<x-todo-item data-id="1"> |
View gist:3801410
I know we joked about this tag before, but check this out. | |
So I don't want to go through the trouble of creating an entire blog system. Plus we don't need it. We could easily create something simple with a few x-tags. | |
So imagine a directory with a bunch of html fragments containing x-blog-articles | |
/posts/(permalink) | |
<x-blog-article template="summary|complete"> | |
<x-value key="title"></x-value> |
View dabblet.css
.viewport{ | |
display:inline-block; | |
border: solid 1px black; | |
overflow:hidden; | |
border-radius: 15px; | |
} | |
.nob{ | |
background-color:red; | |
border-radius:15px; | |
width:20px; |
View gist:5131052
heartBeat = new Task(() => | |
{ | |
while (true) | |
{ | |
string token = "token-" + _nextHeartbeatId++; | |
_session.RequestHeartbeat(new HeartbeatRequest(token), | |
() => Console.WriteLine("Successfully requested heartbeat: " + token), | |
failureResponse => { throw new Exception("Failed"); }); |
OlderNewer