Skip to content

Instantly share code, notes, and snippets.

View rxbynerd's full-sized avatar

@rubynerd rxbynerd

View GitHub Profile
require 'simple_worker'
class EncodePhoto < SimpleWorker::Base
merge_gem 'zencoder'
attr_accessor :photo_id, :unencoded_url
# The run method is what SimpleWorker calls to run your worker
def run
begin
# now override it
module Sass
module Version
def version
@@version = {
:major => 3,
:minor => 2,
:teeny => 0,
:name => nil
}
@rxbynerd
rxbynerd / about.md
Created August 9, 2011 14:13 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
@rxbynerd
rxbynerd / _gradients.css.scss
Created November 8, 2011 23:41 — forked from thbar/_gradients.css.scss
SCSS mixing for CSS3 gradients
@mixin gradient($from, $to) {
/* fallback/image non-cover color */
background-color: $from;
/* Firefox 3.6+ */
background-image: -moz-linear-gradient($from, $to);
/* Safari 4+, Chrome 1+ */
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from($from), to($to));