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 | |
/** | |
* Order Amount After Discounts Tiers | |
* | |
* Provides shipping calculations based on order amount ranges | |
* | |
* @author Jonathan Davis, Matthew Sigley | |
* @version 1.2 | |
* @copyright Ingenesis Limited, 27 April, 2008 | |
* @package shopp |
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 | |
/** | |
* WB-4091: Take input from CSV file and create WP/Shopp customers for them | |
* Should be invoked on the CLI to web timeouts | |
* Usage: ango_td_customer_import [filename] | |
*/ | |
require "../../wp-content/plugins/untangle-store/cli_init.php"; | |
/************************** |
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: Simple Security | |
Plugin URI: https://github.com/msigley | |
Description: Simple Security for preventing comment spam and brute force attacks. | |
Version: 1.0.1 | |
Author: Matthew Sigley | |
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
<?php | |
register_post_type( 'courses', | |
array( | |
'labels' => array( | |
'name' => __( 'Courses' ), | |
'singular_name' => __( 'Course' ) | |
), | |
'public' => true, | |
'has_archive' => false, | |
'exclude_from_search' => true, |
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
Dim strText As String | |
Dim i As Integer | |
Dim x As Integer | |
Dim LenTextLeft As Integer | |
Dim CriticalCounter As Integer | |
'Array for full sentences | |
Dim arrTextSentences() As String | |
'Array for arrays of words | |
Dim arrTextWords() As Variant |