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 | |
/* | |
Plugin Name: WP Admin locale | |
Description: Force en_US locale in WP Admin | |
Plugin URI: https://gist.github.com/f8c2f69b6e9f545696f7.git | |
Author: WPTailor | |
Author URI: http://wptailor.com/ | |
Version: 0.1 | |
License: GPL2 | |
*/ |
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
configoptions="\ | |
--disable-short-tags \ | |
--with-layout=GNU \ | |
--enable-bcmath \ | |
--enable-calendar \ | |
--enable-exif \ | |
--enable-ftp \ | |
--enable-mbstring \ | |
--enable-pcntl \ | |
--enable-soap \ |
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 | |
/** | |
* @package [name] | |
* @subpackage [name] | |
* @since [version] | |
*/ | |
defined('ABSPATH') or exit; |
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 | |
/* | |
Plugin Name: WP Admin Snippets | |
Plugin URI: http://wptailor.com/ | |
Description: A number of useful hooks to strip and clean up WordPress admin area. | |
Version: 0.0.1 | |
Author: WPTailor | |
Author URI: http://wptailor.com/ | |
License: GPLv3 |
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
alias g='git' | |
# Autocomplete for 'g' as well | |
complete -o default -o nospace -F _git g |
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
{ | |
"name": "wptailor/gravityforms-subtotal-mergetag", | |
"description": "Adds a {subtotal} merge tag which calculates the subtotal of the form. This merge tag can only be used", | |
"type": "wordpress-plugin", | |
"license": "GPL3+", | |
"authors": [ | |
{ | |
"name": "David Smith", | |
"email": "[email protected]" | |
}, |
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 | |
/** | |
* WordPress Fragment Caching convenience wrapper. | |
* | |
* @author Mark Jaquith, packed by WPTailor | |
*/ | |
defined('ABSPATH') or exit; | |
/* |
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
#!/usr/bin/env bash | |
if [ "$UID" -ne 0 ] | |
then echo "Please run this script as root user" | |
exit | |
fi | |
apt-get -y update | |
apt-get -y upgrade | |
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev git sqlite3 libsqlite3-dev |
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
<!-- NOTE: This is only the "max" frame_geometry --> | |
<frame_geometry name="max" title_scale="small" parent="normal" rounded_top_left="false" rounded_top_right="false" hide_buttons="true" has_title="false"> | |
<distance name="left_width" value="0" /> | |
<distance name="right_width" value="0" /> | |
<distance name="bottom_height" value="0" /> | |
<distance name="left_titlebar_edge" value="0"/> | |
<distance name="right_titlebar_edge" value="0"/> | |
<distance name="button_width" value="0"/> | |
<distance name="button_height" value="0"/> | |
<border name="title_border" left="0" right="0" top="0" bottom="0"/> |
OlderNewer