This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var newsSlider = { | |
init: function(containerSelector, slidesSelector) { | |
if($(containerSelector)) | |
{ | |
if(slides = $(slidesSelector)) | |
{ | |
this.slideCount = $(slidesSelector).length; | |
$.each(slides,function(index,value) { | |
if($(value).css('display') == 'block') | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace YouTube; | |
class Video extends \EmergenceModel | |
{ | |
// support subclassing | |
static public $rootClass = __CLASS__; | |
static public $defaultClass = __CLASS__; | |
static public $subClasses = array(__CLASS__); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class RemoteEmergenceMedia extends EmergenceMedia | |
{ | |
static public $remoteStore = 'http://173.45.225.61/auth/media/json'; | |
static public $remoteKey = 'k1f6eZoIXNc6vJwrhDJaEWr4N'; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class RemoteActiveRecord extends ActiveRecord | |
{ | |
static public $remoteStore; | |
static public $remoteKey; | |
static public function getRecordByField($field, $value, $cacheIndex = false) | |
{ | |
$filter = array(array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**********************************************/ | |
/* | |
/* Coda Classic Dark by Henry Paradiz - 2012 | |
/* | |
/* For how to install, or more themes, check out: | |
/* http://darcyclarke.me/design/skin-your-chrome-inspector/ | |
/* | |
/* Color scheme is based on Panic's Coda Inverted Dark: | |
/* | |
/**********************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define('_DIGEST_PEPPER','PEPPER HERE'); | |
function digest($password, $stretches, $salt, $pepper) | |
{ | |
$digest = $pepper; | |
$x = 0; | |
while($x != $stretches) | |
{ | |
$data = array($digest,$salt,$password,$pepper); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* @Author Henry Paradiz [email protected] | |
* | |
* Ext.FormSerializer | |
* | |
* Converts HTML form element values to JavaScript Object, | |
* JSON, and HTTP GET compatible query string. | |
* | |
* Usage: | |
* | |
* new Ext.FormSerializer('formID').toObject(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Pretty Errors | |
* | |
* ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### | |
* | |
* WARNING! It is downright _DANGEROUS_ to use this in production, on | |
* a live website. It should *ONLY* be used for development. | |
* | |
* Pretty Errors allows the outside world to alter your project, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* SWFUpload adapter for Ext | |
* Author: Chris Alfano ([email protected]) - Sep 06,2009 | |
* Author: Henry Paradiz ([email protected]) - June 17, 2011 - Upgraded to Ext 4 | |
* | |
* See SWFUpload documentation: http://demo.swfupload.org/Documentation/#settingsobject | |
*/ | |
// REQUIRES THIS EXTERNAL FILE: //name: 'SWFUpload' | |
//,URL: '/jslib/SWFUpload/swfupload.js' // need to figure out how to dynamically load this with Extjs4 |
NewerOlder