摘要:
Web workders的规范让javascript在后台运行脱离了UI线程,从而解决了大量计算阻塞UI线程导致卡死的问题。 在Web workers没有出现之前,我们可以使用window.setTimeout 异步方式将计算包裹其中,来解决这种问题。 1. 使用 Web Workers Web W 阅读全文
posted @ 2023-02-14 17:39
箫笛
阅读(109)
评论(0)
推荐(0)
摘要:
shell-dsr/cron.sh #!/usr/bin/bash # execute shell script ################################################### # load utils . ./util/utils.sh declare -A 阅读全文
posted @ 2023-02-14 16:23
箫笛
阅读(50)
评论(0)
推荐(0)
摘要:
shell-dsr/utils.sh #!/usr/bin/bash # echo message with color ######################################################## function echoError { echo -e "\0 阅读全文
posted @ 2023-02-14 16:15
箫笛
阅读(89)
评论(0)
推荐(0)
摘要:
shell-dsr/updateVersionFlow.sh #!/usr/bin/bash # get current pwd pwd=$PWD # sync mock json for mc # . ./syncMockJson.sh declare -A versionDic versionD 阅读全文
posted @ 2023-02-14 16:06
箫笛
阅读(24)
评论(0)
推荐(0)
摘要:
~/.vim/my_configs.vim " Usefull setting set thesaurus+=~/js-functions.txt set thesaurus+=~/js-lodash.txt " Useful mappings " vnoremap <leader>. gv:wri 阅读全文
posted @ 2023-02-14 11:36
箫笛
阅读(37)
评论(0)
推荐(0)
摘要:
~/.bashrc # change cursor alias cl='echo -ne "\e[6 q"' alias cb='echo -ne "\e[2 q"' # set bash command line as vi mode # set -o vi # set CDPATH enviro 阅读全文
posted @ 2023-02-14 11:05
箫笛
阅读(40)
评论(0)
推荐(0)

浙公网安备 33010602011771号