This file contains 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"> | |
<meta charset="utf-8" /> | |
<title>Countdown Timer</title> | |
<div id="countdown_time"> </div> | |
<script src="wc10.js" type="text/javascript" charset="utf-8"></script> | |
</html> |
This file contains 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>#moodle4-9 book widget</title> | |
<!--Begin embed--> | |
<div | |
id="moodle4-9-book-embed" | |
about="http://packtpub.com/moodle-2-for-teaching-4-9-year-olds-beginners-guide/book" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
property="dc:title" content="Moodle 2 for Teaching 4-9 Year Olds Beginner's Guide" > | |
<i property="dc:author" content="Nicholas Freear"></i> |
This file contains 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
# Most recent version, http://embed.open.ac.uk/translate | |
# | |
# OU player/ OU embed language template. | |
# Lang: en | |
# Copyright (C) 2011 The Open University. All rights reserved. | |
# This file is distributed under the same license as the ouplayer package. | |
# Nick Freear <N.D.Freear+@+open.ac.uk>, 2010. | |
# | |
#, fuzzy | |
msgid "" |
This file contains 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
/* CSS3 selectors. */ | |
.pr li{ margin:2px 0; } | |
.pr [href*=":"]{padding-left:28px; /*24px*/ background-repeat:no-repeat; background-position:left; background-size: 16px 16px; } | |
.pr [href*="open.ac.uk"]{background-image:url(http://www3.open.ac.uk/favicon.ico) /*http://openlearn.open.ac.uk/favicon.ico*/ } | |
.pr [href*="cloudworks.ac.uk"]{background-image:url(http://cloudworks.ac.uk/themes/cloudworks/favicon.ico)} | |
.pr [href*="facebook.com"]{background-image:url(http://facebook.com/favicon.ico)} | |
.pr [href*="linkedin.com"]{background-image:url(http://www.linkedin.com/favicon.ico)} | |
.pr [href*="google.com"]{background-image:url(http://www.google.com/favicon.ico)} |
This file contains 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> | |
<form | |
id="feedburner" | |
style="border:1px solid #ccc;padding:3px;text-align:center;" | |
action="http://feedburner.google.com/fb/a/mailverify" | |
method="post" | |
target="popupwindow" | |
onsubmit= | |
"window.open('http://feedburner.google.com/fb/a/mailverify?uri=nickfreearblog', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" |
This file contains 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> | |
<!-- | |
My Stop-SOPA blackout solution. | |
Copyleft 2012-01-18 Nicholas Freear. | |
License: http://gnu.org/licenses/lgpl.html | |
Source: https://gist.github.com/gists/1636217 | |
--> | |
<style> | |
body.do-blackout, .do-blackout #wrapper{margin-top:39em;} |
This file contains 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
<script> | |
/*! | |
* Javascript-iframe (Drupal) SOPA-blackout solution. | |
* | |
* authors: Jacob Singh, Zachstronaut, Nick Freear, 2012-01-17. | |
* help: http://jacobsingh.name/content/adding-sopa-blackout-drupal-gardens | |
* via: http://drupal.org/planet | |
*/ | |
(function blackout(){ | |
var a = new Date, |
This file contains 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"><meta charset="utf-8" /> | |
<!-- | |
N.D.Freear, 27 January 2012. | |
1. Converted to HTML5 doctype.. | |
* no [head] or [body] (the browsers fix this for us, now that HTML5 defines/ standardizes parsing rules), | |
* removed type=text/javascript, type=text/css | |
* removed instructions | |
- this reduces clutter! |
This file contains 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 | |
/**If a 'debug' parameter is set, output a PHP string or expression, probably as a HTTP header. | |
* | |
* Inspired by OUVLE ouauth module, and FirePHP. | |
* | |
* @param mixed $exp A PHP string or expression. | |
* @copyright 2012-01-31 N.D.Freear. | |
*/ | |
function _MY_DRUPAL_MODULE_debug($exp) { | |
// For Drupal, try variable_get(). |
This file contains 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 | |
ini_set( 'display_errors', 1); | |
error_reporting( E_ALL ); | |
//header( 'Content-Type: text/plain'); | |
function my_test() { |