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
### Keybase proof | |
I hereby claim: | |
* I am jbdelhommeau on github. | |
* I am jbdelhommeau (https://keybase.io/jbdelhommeau) on keybase. | |
* I have a public key ASBKSomRtYHgYh63zHILfkl1VQgzuqzrMkYRjgOt6e5hKwo | |
To claim this, I am signing this object: |
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
<TaskOptions> | |
<TaskOptions> | |
<option name="arguments" value="fix --path-mode=intersection --using-cache=no $FilePathRelativeToProjectRoot$" /> | |
<option name="checkSyntaxErrors" value="true" /> | |
<option name="description" /> | |
<option name="exitCodeBehavior" value="ERROR" /> | |
<option name="fileExtension" value="php" /> | |
<option name="immediateSync" value="false" /> | |
<option name="name" value="Php cs fixer" /> | |
<option name="output" value="$FilePathRelativeToProjectRoot$" /> |
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; | |
use App\InvokeMe; | |
use App\Dependency2; | |
class CallMeBaby | |
{ | |
private $dep2; |
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
#!/bin/bash | |
repos="my-repo1 | |
my-repo2 | |
my-repo3" | |
# Git A source can be github, gitlab | |
GIT_A='gitlab.com' | |
GIT_A_ORGANIZATION='miahou' |
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
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(100); |
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
public function tree() | |
{ | |
$nbFiles = iterator_count($this->getInnerIterator()); | |
if ($this->io && $nbFiles > 0) { | |
$this->io->write('.'); | |
$currentDir = array(); | |
$depth = $countDir = 0; | |
foreach ($this->getInnerIterator() as $key => $file) { | |
$relativePath = $file->getRelativePath(); | |
if (empty($relativePath)) { |
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
this.context.treePath = [1,2,3]; | |
EAD.prototype.treePath = function() { | |
var treePath = this.context.treePath; | |
_.forEach(this.context.path, function(n) { | |
if (treePath[n] === undefined) { | |
treePath[n] = {}; | |
} | |
treePath = treePath[n]; | |
}, this); |
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
private function getFieldDataValue(NoticeDataLang $fieldData) | |
{ | |
if ($fieldData->getField()->getType() !== Field::TYPE_SET) { | |
return [$fieldData->getField()->__toForm() => $fieldData->getValue(false)]; | |
} | |
if ($fieldData->getChildren()) { | |
$childData = []; | |
foreach ($fieldData->getChildren()->toArray() as $child) { | |
array_push($childData, [$child->getPart() => $this->getFieldDataValue($child)]); |
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
$field1 = array( | |
array('field_14' => null, 'field_21' => array(array('field_22' => null, 'field_23' => null, 'field_24' => null)), 'field_19' => null, 'field_20' => null) | |
); | |
$field2 = array(); | |
$field3 = array('field' => 'test'); | |
$field4 = 'coucou'; |
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
{ | |
".insitu.sgm.mnesys.fr": { | |
"title": "[DEV] {title}", | |
"icon": "http://www.favicon.cc/favicon/414/753/favicon.png" | |
}, | |
"pma.insitu.sgm.mnesys.fr": { | |
"title": "{title}", | |
"icon": "{default}" | |
} | |
} |
NewerOlder