Skip to content

Instantly share code, notes, and snippets.

View windhamdavid's full-sized avatar
🦮
garbage in garbage out

David Windham windhamdavid

🦮
garbage in garbage out
View GitHub Profile
--- /Users/dwindha/Sites/ndpc/sites/all/modules/biblio/_old-styles/biblio_style_apa copy.inc 2012-01-23 13:14:18.000000000 -0500
+++ /Users/dwindha/Sites/ndpc/sites/all/modules/biblio/_old-styles/biblio_style_apa.inc 2011-09-12 09:55:15.000000000 -0400
@@ -1,6 +1,7 @@
<?php
+// $Id: biblio_style_apa.inc,v 1.9.2.17 2009/09/30 15:48:25 rjerome Exp $
/**
* Get the style information
*
ckbullet:nodeku david$ git push heroku master
Counting objects: 7, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (7/7), 914 bytes, done.
Total 7 (delta 0), reused 0 (delta 0)
-----> Heroku receiving push
-----> Node.js app detected
-----> Vendoring node 0.4.7
blackbullet:~ david$ ./mongodb-osx-x86_64-1.8.1/bin/mongod
./mongodb-osx-x86_64-1.8.1/bin/mongod --help for help and startup options
Fri May 27 17:08:19 [initandlisten] MongoDB starting : pid=5661 port=27017 dbpath=/data/db/ 64-bit
Fri May 27 17:08:19 [initandlisten] db version v1.8.1, pdfile version 4.5
Fri May 27 17:08:19 [initandlisten] git version: a429cd4f535b2499cc4130b06ff7c26f41c00f04
Fri May 27 17:08:19 [initandlisten] build sys info: Darwin erh2.10gen.cc 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_40
Fri May 27 17:08:19 [initandlisten] exception in initAndListen std::exception: Unable to create / open lock file for lockfilepath: /data/db/mongod.lock errno:13 Permission denied, terminating
Fri May 27 17:08:19 dbexit:
Fri May 27 17:08:19 [initandlisten] shutdown: going to close listening sockets...
Fri May 27 17:08:19 [initandlisten] shutdown: going to flush diaglog...
tarted POST "/games/2/moves" for 192.168.0.15 at 2011-05-25 16:43:32 -0400
Processing by MovesController#create as JS
Parameters: {"move"=>"jj", "after"=>"0", "game_id"=>"2"}
User Load (0.4ms) SELECT `users`.* FROM `users` WHERE (`users`.`token` = 'WS2zkirI5qnSZk5I') LIMIT 1
SQL (0.2ms) BEGIN
AREL (0.3ms) UPDATE `users` SET `last_request_at` = '2011-05-25 20:43:32', `updated_at` = '2011-05-25 20:43:32' WHERE (`users`.`id` = 2)
SQL (1.1ms) COMMIT
Game Load (1.7ms) SELECT `games`.* FROM `games` WHERE (`games`.`id` = 2) LIMIT 1
Completed in 195ms
n /Users/david/govsgo)
== CreateGames: migrating ====================================================
-- create_table(:games)
-> 0.1249s
== CreateGames: migrated (0.1252s) ===========================================
== CreateUsers: migrating ====================================================
-- create_table(:users)
-> 0.1211s
== CreateUsers: migrated (0.1212s) ===========================================
Started GET "/" for 192.168.0.15 at 2011-05-25 16:13:40 -0400
Processing by GamesController#index as HTML
Game Load (0.7ms) SELECT `games`.* FROM `games` ORDER BY updated_at desc LIMIT 5 OFFSET 0
Mysql2::Error: Table 'govsgo_dev.games' doesn't exist: SELECT `games`.* FROM `games` ORDER BY updated_at desc LIMIT 5 OFFSET 0
Completed in 121ms
ActiveRecord::StatementInvalid (Mysql2::Error: Table 'govsgo_dev.games' doesn't exist: SELECT `games`.* FROM `games` ORDER BY updated_at desc LIMIT 5 OFFSET 0):
app/controllers/games_controller.rb:7:in `index'
Rendered /Users/david/.rvm/gems/ruby-1.9.2-p180@govsgo/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
2011-05-25T00:59:27+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.0/lib/rack/builder.rb:51:in `instance_eval'
2011-05-25T00:59:27+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.0/lib/rack/builder.rb:51:in `initialize'
2011-05-25T00:59:27+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.0/lib/rack/builder.rb:120:in `new'
2011-05-25T00:59:27+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.0/lib/rack/builder.rb:120:in `map'
2011-05-25T00:59:27+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:18:in `block (2 levels) in <main>'
2011-05-25T00:59:27+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.0/lib/rack/builder.rb:51:in `instance_eval'
2011-05-25T00:59:27+00:00 app[web.1]: from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.0/lib/rack/builder.rb:51:in `initialize'
2011-05-25T00:59:27+00:00 app[web.1]: from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/bin/thin:6:in `<top (required)>'
2011-05-25T00:59:27+00:00 a
SilverBullet:davoku david$ git commit -m 'sprockets beta8'
[davoku 113be0e] sprockets beta8
2 files changed, 7 insertions(+), 5 deletions(-)
SilverBullet:davoku david$ git push heroku davoku:master
Counting objects: 10, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 818 bytes, done.
Total 7 (delta 5), reused 0 (delta 0)
d@code:~/cloudfoundry/vcap$ ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 23456 1620 ? Ss 10:12 0:01 init
111 1116 0.0 0.0 23432 916 ? Ss 10:12 0:00 dbus-daemon --system --fork
avahi 1131 0.0 0.1 34084 1588 ? S 10:12 0:00 avahi-daemon: running [code.local]
avahi 1134 0.0 0.0 33932 572 ? Ss 10:12 0:00 avahi-daemon: chroot helper
root 1169 0.0 0.1 21084 1016 ? Ss 10:12 0:00 cron
syslog 1258 0.0 0.0 12456 796 ? Ss 10:12 0:00 /sbin/syslogd -u syslog
mysql 1272 0.0 3.4 246580 32452 ? Ssl 10:12 0:00 /usr/sbin/mysqld
postgres 1320 0.0 0.6 101624 6600 ? S 10:12 0:00 /usr/lib/postgresql/8.4/bin/postgr
opyright (c) 2009-2011 VMware, Inc.
2 require 'fileutils'
3 require 'logging'
4 require 'socket'
5
6 # VMware's Cloud Application Platform
7
8 module VCAP
9
10 A_ROOT_SERVER = '198.41.0.4'