I hereby claim:
- I am tiagopassinato on github.
- I am tiagopassinato (https://keybase.io/tiagopassinato) on keybase.
- I have a public key ASAg0YMgervOGTPEuSwZtXy2LWRLKi7a0L9GggShHaWZpQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
[ | |
{ "name": "Afghanistan", "code": "AF", "postal": true }, | |
{ "name": "Åland Islands", "code": "AX", "postal": true }, | |
{ "name": "Albania", "code": "AL", "postal": true }, | |
{ "name": "Algeria", "code": "DZ", "postal": true }, | |
{ "name": "American Samoa", "code": "AS", "postal": true }, | |
{ "name": "AndorrA", "code": "AD", "postal": true }, | |
{ "name": "Angola", "code": "AO", "postal": false }, | |
{ "name": "Anguilla", "code": "AI", "postal": true }, | |
{ "name": "Antarctica", "code": "AQ", "postal": true }, |
/** | |
* Preventing dead-locks, using async-lock by key | |
*/ | |
var AsyncLock = require('async-lock'); | |
var lock = new AsyncLock(); | |
function operation(id) { | |
console.log(id + " calling operation"); | |
lock.acquire(id, function(done) { |
<?php | |
/** | |
* Logs all requests (Post, Json, etc.) | |
*/ | |
$logFile = '../logs/flow.log'; | |
$postdata = $_SERVER['REQUEST_URI']."\n".file_get_contents('php://input'); | |
if($_POST) |
#!/bin/bash | |
echo "Creating VHOST $1" | |
echo "Creating folder /home/sites/$1" | |
mkdir /home/sites/$1 | |
echo "Log dir & Public HTML" | |
mkdir /home/sites/$1/logs | |
mkdir /home/sites/$1/htdocs | |
mkdir /home/sites/$1/cgi-bin | |
echo "VHOST Files" |