I hereby claim:
- I am omarkj on github.
- I am omarkj (https://keybase.io/omarkj) on keybase.
- I have a public key whose fingerprint is 711D B937 EBAF E274 F820 A11D A55A 9808 8B30 41FB
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function heroku { | |
if [[ $* != *-a* ]]; then | |
echo "Specify an app with --app/-a" | |
else | |
heroku $* | |
fi | |
} |
I hereby claim:
To claim this, I am signing this object:
exec([fun fun1/3, fun fun2/4, fun fun3/1], [Arg1, Arg2, Arg2]).
fun1(Arg1, Arg2, Arg3) ->
P = proplists:get_value(p, Arg1),
{ok, [P, Arg1, Arg2, Arg3]}.
fun2(P, Arg1, Arg2, Arg3) ->
do_stuff(P, Arg1, Arg2),
{ok, [Arg3]}.
#!/usr/bin/env node | |
const http = require('http'); | |
const bind = '127.0.0.1'; | |
const port = 8081; | |
const port_map = | |
{'Kinesis': 4567, 'DynamoDB': 8000}; | |
http.createServer((req, res) => { | |
var amz_target = req.headers['x-amz-target'].split('_')[0]; | |
var proxy_req_opts = { | |
host: '127.0.0.1', |
{"slug":"testapp1-1470245742996", | |
"name":"testApp1", | |
"preferences": {"categories": [ | |
{"name":"Likes","matches":["(.*) liked your photo"],"example":"Barry liked your photo"}, | |
{"name":"New Users","matches":["Your Facebook friend (.*) is on Instagram as (.*)."],"example":"Your Facebook friend Barry Jones is on Instagram as barry_jones."}, | |
{"name":"Breaking","matches":["Breaking: (.*)"],"example":"Breaking: The end of the world has arrived"} | |
]}} |