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
#!/bin/bash | |
date | |
mifi_status_url="http://192.168.5.1/srv/status" | |
mifi_charge_threshold=15 | |
mifi_full_charge=100 | |
plug_name="Jetpack-Plug" | |
echo "Finding plug IP address..." |
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
diff --git a/src/API/Reports/Stock/Controller.php b/src/API/Reports/Stock/Controller.php | |
index 0d50517e8..d662df4d8 100644 | |
--- a/src/API/Reports/Stock/Controller.php | |
+++ b/src/API/Reports/Stock/Controller.php | |
@@ -32,6 +32,20 @@ class Controller extends \WC_REST_Reports_Controller implements ExportableInterf | |
*/ | |
protected $rest_base = 'reports/stock'; | |
+ /** | |
+ * Registered stock status options. |
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: WooCommerce Calypso Bridge Helper | |
* Plugin URI: https://woocommerce.com | |
* Description: Utility to assist testing wc-calypso-bridge locally | |
* Author: WooCommerce | |
* Version: 0.1 | |
*/ | |
function woocommerce_ecommplan_helper_handler() { |
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
#!/bin/sh | |
# | |
# Use ipfw to throttle bandwidth. | |
# usage: | |
# ./throttle.sh # Throttle at default (60KB/s) | |
# ./throttle.sh 5 # Throttle at custom speed (5KB/s) | |
# ./throttle.sh off # Turn throttling off | |
# flush rules | |
ipfw del pipe 1 |
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: WCS Dev | |
Plugin URI: http://wordpress.org/plugins/ | |
Description: Points WCS @ Staging | |
Author: Jeff Stieler | |
Version: 0.1 | |
Author URI: http://zombo.com | |
*/ |
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
janrain.events.onCaptureValidationFailed.addHandler(function(obj) { | |
if ( ( 'capture_traditionalRegistration_emailAddress' == obj.field.id ) && ( 'Email address is already being used.' === obj.message ) ) { | |
jQuery( obj.field ).siblings( 'div.capture_tip_error' ).text( 'Totally in use dude.' ); | |
} | |
}); |
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
var request = require('request'), | |
restify = require('restify'), | |
cheerio = require('cheerio'), | |
cache = require('restify-cache'); | |
// cache.config({ | |
// 'ttl': 60 | |
// }); | |
var server = restify.createServer(); |
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
var request = require('request'), | |
restify = require('restify'), | |
cheerio = require('cheerio'), | |
cache = require('restify-cache'); | |
var server = restify.createServer(); | |
server.use(cache.before); | |
server.on('after', cache.after); |
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
Index: object-cache.php | |
=================================================================== | |
--- object-cache.php (revision 776128) | |
+++ object-cache.php (working copy) | |
@@ -208,10 +208,7 @@ | |
$mc =& $this->get_mc($group); | |
if ( isset($this->cache[$key]) && ( !$force || in_array($group, $this->no_mc_groups) ) ) { | |
- if ( is_object( $this->cache[$key] ) ) | |
- $value = clone $this->cache[$key]; |
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
Ideas for adding undo to Movement: | |
Create AppController :: setAppLocations:(NSArray *) something like: | |
- (void)setAppLocations:(NSArray *)appLocations | |
{ | |
for each array in appLocations: | |
clear app screen | |
NewerOlder