Skip to content

Instantly share code, notes, and snippets.

View psahni's full-sized avatar
🏠
Working from home

Prashant psahni

🏠
Working from home
View GitHub Profile
@psahni
psahni / deploy.rb
Created August 24, 2012 13:15 — forked from markoa/deploy.rb
Ingredients to monitor Resque with God automatically via Capistrano (on Ubuntu)
namespace :deploy do
desc "Hot-reload God configuration for the Resque worker"
task :reload_god_config do
sudo "god stop resque"
sudo "god load #{File.join(deploy_to, 'current', 'config', 'resque-' + rails_env + '.god')}"
sudo "god start resque"
end
end
# append to the bottom:
@psahni
psahni / 01-intro.md
Last active August 29, 2015 14:14 — forked from dwayne/01-intro.md

Introduction

Author: Ari Lerner.

AngularJS offers a single framework that can be used to build dynamic, client-centric applications. It provides:

  • Module support
  • DOM manipulation
  • Animations
  • Templating