Skip to content

Instantly share code, notes, and snippets.

View paulca's full-sized avatar

Paul Campbell paulca

View GitHub Profile
@paulca
paulca / keybase.md
Created February 20, 2018 11:27
keybase.md

Keybase proof

I hereby claim:

  • I am paulca on github.
  • I am paulca (https://keybase.io/paulca) on keybase.
  • I have a public key ASD4lq2sJQ__hJk-Lf-pDqZ7I8B4dp6FAHw5fBA80kBORgo

To claim this, I am signing this object:

@paulca
paulca / donnybrook-hotel-observation.md
Last active January 23, 2018 21:14
Donnybrook Hotel Observation

To whom it may concern,

Myself and my wife, Ciara, would like to add our voices to those observing against the proposed development at 1–3 The Crescent in Donnybrook.

As residents in the area for the past 12 years, we have no objection in principle to the establishment of a new hotel. A case in point is the Hampton Hotel, which provides local amenity, is set back from the road and is delightfully in keeping with the rest of the village.

The proposed designs appear to have been put together without any consideration for the aesthetic, the history and the preservation of the spirit of Donnybrook Village.

It feels like the proposed development has been designed in a vacuum, and there is nothing in the plans to reflect how the architects sought to marry the legacy of the existing village with their vision for the future.

def display_date_or_range(event, sup = true, html = true, short = false)
return if event.start_date.blank? and event.end_date.blank?
if event.single_day?
if short
out = event.start_date.strftime("%b")
else
out = event.start_date.strftime("%B")
end
out << " "
@paulca
paulca / text
Created November 29, 2013 14:37
- [ ] one
- [ ] two
- [ ] three
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=()