# dossier .ssh
drwxr-xr-x 2 myuser mygroup 4096 oct. 18 20:11 .
drwx------ 21 myuser mygroup 4096 dΓ©c. 30 10:59 ..
-rw-r--r-- 1 myuser mygroup 803 oct. 18 20:11 authorized_keys
-rw------- 1 myuser mygroup 1675 oct. 16 15:43 id_rsa
-rw-r--r-- 1 myuser mygroup 404 oct. 16 15:43 id_rsa.pub
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
| <# | |
| .Synopsis | |
| Formate une sortie console ANSI | |
| .DESCRIPTION | |
| Cette commande interprΓͺte les commande ansi | |
| ESC[PL;PcH | |
| ESC[PL;Pcf | |
| ESC[PnA | |
| ESC[PnB | |
| ESC[PnC |
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
| var Q = function(querry){ | |
| return document.querySelector(querry); | |
| }; | |
| var Qs = function(querry){ | |
| querry=document.querySelectorAll(querry); | |
| querry.forEach||(querry=Array.from(querry)); | |
| return querry; | |
| }; | |
| var SE = function(item){ | |
| return item.parentNode.removeChild(item); |
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
| [xDebug] | |
| zend_extension = php_xdebug-2.4.0-7.0-vc14-x86_64.dll | |
| xdebug.remote_enable=on | |
| xdebug.remote_handler=dbgp | |
| xdebug.remote_host=localhost | |
| xdebug.remote_port=9000 | |
| xdebug.collect_params=4 | |
| xdebug.collect_assignments=1 |
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
| /** | |
| * génère un nnombre aléatoire | |
| * @param minmax | |
| * seul argument : limite max de nombre alΓ©atoire | |
| * 1er argumet : limite minimum | |
| * @param max limite maximum | |
| **/ | |
| const randomInt = (minmax: number, max = 0): number => { | |
| let min: number; | |
| if (max !== undefined) { |
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
| composer require --dev phpunit/phpunit | |
| composer require --dev squizlabs/php_codesniffer | |
| composer require --dev phpstan/phpstan | |
| composer require --dev ocramius/package-versions | |
| wget "https://gist.github.com/fzed51/1ad76506ce5dd47a88efda449723750a/archive/ab318f190a80008262cd01b4627b4e6aabbe8b3b.zip" -OutFile ./gist.zip | |
| 7z e .\gist.zip -o'.' */*.xml | |
| 7z e .\gist.zip -o'.' */*.neon | |
| 7z e .\gist.zip -o'.' */*.php | |
| del ./gist.zip | |
| php ./add-composer-scripts.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
| # created at : 2021-12-09 | |
| # updated at : 2024-06-16 | |
| # title font : ANSII Regular | |
| # subtitle font : Small | |
| # ββββββ βββββββ | |
| # ββ ββ ββ | |
| # ββ ββ βββββββ | |
| # ββ ββ ββ | |
| # ββββββ βββββββ |
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
| [core] | |
| autocrlf = true | |
| [credential] | |
| helper = manager-core | |
| [color] | |
| ui = auto | |
| [alias] | |
| st = status --branch --short | |
| df = diff | |
| ck = checkout |
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
| @startuml | |
| !define table(x) class x << (T,#CCCCFF) >> | |
| !define view(x) class x << (V,#CCFFCC) >> | |
| !define pk(x) #<u><b>x</b></u> | |
| !define un(x) -<b>x</b> | |
| !define ix(x) +<b>x</b> | |
| !define fk(x,y) ~x <i>references y</i> | |
| !define pfk(x,y) #<u><b>x</b></u> <i>references y</i> | |
| !define ifk(x,y) +<b>x</b> <i>references y</i> |
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
| const handler = | |
| <K extends keyof Struct>(prop: K) => | |
| <V extends Struct[K]>(value: V) => { | |
| onChange({ | |
| ...struct, | |
| [prop]: v, | |
| }); | |
| }; |
OlderNewer