- Passer sur le ListController de ev-fdm
- Revoir le système de filtres
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 | |
class Discussion | |
{ | |
private $id; | |
private function __construct(DiscussionId $discussionId) | |
{ | |
$this->id = $discussionId; | |
} |
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
function test($closure, $name = null, $loop = 1000000) { | |
$start = microtime(true); | |
for($i = 0; $i < $loop; $i++) { | |
$closure(); | |
} | |
$time = microtime(true) - $start; | |
if($name) { |
- Personal names around the world
- Falsehoods programmers believe about names
- Naming conventions in Europe, Asia and North Africa
- These unlucky people have names that break computers
- Chinese first and last names (the short version)
- Here a more examples about names
Not really related to I20n but here is where I keep all things we tend to do poorly about our users data.
#Git-hooks
*pre-commit : Checks phpcs rules against files in the index (after git add) before allowing you to commit. *post-merge/post-checkout : Run composer if needed and display a message if parameters.yml.dist is changed
You can add a file called config with your githooks to override some of the scripts options.
You should install ponysay and
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
var module = angular.module('Test', []); | |
module.service('TestService', ['ServiceA', function(serviceA) { | |
}]); | |
module.service('ServiceA', function() { | |
// First implementation of Service A | |
}); | |
module.service('ServiceABis', function() { |
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
angular.module('Prism', []). | |
directive('prism', [function() { | |
return { | |
restrict: 'A', | |
link: function ($scope, element, attrs) { | |
element.ready(function() { | |
Prism.highlightElement(element[0]); | |
}); | |
} | |
} |
NewerOlder