Below is the small sum of personal code I have been able to wrangle together in my off time. Unfortunatly 90% of the code I've written is behind the client wall and can only be viewed as a finished product. Many of the classes and functions below are updated sparingly as personal time permits.
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
// http://www.elasticsearch.org/guide/en/elasticsearch/client/php-api/current/_quickstart.html#_index_a_document | |
require_once( 'lib/initiate.php' ); | |
$params = array(); | |
$params['body'] = array('testField' => 'abc'); | |
$params['index'] = 'properties'; | |
$params['type'] = 'property'; | |
$params['id'] = '1234567890'; |
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
### VPN | |
- https://www.expressvpn.com/order | |
- http://strongvpn.com/packages_comparison.html | |
- http://mxtoolbox.com/SuperTool.aspx | |
### Server checks | |
- https://www.senderscore.org/ | |
- http://network-tools.com/ | |
### Bots |
- https://wordpress.org/about/gpl/
- http://ma.tt/2009/10/matt-qa-wordpress-gpl/
- https://developer.wordpress.org/themes/getting-started/wordpress-licensing-the-gpl/
- https://wordpress.org/news/2009/07/themes-are-gpl-too/
- https://wordpress.org/themes/commercial/
- http://wordpressfoundation.org/trademark-policy/
- http://ma.tt/2014/01/four-freedoms/
# BEGIN SF Move Login
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^admin/login/?$ admin/wp-login.php [QSA,L]
RewriteRule ^admin/postpass/?$ admin/wp-login.php?action=postpass [QSA,L]
RewriteRule ^admin/logout/?$ admin/wp-login.php?action=logout [QSA,L]
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
/** | |
* hide_all_notices | |
* @since 1.2 | |
**/ | |
add_action( 'admin_head', 'hide_all_notices' ); | |
function hide_all_notices() { | |
$user = wp_get_current_user(); | |
if ( $user->user_login == 'randyhicks' ) { // get rid of the damn things!!!! | |
echo "<style>.notice, .error, .update-nag { display:none; }</style>"; |
- https://wordpress.org/plugins/wedevs-project-manager/screenshots/
- https://wordpress.org/plugins/dw-question-answer/screenshots/
- https://wordpress.org/plugins/wpmandrill/
- https://wordpress.org/plugins/wpmandrill-multisite/
- https://buddypress.org/
- https://wordpress.org/plugins/multisite-user-management/
- https://wordpress.org/plugins/more-privacy-options/
- https://wordpress.org/plugins/network-privacy/
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
<?php | |
/** | |
* @package WordPress | |
* @subpackage ProjectName | |
* @license GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html | |
* | |
* Description: | |
**/ | |
#################################################################################################### |
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
<?php | |
function is_palindrome( $word ) { | |
return $word === strrev( $word ) ? true : false; | |
} | |
function print_palindrome($word) | |
{ |