I hereby claim:
- I am shadyvb on github.
- I am shadysharaf (https://keybase.io/shadysharaf) on keybase.
- I have a public key whose fingerprint is 0881 D3FC 2A71 1C95 01F4 C05C 61D6 DA92 65F2 1F5F
To claim this, I am signing this object:
| # sudo apt-get update && sudo apt-get install git puppet -y && git clone https://github.com/Automattic/vip-quickstart.git /srv && cd /srv && bin/vip-init --server --domain=?? |
| jQuery('a[title=Open file]').filter( function() { return jQuery(this).attr('href').match(/www\/wp-content\/themes\/vip\/shaw-globalnews\//) ; } ).each( function(){ jQuery(this).parents('tr').eq(0).prependTo( jQuery('table#function_table tbody') ); } ) |
| pacman -S base-devel fakeroot jshon expac git wget | |
| wget https://aur.archlinux.org/packages/pa/packer/PKGBUILD | |
| makepkg | |
| pacman -U packer-*.pkg.tar.gz |
| <?php | |
| $xteam_profile_whitelisted_tags = array( | |
| 'save_post' | |
| ); | |
| // Do action hack | |
| function xteam_profile_all_action( $value ) { | |
| global $wp_filter, $merged_filters, $wp_current_filter, $xteam_profile_whitelisted_tags; | |
| $tag = end( $wp_current_filter ); |
| <?php | |
| $globals = array( | |
| 'comment', | |
| 'comment_alt', | |
| 'comment_depth', | |
| 'comment_thread_alt', | |
| 'wp_rewrite', | |
| 'in_comment_loop', | |
| 'wp_query', |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| class Connector { | |
| protected function __construct() { | |
| $this->add_class_hooks(); | |
| } | |
| /** | |
| * Add actions/filters from the methods of this class based on doc blocks |
| <?php | |
| header("Content-Type: text/plain"); | |
| // Decode the payload | |
| $payload = json_decode( $_POST ); | |
| # Include config file if found | |
| @include( __DIR__ . '/deploy-config.php' ); | |
| // Ability to choose a custom branch to track / deploy from, in the webhook registered URL |
| [alias] | |
| preview ="!f() { git branch -D preview; git fetch; git checkout preview; git merge -; git push; /path/to/wp-vip-preview/bin/deploy-preview.sh > /dev/null 2>&1; git checkout -; }; f" |
| # switch to vip git branch | |
| git checkout vip | |
| # pull updates | |
| svn up | |
| # reset working tree | |
| svn revert --recursive . | |
| # try to merge the previous branch ( ie: GNDEV-88 ), but do not auto commit | |
| git merge - --no-commit --no-ff | |
| # see the svn diff, before committing | |
| svn diff | more |