Public Gists by carmelyne

Gravatar
Thu May 07 09:29:41 -0700 2009
1
2
3
Loading development environment (Rails 2.3.2)
>> @now = Time.zone.now
=> Thu, 07 May 2009 09:24:13 PDT -07:00
Gravatar
Mon May 04 07:44:02 -0700 2009
1
2
3
http://localhost:3000/468321590/2009/1/1
 
NoMethodError in ActivitiesController#index
Gravatar
Wed Mar 18 12:11:52 -0700 2009
1
2
3
<!-- place in <head> -->
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAZFJWpftMwgnCCqt4vPRS7BR1HFqmY0hOxpFWSoKSv_ILnU21AhRd8Ow1u23lsYZWN5Fo-iaQ72-icQ" type="text/javascript"></script>
 
Gravatar
Thu Feb 19 00:01:48 -0800 2009
1
2
3
==================
 
Fatal Error
Gravatar
Wed Feb 18 19:59:16 -0800 2009
1
2
3
# If cached file exists, serve it and stop processing
RewriteCond %{DOCUMENT_ROOT}/cache/%{HTTP_HOST}%{REQUEST_FILENAME} -f
RewriteRule ^(.*)$ /cache/%{HTTP_HOST}$1 [L]
Gravatar
Sun Feb 15 01:48:55 -0800 2009
1
2
3
::
[]
**
Gravatar
Sat Feb 14 20:18:12 -0800 2009
1
2
3
# more for routes
map.forgot_password '/forgot_password', :controller => 'users', :action => 'forgot_password'
map.reset_password '/reset_password', :controller => 'users', :action => 'reset_password'
Gravatar
Sat Feb 14 20:06:33 -0800 2009
1
2
3
Thank you!
 
<%= @user.login %>, your account has been activated.
Gravatar
Sat Feb 14 20:02:03 -0800 2009
1
2
3
class UserNotifier < ActionMailer::Base
  def signup_notification(user)
    setup_email(user)
Gravatar
Sat Feb 14 19:59:32 -0800 2009
1
2
3
# First, specify the Host that we will be using later for user_notifier.rb
HOST = 'http://www.yourrailsapp.com'
 
Gravatar
Sat Feb 14 19:25:57 -0800 2009
1
2
3
# email
validates_format_of :email, :with => /(^([^@\s]+)@((?:[-_a-z0-9]+\.)+[a-z]{2,})$)|(^$)/i
 
Gravatar
Sat Feb 14 19:17:44 -0800 2009
1
2
<%= stylesheet_tag 'my-site-wide-css' %>
<%= yield(:head_css) || (stylesheet_link_tag 'general_header_css') %>
Gravatar
Sat Feb 14 13:59:42 -0800 2009
1
2
3
cd /usr/local/src
curl -O http://umn.dl.sourceforge.net/sourceforge/ruby-ldap/ruby-ldap-0.9.7.tar.gz
tar xzvf ruby-ldap-0.9.7.tar.gz
Gravatar
Sun Feb 08 15:37:14 -0800 2009
1
2
3
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontscolors PUBLIC "-//NetBeans//DTD Editor Fonts and Colors settings 1.1//EN"
"http://www.netbeans.org/dtds/EditorFontsColors-1_1.dtd">
Gravatar
Sun Feb 08 15:34:37 -0800 2009
1
2
3
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontscolors PUBLIC "-//NetBeans//DTD Editor Fonts and Colors settings 1.1//EN"
"http://www.netbeans.org/dtds/EditorFontsColors-1_1.dtd">
Gravatar
Sun Feb 08 15:28:33 -0800 2009
1
2
3
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontscolors PUBLIC "-//NetBeans//DTD Editor Fonts and Colors settings 1.1//EN"
"http://www.netbeans.org/dtds/EditorFontsColors-1_1.dtd">
Gravatar
Sun Feb 08 09:56:06 -0800 2009
1
2
3
#############
# Colors #
#############
Gravatar
Sun Feb 08 09:36:22 -0800 2009
1
2
3
sudo port install git-core +svn
 
###########################################################
Gravatar
Thu Feb 05 02:46:09 -0800 2009
1
2
3
# from your local do:
mkdir example
cd example
Gravatar
Thu Feb 05 02:44:01 -0800 2009
1
2
3
# on the slice
mkdir ~/.ssh
chmod 700 ~/.ssh