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 | |
| /** | |
| * Run PHP-Markdown[-Extra] [-x], optionally adding automatic IDs [-a], | |
| * and a table of contents [-ac]. | |
| * | |
| * @copyright 2012-09-07 N.D.Freear. | |
| */ | |
| if (php_sapi_name() != 'cli') { | |
| _error('must be in CLI mode.'); |
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
| # With colours | |
| $ git log -50 --pretty=format:'%Cred%h%Creset - %C(yellow)%ci%Creset - %s' --abbrev-commit | grep -m 2 -E "(0.|1[89]|2.):..:" | |
| # No colours > CSV | |
| $ git log -400 --pretty=format:'%h,%ci,"%s",%aN' --abbrev-commit | grep -E "(0.|1[89]|2.):..:" > git-log-grep-worktimes.csv |
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
| <!--Capret-widget starts (src=// below is deliberate)--> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> | |
| <script src="http://track.olnet.org/capret/js/jquery.plugin.clipboard.js"></script> | |
| <script src="http://track.olnet.org/capret/js/oer_license_parser.js"></script> | |
| <!--[if lt IE 8]> | |
| <script src="//cdnjs.cloudflare.com/ajax/libs/json2/20110223/json2.js"></script> | |
| <![endif]--> | |
| <script | |
| src="http://track.olnet.org/capret/js/capret-piwik.js" | |
| data-piwik_idsite="6" |
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
| <!--Capret-widget begins--> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> | |
| <script src="http://track.olnet.org/capret/js/jquery.plugin.clipboard.js"></script> | |
| <script src="http://track.olnet.org/capret/js/oer_license_parser.js"></script> | |
| <script src="http://track.olnet.org/capret/js/capret.js"></script> | |
| <p><a rel="license" href="http://creativecommons.org/licenses/by/3.0/"><img alt="Creative Commons Licence" style="border-width: 0;" src="http://i.creativecommons.org/l/by/3.0/88x31.png" /></a> | |
| <br />This work by <a xmlns:cc="http://creativecommons.org/ns#" href="http://labspace.open.ac.uk" property="cc:attributionName" rel="cc:attributionURL">Labspace - Bridge to success B2S</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.</p> | |
| <p>This site is <a href="http://capret.mitoeit.org/">CaPRéT enabled</a>: Cut and Paste Reuse Tracking</p> | |
| <!--Capret-widget ends--> |
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 | |
| // Standalone context. | |
| define('PDFTOHTML_PATH', 'X:/PATH TO/workspace/_ouplayer_data/pdftohtml-0.39/pdftohtml.exe'); # Windows. | |
| #define('PDFTOHTML_PATH', '/usr/bin/pdftohtml'); # Redhat 6. | |
| require_once 'libraries/pdftohtml.php'; | |
| //( Or, CodeIgniter context. ) | |
| #$config['pdftohtml_path'] = '/usr/bin/pdftohtml'; | |
| #$this->load->library('pdftohtml'); |
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><title>*Mozilla Persona</title> | |
| <style> | |
| button#signin { | |
| background: url(http://developer.mozilla.org/files/3963/persona_sign_in_blue.png) no-repeat; /*185 x 25*/ | |
| width: 189px; | |
| height: 29px; | |
| } | |
| button#signin, #signin-img { | |
| cursor: pointer; |
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
| <!--Capret-widget starts (src=// below is deliberate)--> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
| <script | |
| src="http://track.olnet.org/capret/build/capret-piwik.min.js" | |
| data-piwik_idsite="6" | |
| data-piwik_debug="1" | |
| ></script> | |
| <p><a rel="license" href="http://creativecommons.org/licenses/by/3.0/"><img | |
| alt="Creative Commons Licence" style="border-width: 0;" |
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
| <!--Capret-widget starts (src=// below is deliberate)--> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
| <script | |
| src="http://track.olnet.org/capret/build/capret-ga.min.js" | |
| data-utm_ac="UA-34064304-5" | |
| data-utm_debug="1" | |
| ></script> | |
| <p><a rel="license" href="http://creativecommons.org/licenses/by/3.0/"><img | |
| alt="Creative Commons Licence" style="border-width: 0;" |
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><meta charset=utf-8 /><title>*iframe width=100% test</title> | |
| <style> | |
| .region-0{ width:420px; border:1px solid #ccc; padding:.5em; } | |
| iframe{ overflow:hidden; border:none; min-width:240px; } | |
| </style> | |
| <div class=region-0> | |
| <h1>iframe width=100%</h1> |