Skip to content

Instantly share code, notes, and snippets.

View philnash's full-sized avatar
🦕

Phil Nash philnash

🦕
View GitHub Profile
alias update="git pull && (bundle check || bundle install) && rake db:migrate db:test:prepare && powder -r"
{
"binary_file_patterns":
[
"*.jpg",
"*.jpeg",
"*.png",
"*.gif",
"*.ttf",
"*.tga",
"*.dds",
@philnash
philnash / dabblet.css
Created May 21, 2012 23:37
CSS loading animation
/**
* CSS loading animation
*/
@keyframes fade{
from {
opacity:1;
}
to {
@philnash
philnash / placekitten.coffee
Created November 11, 2011 17:06
placekitten.coffee
# hubot kitten <width>x<height> - get a kitten image
module.exports = (robot) ->
robot.respond /kitten(\s\d+(x\d+)?)?$/i, (msg) ->
size = msg.match[1]
sizes = size.split('x') if size?
if sizes
if sizes.length > 1
width = sizes[0].trim()
height = sizes[1].trim()