I hereby claim:
- I am michael-lefebvre on github.
- I am michaellefebvre (https://keybase.io/michaellefebvre) on keybase.
- I have a public key ASAC4r-DKMXVdg6snb0amy35fYfmgRgFb7JPm_B8Xa3cRgo
To claim this, I am signing this object:
const chunk = (arr, chunkSize, cache = []) => { | |
const tmp = [...arr]; | |
if (chunkSize <= 0) return cache; | |
while (tmp.length) cache.push(tmp.splice(0, chunkSize)); | |
return cache; | |
}; | |
const trimBasename = (path) => path; | |
const normalizeSlashes = (path) => path.replace(/\/\/+/g, '/'); | |
const splitPath = (path) => | |
normalizeSlashes(path).split('/').filter(Boolean) |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Dot notation for access multidimensional arrays. | |
* | |
* $dn = new DotNotation(['bar'=>['baz'=>['foo'=>true]]]); | |
* | |
* $value = $dn->get('bar.baz.foo'); // $value == true | |
* | |
* $dn->set('bar.baz.foo', false); // ['foo'=>false] | |
* |