This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Apply to Shopify API # | |
Interested in working at Shopify? Don't use that form, you're a | |
developer and can clearly do better than that! | |
Instead you can apply to Shopify via our applicant API. Of course, | |
for the extra effort you will be given a higher priority than those | |
who simply apply via the webform. | |
# How? # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js'></script> | |
<script> | |
$(document).ready(function(){ | |
function debug(str){ $("#debug").append("<p>" + str + "</p>"); }; | |
function send_msg_string(str) { | |
$("#msg").append("<p>[ OUT ]"+str+"</p>"); | |
ws.send(str+"\n"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ENV["WATCHR"] = "1" | |
system 'clear' | |
def growl(message) | |
growlnotify = `which growlnotify`.chomp | |
title = "Watchr Test Results" | |
image = message.include?('0 failures, 0 errors') ? "~/.watchr_images/passed.png" : "~/.watchr_images/failed.png" | |
options = "-w -n Watchr --image '#{File.expand_path(image)}' -m '#{message}' '#{title}'" | |
system %(#{growlnotify} #{options} &) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var DateHelper = { | |
// Takes the format of "Jan 15, 2007 15:45:00 GMT" and converts it to a relative time | |
// Ruby strftime: %b %d, %Y %H:%M:%S GMT | |
time_ago_in_words_with_parsing: function(from) { | |
var date = new Date; | |
date.setTime(Date.parse(from)); | |
return this.time_ago_in_words(date); | |
}, | |
time_ago_in_words: function(from) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run "rm public/index.html" | |
git :init | |
plugin "rspec", :git => "git://github.com/dchelimsky/rspec.git", :submodule => true | |
plugin "rspec-rails", :git => "git://github.com/dchelimsky/rspec-rails.git", :submodule => true | |
plugin "exception-notifier", :git => "git://github.com/rails/exception_notification.git", :submodule => true | |
plugin "restful-authentication", :git => "git://github.com/technoweenie/restful-authentication.git", :submodule => true | |
plugin "semantic-form-builder", :git => "git://github.com/rubypond/semantic_form_builder.git", :submodule => true | |
plugin "paperclipped", :git => "git://github.com/kbingman/paperclipped.git", :submodule => tru | |