I hereby claim:
- I am ethernick on github.
- I am ethernick (https://keybase.io/ethernick) on keybase.
- I have a public key whose fingerprint is E6A2 939B 1EA8 06FE 122B 6728 2742 2FC5 0E85 69D6
To claim this, I am signing this object:
<?php | |
function conditional_shortcode($atts, $content, $tag){ | |
global $post; | |
$atts = shortcode_atts( | |
array( 'length' => 400, 'condition' => 'gt' ), | |
$atts, | |
$tag | |
); |
I hereby claim:
To claim this, I am signing this object:
// Create a new database using an array | |
var playlist = [ | |
{ | |
url: "https://soundcloud.com/asthmatickitty/sufjan-stevens-should-have-known-better", | |
rotation: 20, | |
label: "new" | |
}, | |
{ | |
url: "https://soundcloud.com/bigdatabigdata/big-data-clean-feat-jamie-lidell", | |
rotation: 20, |
<?php | |
class MetaMarkdown extends Markdown { | |
protected function meta($txt) { | |
$pattern = '/^([A-Za-z]+)\:\s*\t*(.+)$/m'; | |
//$pattern = '/^(.*)\:(?\s*)(?\t*)(.+)(\r\n|\n)/'; | |
//echo $txt; | |
$txt = preg_replace_callback( | |
'/^([A-Za-z]+)\:\s*\t*(.+)$/m', | |
function($expr) { |