Skip to content

Instantly share code, notes, and snippets.

View paulca's full-sized avatar

Paul Campbell paulca

View GitHub Profile
jQuery.valitito = {}
jQuery.fn.valid = ->
delete jQuery(@).data()['valid']
jQuery(@).trigger('validate')
if jQuery(@).find('input').length
for input in jQuery(jQuery(@).find('input'))
if !$(input).valid()
jQuery(@).data('valid', false)
break
  • All sessions are 30 minutes long
  • There will be no Q/A (a.k.a: please hang out with the attendees at our awesome bar and hack with them on any questions that might come up)
  • You must use our presenters computer
  • There will be a presenter remote
  • Your slides must be 1440x1080px

I know that not using your own computer can be painful but I will go length to install everything under the sun to make you feel as comfortable on that machine as possible.

Paul Campbell
?OTR:AAIDAQAAACMAAAAjAAAAwL85CvQHK3DrB/A8p17F7VO47pdsSvrPTtkKQWXezT5n8GDXNR3lN5fuq9PGDZBp7H+AV2UMoK4LvFYwCDQ2wYvAqz8OMHYyd+gxGdScG7xHYbu2YPTC1xKzvOLOrscgaA9Rt4CD/9dPxgxYOXnsZb0FfB2jRWxSdN4G0Qquq3kqhkymD9c//cE76rgOvEzUQY/AQPE1X8zbqFizDkRRDbop80uObFOtS5cJnJ/6FGD1j9Oat5kehmDh1lE1O1nxNQAAAAAAAAACAAAABaRhW0DRmQ0b3pH/ZzcB4COO4brQvpaB2kIAAAAA.
?OTR?v2?
2 has requested an Off-the-Record private conversation <http://otr.cypherpunks.ca/>. However, you do not have a plugin to support that.
See http://otr.cypherpunks.ca/ for more information.
Thorben Schröder
?OTR:AAICAAAAxJ/JGC7epq60TyPi76K6XJEqpQngXwhyDF8rxvuPmTHXSDLzgvYlLleRCk8Dpr0qXX+ShJ8sXKGUsVIJEuSTZ5oolpk0edYp5UyaNG1XwPl/aweoGtJ1t2P/FPrTC4V65TE+oPsBzCxTlYUWxjssFb10Fgcrc8URd1lQuL6kZYNe5Ac8vLaqZmoE6lkR99fKf9WKNUzY8wRen+5rrEGS4IZbXR3H1+aHpHZOeYlrQSy/sfKDKF1/WZwjn61ZxEsYxvuCPboAAAAgIHEeZ0Ms1qxevLWf1dde2xHwYSUblbPiqVUkzTcBhRA=.
Paul Campbell
?OTR:AAIKAAAAwNJffgVF2/TREdmt7622wFeMtMweK3NQsk8QRGPAXzjG88G1YJtJ35rRsozbk44J9VnwD7sQbkt1yfL29QwbE1cEP4ak/ayk

Ship It! Monday


Ship It! Monday is a celebration of making things. Bring something you made and tell the world about it.

Why you’d want to come:

  • to learn about new things and how they were made
  • to hang out with other people who are making things
  • Because, shipping!
class Router
extend Just::Router
resources :posts
end
class Post
include Just::Model
end
@paulca
paulca / .ey-example
Created February 20, 2012 22:46
Quick Deploy for Rails 3.1 on Engine Yard Cloud
# Place this file in the root of your project directory
# eg. APPNAME=tito
APPNAME=
# eg. APP_SERVERS=(deploy@app1.tito.io deploy@app2.tito.io)
APP_SERVERS=()
# eg. CACHE_DIRS=(public/cache)
CACHE_DIRS=()
Paul-Campbells-MacBook-Air:~ paul$ whois úll.ie
% Dot IE domain names must:
-be less than 66 characters in length, including the '.ie' characters
-not start with a hyphen '-'
-not have a label ending in a hyphen before the '.ie' e.g. 'xyz-.ie'
@paulca
paulca / dsl.coffee
Created November 25, 2011 14:55 — forked from jed/dsl.coffee
example dsl
html lang: en,
head {},
title "Hello, world."
meta charset: "utf8"
body {},
div id: "container"
"Welcome to my website."
@paulca
paulca / gist:1367165
Created November 15, 2011 14:10
Paul
...................................................................................................................... . ..........
................................ ...........................................................................................
..............................................................................................................................
...................................... ................................... ............................................... .
...................................... ................................. ............................................ .
@paulca
paulca / eason_book_spec_after.rb
Created January 15, 2011 12:56
refactoring using let, subject and its
require 'spec_helper'
describe EasonBook do
describe ".load!" do
let(:house_at_riverton_item) { Item.find_by_barcode(9780330448444) }
let(:house_at_riverton) { EasonBook.find(9780330448444) }
before(:each) do
# set a category mapping
CategoryMapping.create!({:system_name => 'eason',