I hereby claim:
- I am simons on github.
- I am simonscarfe (https://keybase.io/simonscarfe) on keybase.
- I have a public key ASDdpGcNKiO5TfDBps17wf4TCnXIYXTYVbLEhH3pJdY1KAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| license: mit |
| license: mit |
| license: mit |
| license: mit |
| <?php | |
| require 'vendor/autoload.php'; | |
| $client = new DailymilePHP\Client; | |
| $entries = $client->getEntries(['username' => 'simons', 'page' => 'all', 'since' => '1325462400']); | |
| echo 'Entries: ' . count($entries). "\n"; | |
| $runningEntries = array_filter($entries, function($entry) { |
| # pre-requisites: | |
| # growlnotify (found as part of the Extras folder in the Growl distribution) | |
| # DMDirc redirect plugin | |
| # DMDirc exec plugin | |
| # This section indicates which sections below take key/value | |
| # pairs, rather than a simple list. It should be placed above | |
| # any sections that take key/values. | |
| keysections: | |
| condition 0 |
| (function($){ | |
| var previous_state = '', | |
| state; | |
| $(function(){ | |
| // Resize event | |
| var resizeTimer = null; /* use resizeTimer to minimise lag */ | |
| $(window).resize( function(){ |
| function __autoload($class_name) { | |
| $parent_path = realpath(dirname(__FILE__).'/'.str_replace("_", "/", $class_name).'.php'); | |
| if(file_exists($parent_path)) { | |
| require_once $parent_path; | |
| } | |
| $child_path = realpath( get_stylesheet_directory() . '/class/'. str_replace("_", "/", $class_name).'.php' ); | |
| if(file_exists($child_path)) { | |
| require_once $child_path; | |
| } |
| DEST=$1 | |
| WP='http://wordpress.org/latest.tar.gz' | |
| wget $WP | |
| tar zxvf latest.tar.gz | |
| mv wordpress $DEST | |
| rm latest.tar.gz | |
| cd $DEST |