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 PASSWORD_BCRYPT | |
* Plugin URI: http://bitpiston.com/ | |
* Description: Replaces wp_hash_password and wp_check_password's phpass hasher with PHP 5.5's password_hash and password_verify using bcrypt. | |
* Author: BitPiston Studios | |
* Author URI: http://bitpiston.com/ | |
* Version: 1.2 | |
* Licence: BSD | |
*/ |
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 ACF Obj Cache Fix | |
* Plugin URI: http://bitpiston.com/ | |
* Description: Fix for Advanced Custom Fields expiry with 3rd party Object Caches. | |
* Author: BitPiston Studios | |
* Author URI: http://bitpiston.com/ | |
* Version: 1.1.1 | |
* Licence: BSD | |
*/ |
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
server { | |
listen 80; | |
listen [::]:80; | |
server_name bitpiston.com; | |
root /home/bitpiston/www; | |
#access_log /var/log/nginx/bitpiston.com-access.log; | |
access_log off; | |
error_log /var/log/nginx/bitpiston.com-error.log; |
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
$HTTP["host"] =~ "(^www\.|^)bitpiston\.com" { | |
server.name = "bitpiston.com" | |
server.document-root = "/home/bitpiston/www/" | |
server.error-handler-404 = "/oyster.fcgi" | |
alias.url = ( | |
"/styles/" => "/home/bitpiston/oyster/site/styles/", | |
"/files/" => "/home/bitpiston/oyster/site/files/" | |
) | |
fastcgi.server = ( ".fcgi" => | |
( "bitpiston" => |
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 Disable Admin User Notifications | |
* Plugin URI: http://bitpiston.com/ | |
* Description: Disables new user and password reset notification emails sent to administrators. | |
* Author: BitPiston Studios | |
* Author URI: http://bitpiston.com/ | |
* Version: 1.0 | |
* Licence: BSD | |
*/ |
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 | |
/** | |
* The base configurations of the WordPress. | |
* | |
* This file has the following configurations: MySQL settings, Table Prefix, | |
* Secret Keys, WordPress Language, and ABSPATH. You can find more information | |
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing | |
* wp-config.php} Codex page. You can get the MySQL settings from your web host. | |
* | |
* This file is used by the wp-config.php creation script during the |
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 | |
class CustomWordPressValetDriver extends WordPressValetDriver | |
{ | |
/** | |
* Custom suffix for site path. | |
* | |
* @var string | |
*/ | |
const sitePathSuffix = '/www'; |
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/perl | |
use NetAddr::IP; | |
use POSIX qw(strftime); | |
my $dnsmasq_leases_path = '/var/run/dnsmasq-dhcp.leases'; | |
my $dhcpd_leases_path = '/var/run/dhcpd.leases'; | |
my $network_names_path = '/opt/vyatta/config/active/service/dhcp-server/shared-network-name'; | |
my %networks_by_subnet; |
OlderNewer