Public Gists by brianjlandau

Gravatar
Thu Oct 22 17:18:24 -0700 2009
1
2
3
require 'test/unit'
require 'mocha'
require 'shoulda'
gist: 186701 An archive of _why's blog p...
Gravatar
Mon Sep 14 07:56:43 -0700 2009
1
2
3
A Costly Parade
================
*by why the lucky stiff*
Gravatar
Sat Sep 05 11:16:49 -0700 2009
1
2
3
#!/usr/bin/env bash
 
if [ $1 = "clang" ]; then
gist: 179791 Deep freeze for enumerable ...
Gravatar
Wed Sep 02 09:05:20 -0700 2009
1
2
3
module Enumerable
  def deep_freeze
    unless self.is_a? String
gist: 176754 Rails Capistrano deploy usi...
Gravatar
Thu Aug 27 19:59:46 -0700 2009
1
2
3
# you'd obviously have more settings somewhere
set :scm, :git
set :repository, "git@github.com:defunkt/github.git"
Gravatar
Thu Aug 27 13:06:38 -0700 2009
1
2
3
Martin DeMello's Gooey Challenge
================================
[*Original URL:* http://hackety.org/2008/06/12/martinDemellosGooeyChallenge.html](http://hackety.org/2008/06/12/martinDemellosGooeyChallenge.html)
Gravatar
Mon Aug 24 11:42:15 -0700 2009
1
2
3
<div id="map"></div>
 
<div id="map-side-bar">
Gravatar
Mon Aug 24 11:40:23 -0700 2009
1
2
3
<div id="map"></div>
 
<div id="map-side-bar">
Gravatar
Tue Aug 18 11:12:55 -0700 2009
1
2
3
/*
 * jQuery UI Effects Transparent Highlight
 * by Brian Landau
gist: 153544 Allow access to MySQL5 comm...
Gravatar
Thu Jul 23 13:29:31 -0700 2009
1
2
3
for mysql_cmd in $(compgen -o nospace -A command mysql) ; do
if [ "${mysql_cmd%5}" != "$mysql_cmd" ]; then
alias "${mysql_cmd%5}"="$mysql_cmd"
Gravatar
Wed Jul 22 17:48:49 -0700 2009
1
2
3
--safe-updates, --i-am-a-dummy, -U
 
          Allow only those UPDATE and DELETE statements that specify which rows to modify by using key
Gravatar
Tue Jul 14 19:02:02 -0700 2009
1
2
3
<div id="map"></div>
 
<div id="map-side-bar">
Gravatar
Tue Jul 14 19:01:01 -0700 2009
1
2
3
<div id="map"></div>
 
<div id="map-side-bar">
Gravatar
Tue Jul 14 18:59:45 -0700 2009
1
2
3
<div id="map"></div>
 
<div id="map-side-bar">
Gravatar
Tue Jul 14 18:58:20 -0700 2009
1
2
3
<div id="map"></div>
 
<div id="map-side-bar">
Gravatar
Tue Jul 14 18:56:39 -0700 2009
1
2
3
<div id="map"></div>
 
<ul id="map-locations">
Gravatar
Tue Jul 14 18:55:08 -0700 2009
1
2
3
<div id="map"></div>
 
<div id="map-side-bar">
Gravatar
Mon Jul 06 11:19:08 -0700 2009
1
2
3
--- old_selenium_rc_server.rb 2009-07-06 14:11:57.000000000 -0400
+++ selenium_rc_server.rb 2009-07-06 14:12:18.000000000 -0400
@@ -30,7 +30,7 @@
Gravatar
Thu Jul 02 10:51:51 -0700 2009
1
2
3
if (GMap2){
  GMap2.prototype.centerAndZoomOnBounds = function(bounds) {
    this.setCenter(bounds.getCenter(), this.getBoundsZoomLevel(bounds));
Gravatar
Mon Jun 01 09:39:34 -0700 2009
1
2
3
(function($) {
  
  var addMethods = function(source) {