Posts related to programming category
How to copy image and text to clipboard with JavaScript
- 18 Oct, 2020
I used to saw my colleague add a 30kb lib only to implement a copy function that when the user clicks on a text, copy it to the clipboard.
Read More如何在电脑上调试手机真机网页以及微信浏览器网页
- 15 Sep, 2020
遇到个需求需要调试在微信中打开的网页。之前没有做过,搜了一圈那个所谓的在微信对话框中打开debugx5.qq.com的方法已经过时无用, 打开就显示你所使用对内核非X5内核。至于TBStool更是在2017年就已经停止更新,打开就闪退,浪费时间安装。看来因为开发人员对QQ搞
Read MoreUse git archive to zip your source code
- 29 Aug, 2020
To zip compiled project file is easy, normally I just use [archivejs](), write a small nodejs script, and then add a script in `package.jso
Read Morehow to use jQuery with TypeScript
- 06 Aug, 2020
It's 2020, why do you still need to use jQuery?Yeah, jQuery has 53.8k stars on Github. And still, there are more than 97% of websites are
Read More