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
<!DOCTYPE html> | |
<html lang='en-us' xmlns='http://www.w3.org/1999/xhtml'> | |
<head> | |
<meta charset='utf-8'> | |
<title>APNS TESTING 1…2…3…</title> | |
</head> | |
<body> | |
<?php |
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 | |
/** | |
* Handles most of the work. | |
* | |
* @package GSA for WordPress Multisite | |
* @author Simon Wheatley | |
**/ | |
class GSAForWPMS extends GSAForWPMS_Plugin { | |
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
#!/bin/bash | |
# My script below is based on this one: | |
# http://unixbhaskar.wordpress.com/2010/11/12/measure-website-response-time-through-curl/ | |
if [ -z $1 ] | |
then | |
echo "Please pass a URL to measure the response time for, e.g." | |
echo "sh infinite_response_time.sh http://google.com/ cookie1=123\;cookie2=abc" | |
exit |
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
#! /usr/bin/env ruby | |
search_term = ARGV[0] | |
if search_term | |
time = Time.now | |
directory_path = File.dirname(__FILE__) + "/tweets/" + search_term + "_" + time.to_i.to_s | |
FileUtils.mkdir_p(directory_path) | |
directory = Dir.new(directory_path) | |
(1..15).each do |i| | |
`curl "http://search.twitter.com/search.json?q=#{search_term}&rpp=100&page=#{i}&include_entities=true&result_type=mixed" > #{directory.path}/#{i}.json` | |
end |
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
<snippet> | |
<content><![CDATA[ | |
<div class='${1:updated}${2:error}'><p>$3</p></div> | |
]]></content> | |
<tabTrigger>adminnotice</tabTrigger> | |
</snippet> |
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
nbopen.app |
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 | |
/* | |
Plugin Name: WP 3.5 Media Experiments | |
Description: Learning by prodding things. | |
Version: 0.1 | |
Author: Simon Wheatley | |
Author URI: codeforthepeople.com | |
*/ |
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 | |
/* | |
Plugin Name: WP Cycling Project Notices | |
Plugin URI: https://gist.github.com/simonwheatley/5202993 | |
Description: Adds notices above the WooCommerce cart and checkout for WP Cycling Project | |
Version: 1.0 | |
Author: Code for the People | |
Author URI: http://www.codeforthepeople.com/ | |
*/ |
OlderNewer