Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
App.Features.customFeature = (function(feature){ | |
var els = {}; | |
setEls = function(element) { | |
/* Cache any selectors that are needed */ | |
/* els.element = $('.element') if using jQuery*/ | |
}; | |
method = function() { | |
/* Method/function to make magic happen. Add as many of this as need |
cd adt-X/sdk/platform-tools/ | |
./adb shell | |
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system | |
cd /system/bin | |
# try | |
cat sh > su |
Grab the 'PHP Remote Debugging Client' (the pre-complied xdebug binary for OSX) from here: | |
http://code.activestate.com/komodo/remotedebugging/ | |
Unzip it, find the folder that corresponds to the version of PHP you want to install it for and copy the xdebug.so file from there into your php extensions folder in the relevant PHP version directory. E.g. for PHP 5.4: | |
/Applications/AMPSS/php-5.4/lib/extensions/ext/ | |
Now open PHP.ini in a text editor: | |
/Applications/AMPSS/php-5.4/etc/php.ini |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
git clone https://github.com/ajaxorg/cloud9.git
git submodule update --init --recursive
git apply cloud9.patch
git clone git://github.com/semu/connect-basic-auth.git support/connect-basic-auth
node bin/cloud9.js -c config.js
Open the url http://127.0.0.1:3000/ when prompt the authorization,username is "username" and password is "password".
<?php | |
/** | |
* This is free and unencumbered software released into the public domain. | |
* | |
* Anyone is free to copy, modify, publish, use, compile, sell, or | |
* distribute this software, either in source code form or as a compiled | |
* binary, for any purpose, commercial or non-commercial, and by any | |
* means. | |
* |
#!/bin/bash | |
# Download Drush v3 from D.O and make it work on `drush` (OS X / Linux / *nix) | |
# Written by stemount, adapted by KarenS | |
# Last updated by Drupalise IT (http://drupalise.it) on 13 Sep 2010 | |
# Update user | |
echo "Drush is now downloading via HTTP" | |
# move to home dir |
<?php | |
/** | |
* This program is free software. It comes without any warranty, to | |
* the extent permitted by applicable law. You can redistribute it | |
* and/or modify it under the terms of the Do What The Fuck You Want | |
* To Public License, Version 2, as published by Sam Hocevar. See | |
* http://sam.zoy.org/wtfpl/COPYING for more details. | |
*/ | |
/** |