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
| # See: http://draconianoverlord.com/2010/03/04/git-config.html | |
| # See: https://github.com/rtomayko/git-sh | |
| # See: https://gist.github.com/502434 | |
| # REPO/.git/config | |
| [remote "origin"] | |
| # Generic by default. | |
| fetch = +refs/heads/*:refs/remotes/origin/* | |
| url = https://iet-admin@github.com/IET-OU/pd-open-ac-uk.git |
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 | |
| /* Drupal 6.x ldap_integration: PHP to filter attributes. | |
| * ietatou_pd:admin/settings/ldap/ldapdata/edit/1.edit-attributes-ldapdata-filter-php | |
| * | |
| * N.D.Freear, 15 June 2012. | |
| * | |
| * Don't include this comment or the <-?php line above! | |
| */ | |
| if ($attributes['cn'][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
| # PD-approval crontab - every 2 hours (5 min past the hour) | |
| # See, http://drupal.org/cron | |
| # (Also, http://drupal.org/project/poormanscron ) | |
| # | |
| ## crontab -e | |
| 5 */2 * * * no_proxy=localhost /usr/bin/wget -O - -q -t 1 http://localhost/cron.php > /dev/null 2>&1 | |
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 lang="en"><meta charset=utf-8 /><title>*OUnion client demo</title> | |
| <!-- | |
| Union Chat for Javascript - improved.. | |
| Copyright N.D.Freear, 28 May 2012 | |
| * Accessibility improvements | |
| * URL auto-linking | |
| * Colour | |
| http://unionplatform.com/samples/orbitermicro/UnionChatPart1/chat.html | |
| --> |
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
| # http://kernel.org/pub/software/scm/git/docs/howto/using-merge-subtree.html | |
| $ git remote add -f feedsProject --no-tags -t 6.x-1.x http://git.drupal.org/project/feeds.git | |
| $ git merge -s ours --no-commit feedsProject/6.x-1.x <2> | |
| $ git read-tree --prefix=sites/all/modules/contrib/feeds/ -u feedsProject/6.x-1.x <3> | |
| $ git commit -m "Merge remote-tracking branch 'feedsProject/6.x-1.x'.." <4> | |
| $ git pull -s subtree feedsProject 6.x-1.x <5> |
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> CSS3 - text-overflow </title> | |
| <style> | |
| p.test { | |
| border: 1px solid gray; | |
| white-space: nowrap; | |
| width: 35em; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } |
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>*Piwik - Javascript track</title> | |
| <h1>Piwik</h1> | |
| <!-- Piwik --> | |
| <script> | |
| var pkBaseURL = | |
| (("https:" == document.location.protocol) ? "https://localhost:8888/piwik/" | |
| : "http://localhost:8888/piwik/"); | |
| document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E")); |
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>*Piwik - image tracker</title> | |
| <h1>Piwik</h1> | |
| <h3>'Invisible' 1-pixel GIF</h3> | |
| <!-- Piwik Image Tracker --> | |
| <img src="http://XX-localhost:8888/piwik/piwik.php?idsite=1&rec=1" style="border:0" alt="" /> | |
| <!-- End Piwik --> |