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
<entry type="iradio"> | |
<title>Radio Kerry</title> | |
<genre>Varied</genre> | |
<artist></artist> | |
<album></album> | |
<location>http://www.radiokerry.ie/RK_MP3HQ1.asx</location> | |
<play-count>46</play-count> | |
<last-played>1330551764</last-played> | |
<bitrate>128</bitrate> | |
<date>0</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
//Strip out the generator meta | |
function remove_generator() { | |
return ''; | |
} | |
add_filter('the_generator', 'remove_generator'); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// History.js It! | |
// v1.0.1 - 30 September, 2012 | |
// | |
// fork of https://gist.github.com/854622 with the scrollto functionality removed | |
(function(window,undefined){ | |
// Prepare our Variables | |
var | |
History = window.History, |
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
######################################### | |
prevent script execution in directory | |
useful when access permissions and to be lax | |
IndexIgnore * | |
Options All -Indexes | |
# Secure directory by disabling script execution, add any extentions required | |
AddHandler cgi-script .php .php2 .php3 .php4 .php5 .php6 .php7 .php8 .pl .py .jsp .asp .htm .html .shtml .sh .cgi |
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
<html contenteditable spellcheck="true" id="f" style="font-size:2rem;line-height:1.4;max-width:60rem;margin:0 auto;padding:4rem;"><title>Skratch Pad</title><script>window.onload=function(){var f=document.getElementById('f');f.innerHTML=r(localStorage.f)};onkeyup=function(){localStorage.f=f.innerHTML};function r(f){var e =/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig;return f.replace(e,"<a href='$1' style='cursor:pointer' onclick='window.open(this.href);return false'>$1</a>")}</script><style>body{color:#242424; background-color:#fffff2; padding:10px;border-radius:4px;box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);} #f{background-color:#eee;}</style> |
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
function map_range(value, low1, high1, low2, high2) { | |
return low2 + (high2 - low2) * (value - low1) / (high1 - low1); | |
} |
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> | |
<head> | |
<title>Ben Day ?</title> | |
</head> | |
<body> | |
<script> | |
var b = 4; | |
var who; | |
var tday = 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
# compress a pdf with ghostscript | |
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=out.pdf in.pdf | |
#concatenate docs | |
pdftk 1.pdf 2.pdf 3.pdf support_docs/TCA_support.pdf cat output out.pdf | |
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
http://lab.vool.ie/coisceim/ |