Written for Ubuntu LTS 10.4
$ sudo aptitude update $ sudo aptitude upgrade
#!/usr/bin/ruby | |
# encoding: utf-8 | |
# | |
# Updated 2017-10-25: | |
# - Defaults to large size (512) | |
# - If ImageMagick is installed: | |
# - rounds the corners (copped from @bradjasper, https://github.com/bradjasper/Download-iTunes-Icon/blob/master/itunesicon.rb) | |
# - replace original with rounded version, converting to png if necessary | |
# | |
# Retrieve an iOS app icon at the highest available resolution |
(function(global) { | |
var silpUrl = '//s3-eu-west-1.amazonaws.com/silp.shootitlive.com/js/silp.min.js'; | |
// Globals | |
if(!global.Silp) { global.Silp = {}; }; | |
var Silp = global.Silp; | |
// To keep track of which embeds we have already processed | |
if(!Silp.foundEls) Silp.foundEls = []; |
#!/usr/bin/env ruby | |
begin | |
require 'rubygems' if RUBY_VERSION =~ /^1\.8/ | |
require 'open4' | |
rescue LoadError | |
puts "Please install the `open4` gem" | |
exit 1 | |
end |
#!/usr/env ruby | |
base_dir = File.expand_path("../..", __FILE__) | |
NAME="faye" | |
PID="#{base_dir}/tmp/pids/#{NAME}.pid" | |
COMMAND="bundle exec rackup -s thin -E production -p 3001 faye.ru" | |
case ARGV[0] | |
when "start" |
Gems: | |
gem 'cucumber' | |
gem 'cucumber-rails' | |
gem 'rspec' | |
gem 'rspec-rails' | |
gem 'capybara' | |
gem 'database_cleaner' | |
gem 'spork' | |
gem 'watchr' |