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
| { | |
| "files.autoSave": "onFocusChange", | |
| "editor.quickSuggestions": { | |
| "comments": true | |
| }, | |
| "files.associations": {}, | |
| "zenMode.hideLineNumbers": false, | |
| "php.debug.executablePath": "", | |
| "window.zoomLevel": 2, | |
| "update.mode": "none", |
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
| alias ls='ls -G' | |
| source $(brew --prefix)/etc/bash_completion.d/git-completion.bash | |
| source $(brew --prefix)/etc/bash_completion.d/git-prompt.sh | |
| export GIT_PS1_SHOWCOLORHINTS=true | |
| export GIT_PS1_SHOWDIRTYSTATE=true | |
| PS1='\h \W$(__git_ps1 " (%s)")\$ ' |
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
| { | |
| "name": "symfony/framework-standard-edition", | |
| "license": "MIT", | |
| "type": "project", | |
| "description": "The \"Symfony Standard Edition\" distribution", | |
| "autoload": { | |
| "psr-4": { | |
| "AppBundle\\": "src/AppBundle" | |
| }, | |
| "classmap": [ "app/AppKernel.php", "app/AppCache.php" ] |
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
| set nocompatible " Don't emulate old vi | |
| set autoindent " Indent at the same level of the previous line | |
| set sm " Show matching brackets/parenthesis | |
| set ruler " Show the ruler | |
| set nu " Show line numbers | |
| " Syntax highlighting | |
| if !exists("syntax on") | |
| syntax on | |
| endif |
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
| #!/bin/bash | |
| # Scroll direction: natural | |
| defaults write 'Apple Global Domain' com.apple.swipescrolldirection -bool FALSE | |
| # Set the timezone | |
| sudo systemsetup -settimezone "Europe/Paris" > /dev/null | |
| # Require password immediately after sleep or screen saver begins | |
| #defaults write com.apple.screensaver askForPasswordDelay -int 0 |
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
| setup_placeholders = (function() { | |
| $.support.placeholder = false; | |
| test = document.createElement('input'); | |
| if ('placeholder' in test) { | |
| $.support.placeholder = true; | |
| return function() {} | |
| } else { | |
| return function() { | |
| $(function() { |
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 | |
| $date = new DateTime(); | |
| $mockStatement = $this->getMock('Zend\Db\Adapter\Driver\Pdo\Statement'); | |
| $mockStatement->expects($this->once())->method('execute')->with($this->equalTo(array( | |
| 'timestamp' => $date->format(FormatterInterface::DEFAULT_DATETIME_FORMAT) | |
| ))); | |
| $mockDbDriver = $this->getMockBuilder('Zend\Db\Adapter\Driver\Pdo\Pdo') | |
| ->disableOriginalConstructor() |
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
| class ControlSpacesFixerTest extends \PHPUnit_Framework_TestCase | |
| { | |
| /* ... */ | |
| /** | |
| * @dataProvider testFixCallsProvider | |
| */ | |
| public function testFixCalls($call, $callFixed) | |
| { | |
| $fixer = new Fixer(); |
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
| [user] | |
| name = John Doe | |
| email = [email protected] | |
| [color] | |
| diff = auto | |
| status = auto | |
| branch = auto | |
| interactive = auto | |
| [alias] | |
| slog = log --pretty=format:'%Creset%C(red bold)[%ad] %C(blue bold)%h %Creset%C(magenta bold)%d %Creset%s %C(green bold)(%an)%Creset' --abbrev-commit --date=short |
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
| application.ini | |
| resources.log.stream.writerName = "Mail" | |
| resources.log.stream.writerParams.subjectPrependText = "website ERROR: " | |
| resources.log.stream.writerParams.email = "[email protected]" | |
| resources.log.stream.writerParams.replyto = "[email protected]" | |
| resources.log.stream.writerParams.to = "[email protected]" | |
| ErrorController.php | |
| // Log exception, if logger available | |
| if ($log = $this->getLog()) { |
NewerOlder