Public Gists by remvee

Gravatar
Mon Nov 23 01:03:30 -0800 2009
1
2
3
namespace :deploy do
  task :start, :roles => :app do
    sudo "mongrel_rails cluster::start -C #{mongrel_conf}"
Gravatar
Thu Nov 19 03:32:23 -0800 2009
1
2
3
# Methods to validate dutch social security numbers
# (burgerservicenummer) and back account numbers
# (bankrekeningnummers) using the "elf proef".
Gravatar
Thu Jun 18 08:12:39 -0700 2009
1
2
3
--- a/app/controllers/security.rb
+++ b/app/controllers/security.rb
@@ -10,7 +10,7 @@ module Security
Gravatar
Mon Apr 27 23:52:05 -0700 2009
1
2
3
(ns org.apache.http.examples
 "Basic HTTP Server.
A quick port of http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore/src/examples/org/apache/http/examples/ElementalHttpServer.java to Clojure"
gist: 69476 font-zoom.el
Gravatar
Tue Feb 24 00:53:08 -0800 2009
1
2
3
;; Font zooming with Hyper--/=/0 for Mac
;; Inspired by: http://www.emacswiki.org/cgi-bin/wiki/CycleFontSizes
 
Gravatar
Fri Nov 14 07:40:34 -0800 2008
1
javascript:(function(){var%20d=document;t=d.createElement(%22style%22);t.appendChild(d.createTextNode(%22*{line-height:2}%22));d.getElementsByTagName(%22head%22)[0].appendChild(t)})();
Gravatar
Thu Oct 30 08:04:04 -0700 2008
1
2
3
class ActiveRecord::Base
  class << self
    def inherited_with_map_all_shortcut(child)
Gravatar
Sat Oct 11 07:25:32 -0700 2008
1
2
3
;; Mac like bindings
(setq mac-command-modifier 'alt mac-option-modifier 'meta)
(global-set-key (kbd "A-n") 'make-frame)
Gravatar
Wed Sep 24 01:39:39 -0700 2008
1
2
3
--- a/twit.el
+++ b/twit.el
@@ -534,7 +534,10 @@ It is in the format of (timestamp user-id message) ")
gist: 12500 Emacs interface for twitter...
Gravatar
Wed Sep 24 00:36:37 -0700 2008
1
2
3
;;; Twit.el --- interface with twitter.com
 
;; Copyright (c) 2007 Theron Tlax
Gravatar
Thu Sep 11 06:48:27 -0700 2008
1
2
3
enable running of single test file in rails 2.1
 
diff --git a/rails-test.el b/rails-test.el
Gravatar
Thu Sep 11 06:48:26 -0700 2008
1
2
3
enable running of single test file in rails 2.1
 
diff --git a/rails-test.el b/rails-test.el
gist: 6907 GenericController
Gravatar
Sat Aug 23 03:53:00 -0700 2008
1
2
3
# Base for restful controllers.
class GenericController < ApplicationController
  def initialize