This file contains hidden or 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 = function (grunt) { | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON("package.json"), | |
| uglify: { | |
| js_path: { | |
| files: { | |
| 'public/js/site.min.js': [ | |
| 'public/assets/site/js/boostrap.min.js', | |
| 'public/assets/site/js/cookie.js', | |
| 'public/assets/site/js/jquery.backstretch.min.js', |
This file contains hidden or 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
| Travaux\VariantRetriever\Retriever\VariantRetrieverInterface: | |
| class: Travaux\VariantRetriever\Retriever\VariantRetriever | |
| calls: | |
| - addExperiment: | |
| - !service | |
| class: Travaux\VariantRetriever\ValueObject\Experiment | |
| arguments: | |
| - 'welcome-email-experiment' | |
| - !service | |
| class: Travaux\VariantRetriever\ValueObject\Variant |
This file contains hidden or 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
| services: | |
| App\FeatureFlag\VariantRetriever: | |
| factory: ['@Travaux\VariantRetriever\Factory\VariantRetrieverFactory', 'createVariantRetriever'] | |
| public: true | |
| arguments: | |
| - welcome-email-experiment: | |
| - control-email: 50 | |
| - participant-email: 50 | |
| - display-cta: | |
| - control-cta: 75 |
This file contains hidden or 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\EventSubscriber; | |
| use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
| use Symfony\Component\HttpFoundation\ParameterBag; | |
| use Symfony\Component\HttpFoundation\Request; | |
| use Symfony\Component\HttpKernel\Event\FilterControllerEvent; | |
| use Symfony\Component\HttpKernel\Event\GetResponseEvent; | |
| use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; |
This file contains hidden or 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
| <div class="row"> | |
| <div class="col-md-3"> | |
| {{template "Navigation" .}} | |
| </div> | |
| <div class="col-md-9"> | |
| {{template "ResourceGroups" .}} | |
| </div> | |
| </div> |
This file contains hidden or 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\Doctrine; | |
| use Doctrine\DBAL\Platforms\Keywords\PostgreSQL94Keywords; | |
| use Doctrine\DBAL\Platforms\PostgreSQL94Platform; | |
| /** | |
| * Provides the behavior, features and SQL dialect of the PostgreSQL 10.0 database platform. | |
| */ |
This file contains hidden or 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\Doctrine\Driver; | |
| use Doctrine\DBAL\Schema\PostgreSqlSchemaManager; | |
| use Doctrine\DBAL\Schema\Sequence; | |
| class Postgre10SqlSchemaManager extends PostgreSqlSchemaManager | |
| { | |
| /** |
This file contains hidden or 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\Doctrine\Driver; | |
| use Doctrine\DBAL\Driver; | |
| use Doctrine\DBAL\Driver\PDOPgSql\Driver as ParentDriver; | |
| use App\Doctrine\Driver\Postgre10SqlSchemaManager; | |
| use App\Doctrine\PostgreSQL100Platform; | |
| class PDOPgSqlDriver extends ParentDriver implements Driver |
This file contains hidden or 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
| package main | |
| import ( | |
| "encoding/csv" | |
| "fmt" | |
| "github.com/traildb/traildb-go" | |
| "log" | |
| "os" | |
| ) |
This file contains hidden or 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
| package main | |
| import ( | |
| "crypto/md5" | |
| "encoding/hex" | |
| "fmt" | |
| "github.com/traildb/traildb-go" | |
| "golang.org/x/blog/content/context/userip" | |
| "gopkg.in/yaml.v2" | |
| "io/ioutil" |
NewerOlder