avatar
文章
109
标签
41
分类
12
📝主页
📱作品
📬联系
🧑‍💻关于
👋Harry Blog
搜索
📝主页
📱作品
📬联系
🧑‍💻关于

👋Harry Blog

PHP Image Text Centering
发表于2020-11-05|DevelopmentBackend|php
Use imagettfbbox to measure text box and center overlay text on an image.
Processes Threads Coroutines Explained
发表于2020-02-22|DevelopmentBackend|concurrency
Simple analogy overview of processes vs threads vs coroutines and when to mix them.
进程 线程 子进程 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');
PHP ZipArchive Add File Path Handling
发表于2020-02-21|DevelopmentBackend|php
Control internal directory structure when adding files to a ZipArchive.
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+' step:'+query)...
Async Await Promise Demo
发表于2020-02-16|DevelopmentFrontend|javascript
Sequential async steps with decreasing latency using await.
1…111213…16
avatar
Harry
文章
109
标签
41
分类
12
关于
最新文章
comfyui通过Api请求报错,通过comfyui界面执行正常2025-04-18
ComfyUI workflow fails via API but succeeds in UI2025-04-18
Edit Video Duration Metadata2025-03-16
修改视频元信息时长 duration修改2025-03-16
comfyui gemeni apikey 配置2025-03-15
分类
  • Development50
    • Backend29
      • Database2
    • Frontend19
    • Tools1
  • Note3
  • 开发53
    • 前端21
    • 后端31
      • 数据库3
    • 工具1
  • 随笔3
标签
字体 java video mysql uniapp struct Vue.js jar PHP go wechat 进程/线程 MQTT electron MySQL font canvas emoji php javascript 视频 apicloud vcard comfyui 绘图 ComfyUI vue nginx Go mqtt axios git windows html Nginx ApiCloud payment python concurrency JS
归档
  • 四月 2025 2
  • 三月 2025 3
  • 十月 2024 2
  • 五月 2024 6
  • 五月 2023 2
  • 四月 2023 8
  • 三月 2023 4
  • 十一月 2022 6
© 2017 - 2025 By Harry
搜索
数据加载中