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
<?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
/** | |
* 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
'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, |
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
$handler = new StreamHandler($path); | |
$handler->setFormatter(new LineFormatter(null, "Y-m-d H:i:s", true, true)); | |
Log::channel('upkfile')->getLogger()->popHandler(); | |
Log::channel('upkfile')->getLogger()->pushHandler($handler); |
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
<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
<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
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
; See https://spot13.com/pmcalculator/ for configuration | |
; Start a new pool named 'www'. | |
; the variable $pool can be used in any directive and will be replaced by the | |
; pool name ('www' here) | |
[www] | |
; Per pool prefix | |
; It only applies on the following directives: | |
; - 'access.log' | |
; - 'slowlog' |
OlderNewer