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 | |
| // An array of jQuery-oEmbed options. | |
| // @link http://code.google.com/p/jquery-oembed/ | |
| // @link https://bitbucket.org/cloudengine/cloudengine/issue/213 | |
| ##$_wordpress_oembed = "new $.fn.oembed.OEmbedProvider('wordpress', 'rich', ['__HOST__'], 'http://public-api.wordpress.com/oembed/1.0/?for=CW')"; | |
| $config['oembed_options'] = array( | |
| // OU Podcast media player. | |
| 'oupodcast' => array( |
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 | |
| // Google Analystics | |
| $config['x_google_analytics'] = FALSE; #TRUE; | |
| $config['google_analytics'] = 'UA-5304738-3'; // Set this to your google analytics code | |
| // CaPReT/ Track OER | |
| $config['x_capret'] = TRUE; | |
| $config['capret_variant'] = 'piwik'; // Or 'ga', or 'classic' |
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 | |
| // Feature flag for internationalisation | |
| $config['x_translate'] = TRUE; | |
| $config['locale_array']= array( | |
| // Danish. | |
| 'da' => array( | |
| 'name' => 'Dansk/ Danish', | |
| 'locales'=> array('da_DK.UTF-8', 'da_DK.utf8'), |
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
| /* | |
| Override default oEmbed styles. | |
| See also - 'remove' PHP: https://gist.github.com/1892457 | |
| */ | |
| /*div.oembed,*/ | |
| .oembed iframe { | |
| margin:0; | |
| padding:0; | |
| float:none; | |
| background:transparent; |
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
| <h1><?=t("Join !site-name!")?></h1> | |
| <div id="register"> | |
| <p> | |
| <?=t("By creating an account, you agree to our [link-at]Terms and Conditions of Use[/link].", | |
| array('[link-at]' => t_link('about/tandc')))?> | |
| </p> | |
| <?=form_open($this->uri->uri_string(), array('id'=>'register_form', 'class'=>'__h5fm')); /*Uses HTML5 form attributes (BB #115).*/ ?> | |
| <?= validation_errors() ?> | |
| <table> |
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 | |
| /* Algorithm. | |
| */ | |
| ini_set('display_errors', 1); | |
| header('Content-Type: text/plain'); | |
| ?> | |
| /* | |
| Algorithm to create a unique URL for OU audio-visual (OU podcast tracks), version 1. | |
| (N.D.Freear, 24 nov 2010.) | |
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> <title>*OOcharts / Google Analytics</title> | |
| <style> | |
| body{ font:1em sans-serif; background:#fafafa; margin:1em 2em; } | |
| div,p{ margin:1em 0; } | |
| </style> | |
| <!--<script src="http://oocharts.org/release/current/oocharts.js"></script>--> | |
| <script src="toer/oocharts_2.1/oocharts.js"></script> | |
| <script> |
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
| import scraperwiki | |
| """ | |
| ScraperWiki oEmbed provider API, v1 | |
| Copyright 2013-01-16 Nick Freear. All rights reserved. | |
| License: GNU General Public License <http://gnu.org/licenses/gpl-3.0.html> | |
| Usage: | |
| https://views.scraperwiki.com/run/scraperwiki_oembed_v1/?callback=_jsonp12&format=json&url=https%3A//views.scraperwiki.com/run/cloudworks_mindmap/%3FcloudscapeID=2451 |
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
| import scraperwiki | |
| """ | |
| ScraperWiki oEmbed provider API, v1.2. | |
| Copyright 2013-01-16 Nick Freear. All rights reserved. | |
| License: GNU General Public License <http://gnu.org/licenses/gpl-3.0.html> | |
| Usage: | |
| https://views.scraperwiki.com/run/scraperwiki_oembed_v1/?callback=_jsonp12&format=json&url=https%3A//views.scraperwiki.com/run/cloudworks_mindmap/%3FcloudscapeID=2451 |
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 prepare-commit-msg hook to append an issue tracker URL to commit messages. | |
| * | |
| * Git hooks on Windows: Ensure that the path to PHP is added to the %PATH% variable, and run `git commit` via the Bash shell. | |
| * | |
| * Usage: `git commit -em "Bug #123" <FILE>` | |
| * |