adduser deploy
ssh-copy-id -i ~/.ssh/deploy.pub deploy@example.com
aptitude install git
override func viewDidLoad() { | |
super.viewDidLoad() | |
// Do any additional setup after loading the view, typically from a nib. | |
var appDel:AppDelegate = UIApplication.sharedApplication().delegate as AppDelegate | |
var context:NSManagedObjectContext = appDel.managedObjectContext! | |
/* | |
var newUser = NSEntityDescription.insertNewObjectForEntityForName("Users", inManagedObjectContext: context) as NSManagedObject | |
newUser.setValue("Rob", forKey: "username") |
namespace :deploy do | |
namespace :assets do | |
desc 'Run the precompile task locally and rsync with shared' | |
task :precompile, :roles => :web, :except => { :no_release => true } do | |
%x{bundle exec rake assets:precompile} | |
%x{rsync --recursive --times --rsh=ssh --compress --human-readable --progress public/assets #{user}@#{location}:#{shared_path}} | |
%x{bundle exec rake assets:clean} | |
end | |
end | |
task :start do ; end |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
https://github.com/tadast/sublime-rails-snippets | |
https://github.com/elomarns/auto-encoding-for-ruby | |
https://github.com/CraigWilliams/BeautifyRuby | |
https://github.com/luqman/SublimeText2RailsRelatedFiles | |
https://github.com/kuroir/SCSS.tmbundle | |
https://github.com/phuibonhoa/handcrafted-haml-textmate-bundle | |
https://github.com/pavelpachkovskij/sublime-html-to-haml | |
http://xavura.github.com/CoffeeScript-Sublime-Plugin/ |