avatar
文章
59
标签
30
分类
6
📝主页
🏆项目
📬联系
🧑‍💻关于
🌐En
👋HarryBlog
搜索
📝主页
🏆项目
📬联系
🧑‍💻关于
🌐En

👋HarryBlog

进程 线程 子进程 About Processes,Threads,Coroutine
发表于2020-02-22|开发后端|进程/线程
here is a story to explain what Processes,Threads,Coroutine is,andunderstanding of parallel and concurrent programming 1.Parallel and Concurrent Parallel: simultaneous execution of multiple tasks Concurrent Multiple tasks are executed alternately on the same processor 2.Processesmean program in progress strengths and weaknessesstrengths: more stability and safety weaknesses: require more resource overhead when processe swiching IPC is complex and time-consuming 3.ThreadsThread contained...
PHP ZIPARCHIVE 压缩文件处理目录结构 PHP ZIPARCHIVE directory structure
发表于2020-02-21|开发后端|PHP
PHP ZIPARCHIVE 压缩文件处理目录结构 Prevent directory structure in compressed package $flag = $zip->open($filePath, \ZIPARCHIVE::CREATE);if ($flag!== TRUE) { //if Linux,need check file authorization exit("open file err="+$flag);}//add test.php to zip file $zip->addFile('test.php');// run rename$zip->renameName('test.php','test.php');
async await promise demo
发表于2020-02-16|开发前端
async await promise 实例 video demo function step1(query) { return new Promise((success) => { let waiting=2000; setTimeout(() => { success('wait-time:'+waiting+' step:'+query); }, waiting); });}function step2(query) { return new Promise((success) => { let waiting=1000; setTimeout(() => { success('wait-time:'+waiting+'...
axios表单形式提交数据 axios post data by form type
发表于2020-02-15|开发前端|axios
axios post data by form type,axios application/x-www-form-urlencoded request({ // url: '', transformRequest: [function(data) { let ret = '' for (let it in data) { ret += encodeURIComponent(it) + '=' + encodeURIComponent(data[it]) + '&' } return ret }], headers: { 'Content-Type':...
武汉肺炎冠状病毒疫情信息接口Api
发表于2020-02-08|随笔
中国武汉肺炎疫情信息统计接口Api 每天自动更新,含各国家和中国各城市历史统计 武汉加油 中国加油 众志成城 共渡难关!
git重置成新仓库 git reset to new repository
发表于2020-01-01|开发工具|git
git重置成新仓库 git reset to new repository git checkout –orphan latest_branch git add -A git commit -am “commit message” git branch -D master git branch -m master git push -f origin master one line: git checkout –orphan latest_branch && git add -A && git commit -am “commit message” && git branch -D master && git branch -m master && git push -f origin master
wechat ban domain check
发表于2019-08-15|开发前端|PHP
wechat ban domain check! $domain = 'https://baidu.com';$domain = urlencode($domain);$wxCheckUrl = 'https://weixin110.qq.com/cgi-bin/mmspamsupport-bin/newredirectconfirmcgi?main_type=2&evil_type=20&source=2&url=';$wxCheckUrl .= $domain;file_get_contents($wxCheckUrl);file_put_contents(uniqid().'.txt',json_encode($res));
1…6789
avatar
Harry
文章
59
标签
30
分类
6
联 系
最新文章
comfyui通过Api请求报错,通过comfyui界面执行正常2025-04-18
修改视频元信息时长 duration修改2025-03-16
comfyui gemeni apikey 配置2025-03-15
ffmpeg 中文乱码 windows2024-10-15
canvas绘制文字彩虹弯曲弧形效果 Vue.js2024-05-25
分类
  • 开发53
    • 前端21
    • 后端31
      • 数据库3
    • 工具1
  • 随笔6
标签
comfyui payment MySQL uniapp Python electron Vue.js 马拉松 git 视频 MQTT axios jar ComfyUI 字体 php 跑步 JS Go 绘图 Nginx canvas ApiCloud go vcard PHP struct 进程/线程 公益 python
归档
  • 四月 2025 1
  • 三月 2025 2
  • 十月 2024 1
  • 五月 2024 3
  • 五月 2023 1
  • 四月 2023 4
  • 三月 2023 3
  • 十一月 2022 3
©2017 - 2025 By Harry
搜索