Skip to content

Instantly share code, notes, and snippets.

View pennyfx's full-sized avatar

pennyfx

  • LightningFast
  • Truckee, Ca
View GitHub Profile
@pennyfx
pennyfx / gist:1320942
Created October 27, 2011 21:31
broken
------------------------------------------------------------
/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
@pennyfx
pennyfx / gist:1294757
Created October 18, 2011 06:35
Mongoose Bug#552
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: {
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"}
(F) MONGODB slashbiasdev['groups'].find({:state=>"active", :domain=>"localhost.lan"})
(F) MONGODB slashbiasdev['users'].find({:_id=>"4dc38f9a9aecd73671000005"})
(F) MONGODB slashbiasdev['tags'].find({"group_id"=>"4dc3853b9aecd7296100000c", :name=>{"$in"=>["test"]}}, {:_type=>1, :name=>1})
(F) MONGODB slashbiasdev['$cmd'].find({"count"=>"users", "query"=>{:login=>"aschaar", :_id=>{"$ne"=>"4dc38f9a9aecd73671000005"}}, "fields"=>nil})

@pennyfx
pennyfx / gist:973870
Created May 16, 2011 03:14
mongodb install fail
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
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'
@pennyfx
pennyfx / foo.css
Last active August 29, 2015 14:00
::content(h1) {
color: green;
}