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
{ | |
"PRETTY BASIC CONSOLE LOG": { | |
"prefix": "pcl", | |
"body": [ | |
"console.log({", | |
"\tscene: \"$TM_FILENAME - $TM_LINE_NUMBER\",", | |
"\ttrunk: $1", | |
"});$2" | |
], | |
"description": "Print log with pretty way" |
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
{ | |
"PRP TAG": { | |
"prefix": "prp", | |
"body": [ | |
"echo \"<pre>\". print_r([", | |
"\t\"$TM_FILENAME - $TM_LINE_NUMBER\",", | |
"\t$$1", | |
"], 1) .\"</pre>\";$2" | |
], | |
"description": "PRP TAG" |
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 | |
// turn on strict type mode. | |
declare (strict_type = 1); | |
/** | |
* build your own random string. | |
*/ | |
function make_rand(int $key_length = 0, string $new_space = null): string | |
{ |