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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
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
/** | |
* Timezone calculations | |
*/ | |
class Timezone | |
{ | |
/** | |
* Timezones list with GMT offset | |
* | |
* @return array |
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
<IfModule mod_rewrite.c> | |
<IfModule mod_negotiation.c> | |
Options -MultiViews | |
</IfModule> | |
RewriteEngine On | |
# Force HTTPS - Proto needed for AWS ELB | |
RewriteCond %{HTTP:X-Forwarded-Proto} !https | |
RewriteCond %{HTTP_USER_AGENT} !^ELB-HealthChecker |
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
<Directory "/www/sitename/folder/"> | |
<IfModule mod_rewrite.c> | |
RewriteEngine ON | |
RewriteRule ^(.*) http://bucktname.s3.amazonaws.com/folder/$1 | |
</IfModule> | |
</Directory> |
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
#!/usr/bin/python | |
# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
# | |
# Licensed under the Amazon Software License (the "License"). You may not use | |
# this file except in compliance with the License. A copy of the License is | |
# located at http://aws.amazon.com/asl/ or in the "license" file accompanying | |
# this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | |
# CONDITIONS OF ANY KIND, either express or implied. See the License for the specific | |
# language governing permissions and limitations under the License. |
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
DocumentRoot /usr/local/www/apache24/data/public | |
ServerName vagrant.local | |
AccessFileName .htaccess-dev | |
DirectoryIndex /index.php index.php | |
# Defining a worker will improve performance | |
# And in this case, re-use the worker (dependent on support from the fcgi application) | |
# If you have enough idle workers, this would only improve the performance marginally | |
<Proxy "fcgi://localhost:9000/" enablereuse=on max=10> | |
</Proxy> |
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
multi_line_start_pattern = {datetime_format} |
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\Models\Common; | |
/* | |
* Plugin: StreamlineFoundation | |
* | |
* Class: Schedule | |
* | |
* Description: Provides scheduling mechanics including creating a schedule, testing if a specific moment is part of the schedule, moving back |
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
module.exports = { | |
root: true, | |
env: { | |
browser: true, | |
}, | |
parserOptions: { | |
parser: 'babel-eslint', | |
sourceType: 'module', | |
}, | |
extends: [ |
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
'hidden' => Phar::running() ? [ | |
NunoMaduro\Collision\Adapters\Laravel\Commands\TestCommand::class, | |
NunoMaduro\LaravelConsoleSummary\SummaryCommand::class, | |
Symfony\Component\Console\Command\HelpCommand::class, | |
LaravelZero\Framework\Commands\MakeCommand::class, | |
LaravelZero\Framework\Commands\BuildCommand::class, | |
LaravelZero\Framework\Commands\InstallCommand::class, | |
LaravelZero\Framework\Commands\RenameCommand::class, | |
LaravelZero\Framework\Commands\StubPublishCommand::class, | |
Illuminate\Console\Scheduling\ScheduleRunCommand::class, |
OlderNewer