Tested with ExpressionEngine 2.9.0
From your project root, update your composer.json
file to include the following.
{
"require": {
"eecli/bootstrap": "1.3",
"fzaninotto/faker": "dev-master"
}
RedirectMatch 403 /\.svn.*$ | |
RedirectMatch 403 /\.git.*$ | |
<Files ~ ".htaccess|README|readme.md|\.(sql)|.gitignore|Capfile|Gemfile|Guardfile|Rakefile|config.rb$"> | |
order allow,deny | |
deny from all | |
</Files> | |
Options All -Indexes |
var $dateTime = new DateTime(); | |
$dateTime->setTimezone(new DateTimeZone('America/New_York')); | |
$dateTime->setTimestamp(time()); | |
$isDst = (bool)$dateTime->format('I') ? "y" : "n"; | |
$conf['daylight_savings'] = $isDst; |
<?php | |
class CustomObject extends DataObject { | |
private static $db = array( | |
'Sort' => 'Int', | |
); | |
private static $default_sort = 'Sort ASC'; |
Tested with ExpressionEngine 2.9.0
From your project root, update your composer.json
file to include the following.
{
"require": {
"eecli/bootstrap": "1.3",
"fzaninotto/faker": "dev-master"
}
Docker does not run natively on OSX, only Linux. Docker Machine was created to add a Linux VM environment to run Docker containers on OSX. Install using Homebrew:
brew install docker
brew install docker-machine
docker-machine create
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |