I hereby claim:
- I am danoc on github.
- I am danoc (https://keybase.io/danoc) on keybase.
- I have a public key whose fingerprint is CFF0 9260 DAA0 440E 656C 1555 9433 DFB5 21C4 DFBE
To claim this, I am signing this object:
Component development | |
Needs evaluation | |
Will build -> To-do | |
Will use built-in platform component -> Uses built-in platform component | |
Is not applicable to platform -> Wont build for platform | |
Is not worth building -> Wont build for platform | |
Is already built correctly -> Merged | |
Is built but should be deprecated -> Deprecated | |
To-do | |
Start development -> In progress |
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
$list-tree-chain-base: '.list-tree__list'; | |
$list-tree-chain: ''; | |
$list-tree-chain-tail: '.list-tree__item'; | |
$max-supported-tree-depth: 30; |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Return a "human-readable" time such as 8 hours ago. | |
* | |
* @param string $time such as: 2013-03-18 21:13:59 | |
*/ | |
function time_since($time) | |
{ |
<?php | |
function get_custom_excerpt($text, $length) | |
{ | |
$text = strip_shortcodes( $text ); | |
$text = apply_filters('the_content', $text); | |
$text = str_replace(']]>', ']]>', $text); | |
$text = strip_tags($text); | |
$excerpt_length = apply_filters('excerpt_length', $length); |
<?php | |
// Use SimpleXML and Google's (unofficial) Weather API | |
//to display the current temperature for a city. | |
$zip = 13902; // change to desired city | |
$weather = simplexml_load_file('http://www.google.com/ig/api?weather='.$zip); | |
$city = $weather->weather->forecast_information->city['data']; // city name | |
$degrees = $weather->weather->current_conditions->temp_f['data']; // current temperature |