This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iframe src="http://www.slideshare.net/slideshow/embed_code/11846374?rel=0" width="427" height="356" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe> <div style="margin-bottom:5px"> <strong> <a href="https://www.slideshare.net/noahsussman/software-entomology-or-where-do-bugs-come-from" title="Software Entomology or Where Do Bugs Come From?" target="_blank">Software Entomology or Where Do Bugs Come From?</a> </strong> from <strong><a href="http://www.slideshare.net/noahsussman" target="_blank">Noah Sussman</a></strong> </div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title></title> | |
<script type='text/javascript' src="http://mbostock.github.com/d3/d3.js"></script> | |
<style type='text/css'> | |
.cell{ | |
stroke: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :rdoc do | |
desc "Generate RDocs for ZepInvest (exluding RESTful Authentication Plugin)" | |
task :generate do | |
puts "Generating RDocs for ZepInvest (exluding RESTful Authentication Plugin)" | |
`rdoc --exclude restful_authentication -o zepdocs ; open zepdocs/index.html` | |
puts "DONE!" | |
end | |
desc "Remove old docs and regenerate RDocs for ZepInvest (exluding RESTful Authentication Plugin)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :rdoc do | |
desc "Generate RDocs for ZepInvest (exluding RESTful Authentication Plugin)" | |
task :generate do | |
puts "Generating RDocs for ZepInvest (exluding RESTful Authentication Plugin)" | |
`rdoc --exclude restful_authentication -o zepdocs ; open zepdocs/index.html` | |
puts "DONE!" | |
end | |
desc "Remove old docs and regenerate RDocs for ZepInvest (exluding RESTful Authentication Plugin)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for multiline ruby statements in haml... | |
= { :foo => :bar, | | |
:baz => :foo, | | |
:quux => :zz}.inspect | | |
# the magical 'pipe' strikes again. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// round corners (base) | |
= border-radius(!radius = 10px) | |
-moz-border-radius= !radius | |
-webkit-border-radius= !radius | |
border-radius= !radius | |
// top rounded corners | |
= border-top-radius(!radius = 10px) | |
+border-top-left-radius(!radius) | |
+border-top-left-radius(!radius) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
RLSP_VERSION = "1.4.1" | |
class Lambda | |
attr_accessor :args, :body | |
def initialize(args=[],body="") | |
@args = (args.class == Array) ? args : [args] | |
@body = body | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function cssColor() { | |
var i, limit, number; | |
if (nexttoken.identifier) { | |
switch (nexttoken.value) { | |
case 'rgb': | |
limit = 3; | |
break; | |
case 'rgba': | |
limit = 4; | |
break; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# rebind C-a to C-l | |
escape ^Ll | |
log on | |
autodetach on | |
defutf8 on | |
defscrollback 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sys = require("sys"); | |
var http = require("http"); | |
var connections=[]; | |
function update() { | |
if (connections.length) { | |
connections.forEach(function(c) { | |
sys.puts(JSON.stringify(c)); | |
c.sendBody('oi\n'); |
OlderNewer