Skip to content

Instantly share code, notes, and snippets.

cafreamoroso

Block or report user

Report or block cafreamoroso

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:2859426
<?
/*
* Majestic SDK skeleton;
* provides a central point for accessing majestic environments and other configurations.
*/
class Majestic {
const STAGING_HOST = 'fbsocialapp.co';
View gist:2859040
ahitrol<?
class PushWebservice extends WebService {
const publish_key = 'pub-97f307a9-9106-4f70-9669-1f39baebaf4b';
const subscribe_key = 'sub-e7711140-84c5-11e1-9cee-cb71e91be0d6';
public $user;
public $user_id;
@cafreamoroso
cafreamoroso / gist:2342509
Created Apr 9, 2012
ShimLink Link Protector
View gist:2342509
ShimLink = {
_hosts: {
your: 'your.host.com',
another: 'another.host.com',
www: 'www.host.com',
tld: 'host.com',
@cafreamoroso
cafreamoroso / gist:2225560
Created Mar 28, 2012
Universe Code -- Code i used for creating this Universe, should refactor it one day.
View gist:2225560
Changelog
1.0:: Quick created after spawning on the totally uncertainty.
1.1:: Added punishment, 1.0 didn't have anything like that so it went to shit pretty soon.
TODO:
1.0:: Refactor whole thing to not spawn so many universes, they are basically the same.
You can’t perform that action at this time.