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> | |
| <!-- | |
| John Snyders | |
| This sample including the JavaScript code is in the Public Domain. | |
| NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
| --> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <title>High Contrast Mode Test</title> |
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
| #!/C/xampp/php/php | |
| <?php | |
| #!/usr/bin/env php | |
| /** | |
| * Git pre-commit hook to run php lint. | |
| * | |
| * Git hooks on Windows: Ensure that the path to PHP is added to the %PATH% variable, and run `git commit` via the Bash shell. | |
| * | |
| * @copyright 2012-04-30 N.D.Freear. | |
| * @license MIT |
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 php | |
| <?php | |
| /** | |
| * Nick's Drupal Git CLI. | |
| * Quickly checkout a bunch of Drupal contributed modules on Redhat 6, or git-describe sub-directories. | |
| * | |
| * > php ../../../../../ndrupalgit.php | |
| * | |
| * Issues: views? | |
| * |
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 | |
| /** | |
| * Nick's quick php-lint. | |
| * | |
| * > php ../../../../../phplint.php | |
| * | |
| * Copyright 2012-05-08 N.D.Freear. | |
| */ | |
| $dir = getcwd(); |
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
| # Mercurial configuration. | |
| [http_proxy] | |
| #host = wwwcache.open.ac.uk:80 | |
| [ui] | |
| username = Nick Freear <ME@example.org> | |
| # Editor - I'll use vi for now! |
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 | |
| /** | |
| * Parse the OU Drupal supported modules Wiki page, and extract project names and hopefully Git tags. | |
| * | |
| * $ git tag -l "6.x-2.*" | |
| * | |
| * N.D.Freear, 2012-05-10. | |
| */ | |
| $url = 'http://www.open.ac.uk/wikis/drupal/Drupal_supported_modules_(6.21)'; |
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 php | |
| <?php | |
| /** | |
| * Nick's OU-Drupal Git CLI. | |
| * Quickly checkout a bunch of Drupal contributed modules on Redhat 6, by branch or tag, and git-describe sub-directories. | |
| * | |
| * > php ../../../../../ndrupalgit.php | |
| * | |
| * Issues: views? | |
| * |
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 | |
| // $Id$ | |
| /** | |
| * @file | |
| * parser_ical include for actually parsing feed. | |
| */ | |
| /** | |
| * Parse iCal feeds. |
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 | |
| /* | |
| PHP 5.3+ "A practical example of anonymous functions could be a.. template system." | |
| Copyright N.D.Freear 7 June 2012. | |
| .. | |
| lennymail at nospam dot gmail dot com 05-Oct-2011 10:40 | |
| http://php.net/manual/en/functions.anonymous.php#106046 | |
| */ | |
| error_reporting(E_ALL); ini_set('display_errors', 1); |