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
try { | |
if (komodo.view.scintilla) { komodo.view.scintilla.focus(); } | |
var currentPos = komodo.editor.currentPos; | |
var ke = komodo.editor; | |
var file = komodo.interpolate('%F'); | |
var php = komodo.interpolate('%(php)'); | |
var script = "/usr/local/zend/bin/php_beautifier"//this can be changed to the path of php_beautifier, install using PEAR | |
var cmd = script+" --filters='ArrayNested()' "+file; // add options dialog? | |
StatusBar_AddMessage("Beautifying "+file,"editor",5000,true); |
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
chmod -R 777 config/ | |
chmod -R 777 cache/ | |
chmod -R 777 log/ | |
chmod -R 777 img/ | |
chmod -R 777 mails/ | |
chmod -R 777 modules/ | |
chmod -R 777 themes/ | |
chmod -R 777 translations/ | |
chmod -R 777 upload/ | |
chmod -R 777 download/ |
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
rm -rf install | |
mv admin admin123 |
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
#Homepage: / | |
** SIEGE 2.70 | |
** Preparing 100 concurrent users for battle. | |
The server is now under siege... | |
Lifting the server siege... done. | |
Transactions: 3542 hits | |
Availability: 100.00 % | |
Elapsed time: 59.98 secs | |
Data transferred: 17.63 MB |
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
//Mage_Catalog_Block_Navigation:: | |
public function getCacheKeyInfo(){ | |
$shortCacheId = array( | |
'CATALOG_NAVIGATION', | |
Mage::app()->getStore()->getId(), | |
Mage::getDesign()->getPackageName(), | |
Mage::getDesign()->getTheme('template'), | |
// Mage::getSingleton('customer/session')->getCustomerGroupId(), | |
'template' => $this->getTemplate(), | |
'name' => $this->getNameInLayout(), |
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
cp htaccess.txt .htaccess | |
echo "php_value memory_limit 1G" >> .htaccess | |
echo "php_value error_reporting 512" >> .htaccess | |
chmod 777 config.inc.php | |
chmod o+w tabdata.php | |
chmod o+w install.php | |
chmod o+w parent_tabdata.php | |
chmod -R o+w cache/ | |
chmod -R o+w storage/ | |
chmod -R o+w install/ |
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
Problem 1 | |
- symfony/icu v1.2.0-RC1 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it. | |
- symfony/icu v1.2.0-BETA1 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it. | |
- symfony/icu 1.2.x-dev requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it. | |
- oro/platform dev-master requires symfony/icu 1.2.*@dev -> satisfiable by symfony/icu[1.2.x-dev, v1.2.0-BETA1, v1.2.0-RC1]. | |
- Installation request for oro/platform dev-master -> satisfiable by oro/platform[dev-master]. |
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
wget https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2 | |
bunzip2 phantomjs-1.9.1-linux-x86_64.tar.bz2 | |
tar xf phantomjs-1.9.1-linux-x86_64.tar | |
mv phantomjs-1.9.1-linux-x86_64/ /opt/ | |
ln -s /opt/phantomjs-1.9.1-linux-x86_64/ /opt/phantomjs | |
ln -s /opt/phantomjs/bin/phantomjs /usr/local/bin/ | |
#check what you've just done | |
which phantomjs | |
phantomjs --version |
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/bash | |
usage() | |
{ | |
cat << EOF | |
usage: $0 pull_id | |
pull_id needs to be a number | |
EOF | |
} | |
if [ -z "$1" ] |
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/bash | |
GIT_TOKEN="YOUR_TOKEN_HERE" | |
GIT_USER="YOUR_USER_HERE" | |
GIT_REPO="YOUR_REPO_HERE" | |
curl -X POST -H "Authorization: token $GIT_TOKEN" \ | |
--data '{"name": "web","active": true,"events": ["pull_request"],"config": {"url": "http://your.url.here/"}}' \ | |
https://api.github.com/repos/$GIT_USER/$GIT_REPO/hooks | |
OlderNewer