I hereby claim:
- I am justinyost on github.
- I am jtyost2 (https://keybase.io/jtyost2) on keybase.
- I have a public key whose fingerprint is E1EB AF10 9927 8212 2D07 BD97 9A56 316C D007 FC87
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Application model for Cake. | |
* | |
* This file is application-wide model file. You can put all | |
* application-wide model-related methods here. | |
* | |
* PHP 5 | |
* | |
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org) |
# Language Tests are Running In | |
language: php | |
# PHP Versions to Test | |
php: | |
- 5.3 | |
- 5.4 | |
- 5.5 | |
# Environment Variables to set |
Either | |
`chown -R _www ./app/tmp` | |
`chmod -R 777 ./app/tmp` | |
Cake Bake: | |
Console/cake -app ~/path/to/app/ bake all |
<?php $span = isset($span) ? $span : 8; ?> | |
<?php $page = isset($this->request->params['named']['page']) ? $this->request->params['named']['page'] : 1; ?> | |
<div class="pagination"> | |
<ul> | |
<?php echo $this->Paginator->prev( | |
'← ' . __('Previous'), | |
array( | |
'escape' => false, | |
'tag' => 'li' | |
), |
<?php header("Content-type: text/xml charset=utf-8"); | |
//get the simplepie library | |
require_once('simplepie.inc'); | |
//grab the feeds | |
$feed = new SimplePie(); | |
$feed->set_feed_url(array( | |
'http://feeds2.feedburner.com/Yostivanich', | |
'http://twitter.com/statuses/user_timeline/7568942.rss', | |
'http://feeds.delicious.com/v2/rss/jtyost2', | |
'http://digg.com/users/jtyost2/history.rss', |