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
include: | |
- php.apc | |
- php.curl | |
- php.fpm | |
- php.gd | |
- php.imagick | |
- php.imap | |
- php.ldap | |
- php.mbstring | |
- php.mcrypt |
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
php5_ppa: | |
pkgrepo.managed: | |
- ppa: ondrej/php5 | |
php5-fpm: | |
pkg.latest: | |
- refresh: True | |
- require: | |
- pkgrepo: php5_ppa | |
service.running: |
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
---------- | |
ID: php5-fpm | |
Function: service.running | |
Result: False | |
Comment: The following requisites were not found: | |
watch: | |
file: /etc/php5/fpm/pool.d/www.conf | |
Changes: |
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
- app | |
- bootstrap | |
- public | |
- index.php | |
- assets | |
- src | |
- less | |
- dist | |
- vendor | |
- server.php |
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 | |
namespace App\Vendor; | |
class Router extends \Slim\Router | |
{ | |
/** | |
* Get all the defined routes | |
* @return array | |
*/ | |
public function getRoutes() |
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 | |
namespace App\Vendor; | |
use Zend\Permissions\Acl\Acl as ZendAcl; | |
use Zend\Permissions\Acl\Role\GenericRole as Role; | |
use Zend\Permissions\Acl\Resource\GenericResource as Resource; | |
/** | |
* Class Acl | |
* @package App\Vendor |
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
var gulp = require('gulp'); | |
var connect = require('connect'); | |
var livereload = require('gulp-livereload'); | |
var shell = require('gulp-shell'); | |
var sass = require('gulp-sass'); | |
var env = process.env.NODE_ENV || 'development'; | |
var port = process.env.PORT || 9008; | |
var paths = { |
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 | |
use Symfony\Component\EventDispatcher\EventDispatcher; | |
use Symfony\Component\EventDispatcher\Event; | |
$dispatcher = new EventDispatcher(); | |
$dispatcher->addListener('render', function (Event $event) use ($app) { | |
$app->render($event['view'], $event['data']); | |
}); |
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 | |
class TweetController extends \BaseController | |
{ | |
protected $tweet; | |
public function __construct($tweet) | |
{ | |
/* How do I access $app['tweet'] in this controller? | |
* without using App::make |
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
// Get all required dependencies | |
// Run Modernizr on our page | |
require('imports?this=>window!../bower_components/modernizr/modernizr'); | |
// Foundation | |
var foundation = require('../bower_components/foundation/js/foundation'); | |
// FlightJS |
OlderNewer