I hereby claim:
- I am david-torres on github.
- I am detour (https://keybase.io/detour) on keybase.
- I have a public key ASAfJq14-bdH5FUHOCLONuhlQCqd9FDSwoVDIsWT2P4newo
To claim this, I am signing this object:
| # | |
| # CORS header support | |
| # | |
| # One way to use this is by placing it into a file called "cors_support" | |
| # under your Nginx configuration directory and placing the following | |
| # statement inside your **location** block(s): | |
| # | |
| # include cors_support; | |
| # | |
| # As of Nginx 1.7.5, add_header supports an "always" parameter which |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| $hexValues = array( | |
| dechex(10), // a | |
| dechex(42), // 2a | |
| dechex(111), // 6f | |
| dechex(78), // 4e | |
| dechex(16) // 10 | |
| ); | |
| usort($hexValues, function($a, $b){ |
| function db_exists(db_name) { | |
| db = db.getSiblingDB('admin'); | |
| db.runCommand('listDatabases').databases.forEach(function(db_entry){ | |
| if (db_entry.name == db_name) { | |
| // quit with exit code zero if we found our db | |
| quit(0); | |
| } | |
| }); | |
| // quit with exit code 1 if db was not found |
| MOAISim.openWindow('test', 320, 480) | |
| viewport = MOAIViewport.new() | |
| viewport:setSize(320, 480) | |
| viewport:setScale(320, 480) | |
| layer = MOAILayer2D.new() | |
| layer:setViewport(viewport) | |
| MOAISim.pushRenderPass(layer) |
| import requests | |
| import json | |
| class Diffbot(object): | |
| """ | |
| A simple Python interface for the Diffbot api. | |
| Relies on the Requests library - python-requests.org | |
| Usage: |
| import requests | |
| import json | |
| class ClickyApi(object): | |
| """ | |
| A simple Python interface for the Clicky web analytics api. | |
| Relies on the Requests library - python-requests.org | |
| Usage: |
| import base64 | |
| import hmac | |
| import hashlib | |
| import urllib | |
| import urllib2 | |
| import time | |
| from datetime import datetime, tzinfo | |
| from xml.dom import minidom | |