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
import { v4 as uuid } from 'uuid'; | |
export function generateId() { | |
return uuid(); | |
} | |
const v4 = new RegExp(/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i); | |
console.log(generateId().match(v4)); | |
//console.log(generateId().length) |
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
; path to your php_xdebug extension file | |
; download from https://xdebug.org/wizard.php | |
zend_extension="c:\xampp-php7\php\ext\php_xdebug-2.4.0-7.0-vc14.dll" | |
; disables profiler globally | |
xdebug.profiler_enable = 0 | |
; allows enabling it selectively with request parameter "XDEBUG_PROFILE" | |
xdebug.profiler_enable_trigger = 1 | |
; directory to output profiler files to | |
xdebug.profiler_output_dir = "C:\xampp-php7\tmp" | |
; profiler file name (with request uri and timestamp) |