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
<script> | |
jQuery(function() { | |
if ('undefined' !== typeof submenuItems) { | |
submenuItems.off(); | |
} | |
if ('undefined' !== typeof primaryItems) { | |
primaryItems.off(); | |
} | |
if ('undefined' !== typeof sidebar) { | |
sidebar.off(); |
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 projectName = 'main', | |
srcDir = './src', | |
gulp = require('gulp'), | |
exec = require('gulp-exec'); | |
gulp.task('serve', function() { | |
var opts = { continueOnError: true, pipeStdout: true }, | |
goCmd = 'sh -c "go run ' + __dirname + '/src/*.go&"', | |
killCmd = 'killall -q go ' + projectName; |
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
// File anahita/anahita/src/plugins/system/anahita.php | |
/** | |
* Remebers handling | |
* | |
* @return void | |
*/ | |
public function onAfterInitialise() | |
{ |
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 | |
/** | |
* @version $Id: request.php 4628 2012-05-06 19:56:43Z johanjanssens $ | |
* @package Koowa_Request | |
* @copyright Copyright (C) 2007 - 2012 Johan Janssens. All rights reserved. | |
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> | |
* @link http://www.nooku.org | |
*/ | |
// Filename: /vendor/anahita/anahita/vendor/nooku/libraries/koowa/request/request.php |
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 | |
/** | |
* LICENSE: ##LICENSE## | |
* | |
* @category Anahita | |
* @package Plugins | |
* @author Arash Sanieyan <ash@anahitapolis.com> | |
* @author Rastin Mehr <rastin@anahitapolis.com> | |
* @copyright 2008 - 2010 rmdStudio Inc./Peerglobe Technology Inc |
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
function script(url) { | |
if(Array.isArray(url)) { | |
var self = this, prom = []; | |
url.forEach(function(item) { | |
prom.push(self.script(item)); | |
}); | |
return Promise.all(prom); | |
} |
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
#!/bin/sh | |
git clone --depth=1 git://github.com/phalcon/cphalcon.git | |
cd cphalcon/build | |
sudo ./install | |
echo 'extension=phalcon.so' | sudo tee --append /etc/php5/mods-available/phalcon.ini > /dev/null | |
sudo ln -s /etc/php5/mods-available/phalcon.ini /etc/php5/cli/conf.d/30-phalcon.ini | |
sudo ln -s /etc/php5/mods-available/phalcon.ini /etc/php5/apache2/conf.d/30-phalcon.ini | |
sudo service apache2 restart |
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
[xdebug] | |
xdebug.remote_enable=1 | |
xdebug.remote_connect_back=1 | |
xdebug.idekey=PHPSTORM | |
xdebug.max_nesting_level=200 |
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
(function (global, undefined) { | |
"use strict"; | |
var document = global.document, | |
Alertify; | |
function getStyleRuleValue(style, selector, sheet) { | |
var sheets = typeof sheet !== "undefined" ? [sheet] : document.styleSheets; | |
for (var i = 0, l = sheets.length; i < l; i++) { | |
sheet = sheets[i]; |
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
private function __sandbox() | |
{ | |
set_error_handler(array($this, 'handleError'), E_WARNING | E_NOTICE); | |
$this->getStack()->push(clone $this); | |
//Extract the data in local scope | |
extract($this->_data, EXTR_SKIP); | |
// Capturing output into a buffer | |
ob_start(); |
OlderNewer