Skip to content

Instantly share code, notes, and snippets.

View kapowaz's full-sized avatar

Ben Darlow kapowaz

View GitHub Profile
merb : worker (port 4000) ~ Started request handling: Mon Aug 02 14:57:55 +0100 2010
merb : worker (port 4000) ~ Routed to: {"format"=>nil, "action"=>"show", "id"=>"30", "controller"=>"presentations"}
merb : worker (port 4000) ~ Params: {"format"=>nil, "action"=>"show", "id"=>"30", "controller"=>"presentations"}
~ (0.000089) SELECT "id", "oauth_token", "oauth_token_secret", "seed_name", "complete" FROM "installations" WHERE ("complete" = 't' AND "seed_name" = 'development') ORDER BY "id" LIMIT 1
merb : worker (port 4000) ~ undefined method `inserts' for #<Videojuicer::Resource::Collection:0x2702e28> - (NoMethodError)
/Users/bdarlow/Sites/videojuicer/vj-panel/app/views/presentations/_campaign_criteria.html.erb:27:in `__Users__bdarlow__Sites__videojuicer__vj__panel__app__views__presentations____campaign__criteria_html_erb'
/Users/bdarlow/.bundle/ruby/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/mixins/render.rb:326:in `send'
/Users/bdarlow/.bundle/ruby/1.8/gems/merb-core-1.1.3/lib/merb-core/controller/mix
$('div.notification.static a.iconbutton.close').click(function(){
$(this).blur();
notification = $(this).parent('div.notification');
ghost = $('<div class="ghost"></div>').css({
width: Math.round($(notification).width()),
height: Math.round($(notification).height()),
marginBottom: '10px'});
$(notification).fadeOut('fast',function(){
$(notification).after(ghost);
$(notification).remove();
var objDefaultOptions = {
alignment: 'left',
dismissable: true,
offset: -10,
content: '',
repeat: false,
duration: false
};
jQuery.fn.notification = function(objSuppliedOptions){
kapowaz@sequoia:~$ traceroute panthro.org
traceroute to panthro.org (87.194.36.213), 30 hops max, 40 byte packets
1 83-223-122-50.as29017.net (83.223.122.50) 1.555 ms 1.539 ms 1.435 ms
2 linx-gw1.betherenow.co.uk (195.66.224.232) 2.742 ms 2.717 ms 2.713 ms
3 10.1.2.162 (10.1.2.162) 650.825 ms 650.815 ms 650.777 ms
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
bdarlow@panthro:~/Sites/videojuicer/vj-panel-templates$ git push origin master
The authenticity of host 'hypnotoad.videojuicer.net (174.143.154.67)' can't be established.
RSA key fingerprint is 20:59:ad:bc:76:ef:ce:dc:69:6f:8e:34:73:ff:5c:ea.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'hypnotoad.videojuicer.net' (RSA) to the list of known hosts.
Initialized empty Git repository in /srv/gitosis/repositories/vj-panel-templates.git/
error: src refspec master does not match any.
error: failed to push some refs to 'git@hypnotoad.videojuicer.net:vj-panel-templates.git'
To prevent you from losing history, non-fast-forward updates were rejected.
Merge the remote changes before pushing again.
Dan Glegg: what i'm hoping is that the four-column thing is rammed home as a mnemonic device by the second slide
Ben Darlow: needs more glossy
Dan Glegg: lol
Ben Darlow: to subconsciously embed the idea that these columns are lubricated
Ben Darlow: and thus can be rammed home with ease
Dan Glegg: they are not lubricated
Dan Glegg: and yet they are rammed home anyway
Ben Darlow: THEY SHOULD BE
Ben Darlow: god
Ben Darlow: dry!
merb : worker (port 4000) ~ undefined method `excluded' for #<Videojuicer::Criterion::Geolocation:0x2801284> - (NoMethodError)
/Users/bdarlow/Sites/videojuicer/vj-panel/app/controllers/campaigns.rb:79:in `edit'
/Users/bdarlow/.gem/ruby/1.8/gems/merb-action-args-1.1/lib/merb-action-args/abstract_controller.rb:42:in `__send__'
/Users/bdarlow/.gem/ruby/1.8/gems/merb-action-args-1.1/lib/merb-action-args/abstract_controller.rb:42:in `_call_action'
/Users/bdarlow/Sites/videojuicer/vj-panel/app/controllers/application.rb:19:in `_call_action'
/Users/bdarlow/Sites/videojuicer/vj-panel/app/controllers/application.rb:39:in `call'
/Users/bdarlow/Sites/videojuicer/vj-panel/app/controllers/application.rb:39:in `with_installation'
/Users/bdarlow/Sites/videojuicer/vj-panel/../vj-sdk/lib/videojuicer/shared/configurable.rb:76:in `call'
/Users/bdarlow/Sites/videojuicer/vj-panel/../vj-sdk/lib/videojuicer/shared/configurable.rb:76:in `scope'
/Users/bdarlow/Sites/videojuicer/vj-panel/app/controllers/application.rb:38:in `with_inst
bdarlow@panthro:~/Sites/videojuicer/vj-panel$ merb -p 4000
Loading init file from /Users/bdarlow/Sites/videojuicer/vj-panel/config/init.rb
Loading /Users/bdarlow/Sites/videojuicer/vj-panel/config/environments/development.rb
String with :size option is deprecated, use String with :length instead
~ Connecting to database...
~ Parent pid: 1329
DataMapper::Resource.descendants is deprecated, use DataMapper::Model.descendants instead (/Users/bdarlow/.gem/ruby/1.8/gems/merb_datamapper-1.1/lib/merb_datamapper.rb:59:in `run')
~ Compiling routes...
~ Could not find resource model User
~ Could not find resource model Presentation
<div id="tumblog_tracker">
<ul>
<li>
<a target="_blank" title="Read this blog post" href="http://whiscprognotes.tumblr.com/post/184747488"/>
<p>
<a target="_blank" title="Read this blog post" href="http://whiscprognotes.tumblr.com/post/184747488">
The winner of the 2009 Wigmore Hall / Kohn Foundation International Song Competition is
<b> Marcus Farnsworth with Elizabeth Burgess</b>
.
</a>
# DOESN'T WORK FOR NO GOOD FUCKING REASON
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?url=$1 [L,QSA]