Skip to content

Instantly share code, notes, and snippets.

View aaccurso's full-sized avatar
🦾
🦿

Alan Accurso aaccurso

🦾
🦿
View GitHub Profile
@aaccurso
aaccurso / fb-verify.js
Last active August 29, 2015 13:58 — forked from danro/fb-verify.js
// modules
var inspect = require('eyes').inspector(),
b64url = require('b64url'),
crypto = require('crypto');
// app id & secret pairs -- https://developers.facebook.com/apps
var _config = {
// example
'123123123123123': 'b730a55f791275471f39ea702aee993b'
};
#! /usr/bin/python
from sys import argv
from os.path import exists
from os import makedirs
from os import symlink
from os import system
import getopt
#
if ($_SERVER['REMOTE_ADDR']=='127.0.0.1') {
define('WP_ENV', 'local');
} elseif ($_SERVER['HTTP_HOST']=='develop.project.com') {
define('WP_ENV', 'develop');
} elseif ($_SERVER['HTTP_HOST']=='master.project.com') {
define('WP_ENV', 'develop');
} else {
define('WP_ENV', 'production');
}
@aaccurso
aaccurso / gesture.js
Last active August 29, 2015 14:08 — forked from eguneys/gesture.js
'use strict';
define(['phaser'], function(Phaser) {
function Gesture(game) {
this.game = game;
this.swipeDispatched = false;
this.holdDispatched = false;
this.isTouching = false;