This file contains hidden or 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($,window,undefined) | |
{ | |
var stepSelects = function(form){ | |
this.form; | |
this.optionIndex = 1; | |
this.selects = []; | |
this.init(form); | |
return this; | |
}; |
This file contains hidden or 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
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get --yes --force-yes install htop apache2 php5 libapache2-mod-php5 mysql-server php5-mysql php5-fpm php5-cli php5-curl php5-gd php5-imagick git ufw fail2ban zip mytop | |
sudo /usr/bin/mysql_secure_installation | |
This file contains hidden or 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
# VIM | |
.*.swo | |
.*.swp | |
tags | |
# NetBeans | |
nbproject | |
# CVS | |
CVS |
This file contains hidden or 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
// Action to initiate the bk_process_redirects() function BEFORE the template heirarchy redirects anywhere else. | |
add_action('template_redirect', 'bk_process_redirects'); | |
// Intercepts an .aspx path and redirects to associated URL in array | |
// If no Key => Value pair is found for the incoming request, the .aspx extension is removed, and the URL path is allowed to | |
// continue. To see if wordpress can instinctively find a corresponding page. If none of these options work, the user goes to * * 404 page. | |
function bk_process_redirects(){ |
This file contains hidden or 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
{ | |
"require": { | |
"wordpress/core": "*", | |
"wordpress/advanced-custom-fields":"*", | |
"wordpress/types":"*", | |
"wordpress/ssh-sftp-updater-support":"*" | |
}, | |
"repositories": [ | |
{ | |
"type": "composer", |