Public Gists by rafaelss

Gravatar
Sat Nov 07 17:43:54 -0800 2009
1
2
3
$ script/performance/benchmarker 50 'Date.new(2009, 1, 1)'
            user system total real
#1 0.000000 0.000000 0.000000 ( 0.001889)
Gravatar
Tue Sep 22 11:57:08 -0700 2009
1
2
3
rafaelss@theta:~/search$ cat eddie.log
Sphinx 0.9.9-id64-rc1 (r1566)
Copyright (c) 2001-2008, Andrew Aksyonoff
Gravatar
Wed Sep 16 05:57:11 -0700 2009
1
2
3
# instead
@object_1.reload
@object_2.reload
Gravatar
Sun Sep 13 17:50:47 -0700 2009
1
2
3
function limitChars(textarea, limit, infodiv) {
  $(textarea).observe("keyup", function(event) {
    var text = $F(event.element());
Gravatar
Wed Jul 29 11:23:26 -0700 2009
1
2
3
anemone.focus_crawl do
  Anemone::Page.fetch("http://www.someurl.com/searchpage/", 'some=params&to=search').links
end
Gravatar
Sat Jul 11 17:27:43 -0700 2009
1
2
3
namespace Helper
{
    public static class Convert
Gravatar
Tue Jun 30 08:53:41 -0700 2009
1
2
3
using System.Web.Mvc;
 
/*
Gravatar
Mon Jun 08 12:27:26 -0700 2009
1
2
3
<?php
class Callable {
 
Gravatar
Mon Apr 27 12:11:26 -0700 2009
1
2
3
<!-- JEITO FEIO E BOBO -->
 
<a href="javascript:void(0);">texto do link</a>
Gravatar
Tue Feb 17 18:47:49 -0800 2009
1
2
3
# extracted from
# http://www.codecodex.com/wiki/index.php?title=Round_a_number_to_a_specific_decimal_place#Ruby
class Float
Gravatar
Fri Dec 05 18:56:03 -0800 2008
1
sqlite3 twibot.db 'CREATE TABLE statuses (id INTEGER PRIMARY KEY, status_id VARCHAR NOT NULL)'
Gravatar
Wed Sep 17 11:09:20 -0700 2008
1
SET CHARACTER SET utf8
gist: 11035 Strange behavior of PDO::FE...
Gravatar
Tue Sep 16 06:40:18 -0700 2008
1
2
3
<?php
class Project {
 
gist: 8426 Example of new PHP6 syntax
Gravatar
Tue Sep 02 09:10:42 -0700 2008
1
2
3
<?php
function html($closure) {
    return tag('html', func_get_args());
Gravatar
Wed Aug 27 16:36:18 -0700 2008
1
2
3
require 'rubygems'
require 'sinatra'
require 'hpricot'
Gravatar
Fri Aug 08 19:07:31 -0700 2008
1
2
3
<?php
class ActiveRecord {