I hereby claim:
- I am eriknomitch on github.
- I am eriknomitch (https://keybase.io/eriknomitch) on keybase.
- I have a public key whose fingerprint is 8C57 5493 091C 8137 917C DC98 B69A B500 E604 2BBA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Downloading ruby-2.1.1.tar.gz... | |
-> http://dqw8nmjcqpjn7.cloudfront.net/e57fdbb8ed56e70c43f39c79da1654b2 | |
Installing ruby-2.1.1... | |
BUILD FAILED | |
Inspect or clean up the working tree at | |
/var/folders/gt/p9gcc3mx36104jplq02qcrwh0000gn/T/ruby-build.20140521110828.13171 | |
Results logged to | |
/var/folders/gt/p9gcc3mx36104jplq02qcrwh0000gn/T/ruby-build.20140521110828.13171.log |
/var/folders/gt/p9gcc3mx36104jplq02qcrwh0000gn/T/ruby-build.20140521110828.13171 ~/.repositories/prelang-gem | |
HTTP/1.1 200 OK | |
Content-Type: binary/octet-stream | |
Content-Length: 15092388 | |
Connection: keep-alive | |
Date: Wed, 09 Apr 2014 02:26:36 GMT | |
Last-Modified: Mon, 24 Feb 2014 13:08:59 GMT | |
ETag: "e57fdbb8ed56e70c43f39c79da1654b2" | |
Accept-Ranges: bytes | |
Server: AmazonS3 |
def self.user_types | |
[:candidate, :influencer, :employee] | |
end | |
User.user_types.each do |user_type| | |
define_method "#{user_type}?" do | |
!!send(user_type) | |
end | |
end |
function evalCS(source) { | |
// Compile source to Coffeescript (Array) | |
var coffeescript = CoffeeScript.compile(source.toString()).split("\n"); | |
// Prepend 'debugger' | |
coffeescript[1] = "debugger;" + coffeescript[1]; | |
// Join and eval | |
eval(coffeescript.join("\n")); |
#!/bin/zsh | |
micro_host_suffixes=('white' 'green' 'orange') | |
for suffix in $micro_host_suffixes; do | |
echo -n "micro-$suffix... " | |
silence ssh -o "ConnectTimeout 10" micro-$suffix true && echo up || echo down | |
done |
#!/bin/zsh | |
# ================================================ | |
# PREPEND ======================================== | |
# ================================================ | |
# Prepends a string to a target file | |
# ------------------------------------------------ | |
# TRAP->TERM ------------------------------------- | |
# ------------------------------------------------ | |
trap "exit 1" TERM |
$.ajax({ | |
type: "GET", | |
url: "/pages/ajax", | |
data: {foo: prompt("What is foo?")}, | |
success: function(data) { | |
$("title").html(data); | |
} | |
}); |
# In concepts.js | |
function newTag (){ | |
$.ajax({ | |
type: "POST", | |
url: "/tags/create", | |
data: {"tag[seconds]": player.getCurrentTime(), "concept_name": "Cross Product"}, | |
success: function(data) { | |
alert("supposed success:"+data); | |
} |
(defclass checker () | |
((x :accessor checker-x | |
:initarg :x) | |
(y :accessor checker-y | |
:initarg :y) | |
(color :accessor checker-color | |
:initarg :color) | |
(king :accessor checker-king | |
:initarg :king | |
:initform nil))) |