Public Gists by fesplugas

Gravatar
Wed Nov 25 06:08:22 -0800 2009
1
2
3
# If your workers are inactive for a long period of time, they'll lose
# their MySQL connection.
#
Gravatar
Fri Nov 13 09:33:13 -0800 2009
1
2
sudo jgem install rails --no-ri --no-rdoc
sudo jgem install jdbc-sqlite3 activerecord-jdbcsqlite3-adapter --no-ri --no-rdoc
Gravatar
Fri Nov 13 04:14:27 -0800 2009
1
2
3
global
  log 127.0.0.1 local0
  log 127.0.0.1 local1 notice
Gravatar
Fri Nov 13 02:37:22 -0800 2009
1
2
- [app_lego](http://github.com/lackac/app_lego) - A collection of Rails templates I use for projects
- [enkoder](http://github.com/freelancing-god/enkoder) - An extension to the Rails TextHelper module that can be used to protect email addresses (or other information) by obfuscating them using JavaS
Gravatar
Thu Nov 12 07:02:11 -0800 2009
1
2
3
class Object
 
  # Instead of having to translate strings and defining a default value:
Gravatar
Fri Nov 06 12:25:05 -0800 2009
1
2
3
require "mustache"
 
ActiveSupport::Dependencies.load_paths << Rails.root.join("app", "views")
Gravatar
Sat Oct 24 11:58:44 -0700 2009
1
2
3
# you'd obviously have more settings somewhere
set :scm, :git
set :repository, "git@github.com:defunkt/github.git"
gist: 145673 Remove duplicated emails on...
Gravatar
Sun Jul 12 08:43:28 -0700 2009
1
2
3
#! /usr/bin/perl -w
 
# Script to report on, and delete, email messages stored in mbox-like
gist: 122114 Send emails with Gmail.
Gravatar
Mon Jun 01 23:55:56 -0700 2009
1
2
3
require "openssl"
require "net/smtp"
Net::SMTP.class_eval do
gist: 86613 Typus application example.
Gravatar
Fri Mar 27 02:03:11 -0700 2009
1
2
3
##
# $ rails example.com -m http://tr.im/typus_example
##
gist: 81936 RAILSLOVE.com template.
Gravatar
Thu Mar 19 10:03:13 -0700 2009
1
2
3
# RAILSLOVE.com template
#
# with help and ideas from:
gist: 58831 Javascript code to convert ...
Gravatar
Thu Feb 05 09:01:50 -0800 2009
1
2
3
var DateHelper = {
  // Takes the format of "Jan 15, 2007 15:45:00 GMT" and converts it to a relative time
  // Ruby strftime: %b %d, %Y %H:%M:%S GMT
gist: 37115 Load externals in a Rails p...
Gravatar
Wed Dec 17 08:20:22 -0800 2008
1
2
3
namespace :externals do
 
  desc "List"
gist: 22019 Install ruby versions and c...
Gravatar
Mon Nov 03 15:25:03 -0800 2008
1
2
3
##
# Install gems for each Ruby version ... :(
#
gist: 14768 Experiment to extract trans...
Gravatar
Sat Oct 04 08:39:13 -0700 2008
1
<%= t("Today is {{value}}.", :value => Date.today) %>