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
bot.setRGB(req.param('red'), req.param('green'), req.param('blue'), function(err, data) { | |
if(err) { | |
reply.error = new Error(err.message); | |
} else { | |
reply = data; | |
} | |
}); | |
res.send(reply); | |
return; |
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
9/27/12 7:33:29.514 PM Prototypes[7709]: error image 2: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo=0x111b28740 {NSUnderlyingError=0x115eb47f0 "The request timed out.", NSErrorFailingURLStringKey=https://prototypesapp.com/prototype-api/v1/image/0B6E79FC-CC19-4071-8D93-E5BDAD310BDB/7D17F5BA-B947-4CE4-BAB7-AA6559FC7B00, NSErrorFailingURLKey=https://prototypesapp.com/prototype-api/v1/image/0B6E79FC-CC19-4071-8D93-E5BDAD310BDB/7D17F5BA-B947-4CE4-BAB7-AA6559FC7B00, NSLocalizedDescription=The request timed out.} | |
9/27/12 7:42:48.442 PM Prototypes[7709]: error image 2: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo=0x10c9c56a0 {NSUnderlyingError=0x1267eacd0 "The request timed out.", NSErrorFailingURLStringKey=https://prototypesapp.com/prototype-api/v1/image/0B6E79FC-CC19-4071-8D93-E5BDAD310BDB/15941B37-8068-4A72-85A3-6091CF368346, NSErrorFailingURLKey=https://prototypesapp.com/prototype-api/v1/image/0B6E79FC-CC19-4071-8D93-E5BDAD310BDB/15941B37-8068-4A72-85A3 |
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
#!/bin/bash | |
# a post-receive hook for git servers to tar the current repo and send to s3 for backup | |
# save as 'post-receive' and put it in .git/hooks of desired repo(s), chmod +x | |
# assumes you have the s3cmd program installed and configured (sudo apt-get install s3cmd) | |
echo "thanks for the push. have a nice day." | |
# configure your S3BUCKET name, the rest should be automatic |
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
data:text/html;charset=utf-8, <html contenteditable><script>var t=prompt("What do you want to call this file?","TextEditor");document.title=t;</script> <link rel="shortcut icon" href="http://g.etfv.co/https://docs.google.com"/> <style> html{height: 100%;} body{background: -webkit-linear-gradient(#f0f0f0, #fff); padding: 3%; height: 94%;} .paper { font: normal 12px/1.5 "Lucida Grande", arial, sans-serif; width: 50%; height: 80%; margin: 0 auto; padding: 6px 5px 4px 42px; position: relative; color: #444; line-height: 20px; border: 1px solid #d2d2d2; background: #fff; background: -webkit-gradient(linear, 0 0, 0 100%, from(#d9eaf3), color-stop(4%, #fff)) 0 4px; background: -webkit-linear-gradient(top, #d9eaf3 0%, #fff 8%) 0 4px; background: -moz-linear-gradient(top, #d9eaf3 0%, #fff 8%) 0 4px; background: -ms-linear-gradient(top, #d9eaf3 0%, #fff 8%) 0 4px; background: -o-linear-gradient(top, #d9eaf3 0%, #fff 8%) 0 4px; background: linear-gradient(top, #d9eaf3 0%, #fff 8%) 0 4px; -webkit-background-size: 100% 20p |
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 geojson = { | |
"type": "Feature", | |
"properties": { | |
"ZCTA5CE10": "94117", | |
"GEOID10": "94117", | |
"CLASSFP10": "B5", | |
"MTFCC10": "G6350", | |
"FUNCSTAT10": "S", | |
"ALAND10": 4370658.0, | |
"AWATER10": 1625.0, |
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
/Applications/Adobe\ Photoshop\ CS6/Adobe\ Photoshop\ CS6.app/Contents/MacOS/Adobe\ Photoshop\ CS6 |
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
<div class="block"><img src="../../photos/12345678/90123456.jpg" /><div><div class="meta">Thursday, January 5, 2012 at 6:45pm PST</div><table class="meta"><tr><th>Upload IP Address</th><td>174.129.159.135</td></tr></table><div class="comment"><span class="user">Scott Breaux</span>Mike, what kind of filter are you using/or is it a setting? That's an amazing pic!<div class="meta">Monday, June 25, 2012 at 7:24pm PDT</div></div><div class="comment"><span class="user">Michael Owens</span>It's a combination of Camera+'s "Clarity" filter with Instagram's "Lux" and I believe the "Hefe" filter. It might have been "Sutro", though. Can't remember.<div class="meta">Monday, June 25, 2012 at 7:26pm PDT</div></div></div></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
In file included from ../src/batch.cc:5: | |
../node_modules/nan/nan.h:318:13: error: no member named 'New' in 'v8::String' | |
return _NAN_ERROR(v8::Exception::Error, errmsg); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../node_modules/nan/nan.h:298:50: note: expanded from macro '_NAN_ERROR' | |
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) | |
~~~~~~~~~~~~^ | |
../node_modules/nan/nan.h:322:5: error: no member named 'ThrowException' in namespace 'v8' | |
_NAN_THROW_ERROR(v8::Exception::Error, errmsg); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
I hereby claim:
- I am mko on github.
- I am mko (https://keybase.io/mko) on keybase.
- I have a public key whose fingerprint is A2AA 7EAD 4A71 2532 45E2 3134 7825 B087 2749 05DC
To claim this, I am signing this object:
OlderNewer