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) ~ 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
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!
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.
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 * * *
var objDefaultOptions = {
alignment: 'left',
dismissable: true,
offset: -10,
content: '',
repeat: false,
duration: false
};
jQuery.fn.notification = function(objSuppliedOptions){
$('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();
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
<html><head><title></title></head>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
function AddField(){
var d_name = $("#d_name").val();
var d_number = $("#d_number").val();
var field = $("#field").val();
@kapowaz
kapowaz / admin.html
Created March 2, 2011 14:37
An example of what you can do with CSS 3 in webkit browsers
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Admin Home</title>
<style type="text/css">
html, body { height:100%; margin:0; padding:0; }
body
{
@kapowaz
kapowaz / template_helpers.rb
Created January 19, 2012 17:14
Register .html as a template type within a Sinatra app by aliasing ERB
class MyApp < Sinatra::Base
Tilt.register Tilt::ERBTemplate, :html
module TemplateHelpers
def html(*args)
render :html, *args
end
end
helpers TemplateHelpers