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
#!/bin/bash | |
# | |
# mime2mdwn - Convert MIME format wiki export (developed for PhpWiki exports) to Markdown | |
# | |
# globals | |
debug=false | |
# the actual heavy lifting |
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 | |
$currencyCache = array(); | |
/** | |
* Looks for unquoted keys in a json string and fixes them ie: {a:"b"} => {"a":"b"} | |
* @param string $string A json string that is suspect | |
* @return string A valid json string | |
*/ | |
function fix_json($string){ |
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
#!/usr/bin/perl -w | |
# | |
# clipcat - Concatenate and print Text Clippings. | |
# | |
# v0.1 2010-11-18 - David Kendal <https://gist.github.com/705623> | |
# Initial version. Used with permission. | |
# v0.2 2010-12-08 - Morgan Aldridge <morgant@makkintosshu.com> | |
# Now concatenates multiple text clippings. Usage instructions. | |
# |
NewerOlder