I hereby claim:
- I am clone1018 on github.
- I am clone1018 (https://keybase.io/clone1018) on keybase.
- I have a public key whose fingerprint is 5C32 41F4 18F8 A50C 4FB8 CF1B D232 97EB DE01 90AE
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<!-- | |
Hello future GitHubber! I bet you're here to remove those nasty inline styles, | |
DRY up these templates and make 'em nice and re-usable, right? | |
Please, don't. https://github.com/styleguide/templates/2.0 | |
--> |
- name: Heroku | |
apps: | |
- name: gittip | |
- name: gittip-dev | |
- name: building-gittip-com | |
- name: roobot-test | |
- name: roobot-prod | |
- name: GitHub | |
apps: | |
- name: gittip/www.gittip.com |
<?php | |
class AjaxController extends ABaseControllerThatAddsHelperAPIMethods { | |
public function __construct() { | |
$this->requireAuth(array('getStatus')); | |
} | |
... |
diff --git a/Vagrantfile b/Vagrantfile | |
index ebba320..262d8d7 100644 | |
--- a/Vagrantfile | |
+++ b/Vagrantfile | |
@@ -20,7 +20,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box_url = File.exist?("gittip.box") ? "file://gittip.box" : "http://downloads.gittipllc.netdna-cdn.com/gittip.box" | |
# Sync the project directory and expose the app | |
- config.vm.synced_folder ".", "/home/vagrant/#{PROJECT_DIRECTORY}" | |
+ config.vm.network "private_network", ip: "172.133.83.57" |
[core] | |
symlinks = false | |
autocrlf = true | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = true | |
[pack] | |
packSizeLimit = 2g |
<?php | |
function splitAddress($address, $width = 35) { | |
if (strlen($address) < $width) | |
return array('address1' => $address, 'address2' => null); | |
$string = wordwrap($address, $width); | |
$full = explode("\n", $string); | |
$address1 = $full[0]; | |
$address2 = $full[1]; |
for(col=0x0;col<=0xFFF;col++) { | |
setColor(col); | |
setTimeout(function(){}, 1000); | |
} | |
function setColor(color) { | |
var xmlhttp = XMLHttpRequest(); | |
xmlhttp.open('GET', 'http://colors.9k1.us/set?bg=' + color, true); | |
xmlhttp.send(); |
var interval = setInterval(function() { | |
ws.send(rgbToHex(getRandomInt(0,255),getRandomInt(0,255),getRandomInt(0,255))); | |
}, 1000); | |
function componentToHex(c) { | |
var hex = c.toString(16); | |
return hex.length == 1 ? "0" + hex : hex; | |
} | |
function rgbToHex(r, g, b) { |
$ bin/nimrod c koch | |
config/nimrod.cfg(37, 2) Hint: added path: '/home/clone1018/.babel/pkgs/' [Path] | |
Hint: used config file '/home/clone1018/tmp/Nimrod/config/nimrod.cfg' [Conf] | |
Hint: used config file 'koch.nimrod.cfg' [Conf] | |
Hint: system [Processing] | |
lib/system.nim(2721, 33) Warning: unknown magic 'Rand' might crash the compiler [UnknownMagic] | |
lib/system.nim(2721, 5) Error: implementation of 'system.rand(max: int): int' expected |