Public Gists by bryanstearns

gist: 178125 config/initializers/delayed...
Gravatar
Sun Aug 30 13:44:07 -0700 2009
1
2
3
# Conditionally delay outgoing mail
class DelayedMailerBase < ActionMailer::Base
  class << self
Gravatar
Sat Aug 22 20:28:11 -0700 2009
1
2
3
# In spite of the proscription at the end of Recipe 69, "Upload Custom Maintenance
# Pages" in Mike Clark's excellent Advanced Rails Recipes, I wanted to generate my
# maintenance page with the full awesome power of Rails (ok, well, I wanted to use
Gravatar
Thu Apr 09 00:28:33 -0700 2009
1
2
3
module EnumeratedAttributes
  def self.included(base)
    base.extend ClassMethods
gist: 75475 Auto-connect to OpenVPN. Se...
Gravatar
Sat Mar 07 14:47:27 -0800 2009
1
2
3
#!/usr/bin/python
#
# startvpn: Automatically connect to a VPN when associating with a