- https://baijiahao.baidu.com/s?id=1564092687048361&wfr=spider&for=pc
- https://www.jianshu.com/p/963973835545
window.open(http://wpa.qq.com/msgrd?v=3&uin=${qidianNumber}&site=qq&menu=yes
)
移动端 h5: window.open(mqqwpa://im/chat?chat_type=wpa&uin=${qqNumber}&version=1&src_type=web&web_src=oicqzone.com
);
window.open(tencent://Message/?Uin=${qidianNumber}&websiteName=qtrade.com.cn&Menu=yes
)
- or
- or
- or
- merge directories
- show file/directory size
- show file/directory info
- open a file with the default program
- zip a directory
- unzip a directory
- peek files in a zip file
- list directory contents
- tree view a directory and its subdirectories
- find a stale file
- show a calendar
- find a future date
- use a calculator
- force quit a program
- check server response
- view content of a file
- search for a text
- view an image
- show disk size
- check performance of your computer
- Quick tips
- Hotkeys
- 缓存
- 教程
- 阮一峰技术博客
- 前端开发
- 终端命令
- 经济理财
- 提升效率,小工具,批量处理命令
- 各种技术问题汇总及解决方案
- 前端清理缓存
<meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="Cache-Control" content="max-age=0, no-cache, no-store, must-revalidate"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Expires" content="-1">
- nginx 配置缓存
add_header "Cache-Control" "max-age=0, no-cache, no-store, must-revalidate"; add_header "Pragma" "no-cache"; add_header "Expires" "-1"; }
- 搜索关键字,指南,流程,教程
- 事实上,今天任何一家公司都可以自建像亚马逊一样的网店。在美国,你可以使用 Shopify 建店,在社交媒体做广告,使用 Stripe 处理支付,通过 ShipBob 管理库存和订单,用 Returnly 处理退货,用 DarkStore 提供当日送货服务。这些 SaaS 服务的成本只需要几百美元,让你可以向消费者提供跟亚马逊一样的服务。
- playwright
- 一个支持 Chrome、Safari、Firefox、Edge 的浏览器自动化工具,即一个自动化脚本对所有浏览器都有效,由 Puppeteer 团队出品。
- 开源的短链接生成器,基于 Node.js,允许自定义短链接、设置链接密码,还提供访问统计
- 一个 JavaScript 语言的 OCR 库,可以在网页运行,识别图片中的文字。它支持 100 多种文字,包括中文。
- 中文的密码学入门介绍,向非专业读者介绍了密码学的基本概念,没有涉及到技术细节。
- 顶部进度条,一个网页顶部进度条的 JS 库
- 一个基于 Python 的开源金融数据接口库,目的是实现股票、期货等金融产品从数据采集、数据清洗到数据下载的工具,满足金融数据科学家、数据科学爱好者在数据获取方面的需求
- HTML 源码转换为 Markdown 的 JS 库,可以定制规则
- 一个在线生成数学函数图形的网页小工具
- 一个 Python 代码的加密器,可以防止别人看脚本源码
- es2020 新特性
- 前端面试复习笔记
- 无线电波的历史
- 现代医学 200 年,新英格兰医学杂志
- 如何用网页脚本追踪用户
- 只需要 5 秒的真人语音,就可以提取语音特征,然后任何文本都可以转成该人的语音
- 浏览器禁用三方 Cookie 的分析
- 一个纯 CSS 库,提供各种形状的背景图案
- 另一个纯 CSS 库,提供各种形状的背景图案
- Web Worker 使用教程
- 浏览器数据库 indexedDB
- Node 调试工具入门教程,chrome 浏览器调试 node
- node 事件循环 node-event-loop
- Ramda 函数库参考教程
- npm scripts 使用指南
- Node.js 命令行程序开发教程
- 字符编码笔记:ASCII,Unicode 和 UTF-8
- 关于 Unix 哲学,软件开发的原则
- 互联网协议五层架构 1
- 互联网协议五层架构 2
- 代码抽象原则
- 一个函数或模块只做一件事情,复杂功能通过组合实现,少用继承
- 不要重复自己,抽象化
- 不要复杂化,尽快让软件运行起来
- 2,3 有冲突,可行性方案是重复三次以上才抽象化提取封装
- DNS 原理入门 DNS 查找
- 黑白照片变成彩色照片,照片着色,照片彩色化
- 语种名称代码,语言包标识
- OWASP 安全开发指南
- HTML Email 编写指南, 邮件中潜入 html
- css 动画介绍
- 理解 OAuth 2.0 授权
- RESTful API 设计指南
- RESTful API 设计指南
- MVC,MVP 和 MVVM 的图示
- 随机输出格言
- git flow git 提交流程
- Emoji 简介,Emoji 编程,Emoji 嵌入
- 双因素认证(2FA)教程
- bash 脚本 set 命令教程
- DDOS 攻击的防范教程
- 命令行通配符教程
- Page Lifecycle API 教程,页面生命周期,网页生命周期
- 找回密码的功能设计
- 普通人的网页配色方案
- CSS Grid 网格布局教程
- GitHub OAuth 第三方登录示例教程
- 一个适用于中小企业的轻量级服务器自动化运维管理平台,界面为中文。功能包含主机管理、主机批量执行、主机在线终端、应用发布部署、端口监控、报警等
- 定价心理学,定价策略,定价技巧
- Nginx 的图形配置界面,点几下鼠标,自动生成配置文件,可以上传到服务器
- 一个在线编写幻灯片的服务
- Leetcode 前 300 题,每道都进行了详细通俗的分析,并且提供多种思路解法
- 如何分析照片的地理信息
- 如何用链判断运算符?.重构代码
- KeePass:最安全的密码管理器
- DNS 查询的原理
- CSS 三角形生成器
- Scroll to text fragment 生成器,自动滚动到指定文字
- 网页录屏器,但是生成的录像文件的体积远远小于传统视频
- 根据用户的唯一 ID,自动生成头像图片的 JS 库
- 施普林格的免费书籍
- 电梯效果滚动到顶部
- 一个纯前端的在线图片格式转换工具,可以快速将图片转为另一种格式,并且提供多个参数可以调节
- 一个在线的项目管理软件,用于 Bug 管理,比 Jira 用法简单
- 如何不靠运气变得富有
- 前端 word to HTML, 前端处理 zip, 前端 word to markdown, 前端生成 word 文档
- 前端处理 word 文档,Mammoth.js 把 word 文档转换成 html,markdown,Text
- 前端处理 zip 文件,JSZip 是一个用于创建、读取和编辑 「.zip」 文件的 JavaScript 库
- 前端读写 excel 数据到 XLSX and JSON
- 前端动态生成 word 文档, html to word 文档
- LeetCode 的解答, 力扣解答
- 该网站提供一系列可以在线使用的 AI 工具,比如识别物体、识别手写数字、老照片着色、绘画生成等等
- 面试算法小抄,leetcode,动态规划,数据结构,算法思维
- css 渐变代码片段
- 任何文本实现 3D 效果 ztext.js
- 通过一段加密文本判断使用的加密算法,使用人工智能算法
- 各种好用的在线工具
- 一个开源的在线工具,可以为小视频加上水印图片
- 该网站提供 Youtube 上面没有版权保护的背景音乐下载
- 该网站收集各种常用的正则表达式,比如搜索"email",会返回 961 个正则表达式
- 正则表达式图形化,帮助更好的理解正则表达式
- markdown 转 pdf,markdown to pdf
- 计算机教育中缺失的一课, 各种命令行,文本编辑器等等各种工具
- 一个简易的 HTML Editor
- vue3 源码分析
- IT 初学者教程
- 大转盘抽奖
- 介绍如何构建一套可靠的分布式大型软件系统, 系统架构,架构师必备,架构设计,凤凰架构,大型分布式系统
- 游戏编程模式, 设计模式(英文)
- 游戏编程模式, 设计模式(中文)
- Crafting Interpreters 编程语言解释器
- 合同示范文本库
- 一个在线画流程图的网站,脑图,思维导图
- 一行简单的 bash 命令行,学习 bash 命令行的实例,处理工作中的任务
- 变成语言和工具速查表,如 bash 语法,nginx 配置,vim 快捷键及教程,linux 命令,git 命令,githubActions,http 状态码,html 字符实体,Emoji 清单,流行手机、平板电脑、笔记本电脑和手表的屏幕尺寸、可视窗口尺寸和 CSS 媒体查询
- 在线设计软件,平面设计,在线平面设计软件
- 录制演示代码,这个工具提供一个 Web IDE,用于让用户演示代码操作。它可以把操作过程录制下来,像视频一样播放,但实际是一个小体积的脚本,便于分享和传播。
- LeetCode 解题指南, 算法全解含多种语言,algorithm
- 开源算法库,github 开源算法,the algorithms
- 网站可视化显示全国各个城市的地铁概况,包括每日的客流量
- gitlab
- Snipaste.exe(可以把截图固定到屏幕上,很好用的软件)
- jinkens
- webpack
- react react-router react-redux mobx
- 淘宝镜像配置,node-sass
vi file in ~/.npmrc
这里使用了淘宝镜像,添加以下内容到文件中
registry=https://registry.npm.taobao.org
disturl=https://npm.taobao.org/dist
chromedriver-cdnurl=https://npm.taobao.org/mirrors/chromedriver
couchbase-binary-host-mirror=https://npm.taobao.org/mirrors/couchbase/v{version}
debug-binary-host-mirror=https://npm.taobao.org/mirrors/node-inspector
electron-mirror=https://npm.taobao.org/mirrors/electron/
flow-bin-binary-host-mirror=https://npm.taobao.org/mirrors/flow/v
fse-binary-host-mirror=https://npm.taobao.org/mirrors/fsevents
fuse-bindings-binary-host-mirror=https://npm.taobao.org/mirrors/fuse-bindings/v{version}
git4win-mirror=https://npm.taobao.org/mirrors/git-for-windows
gl-binary-host-mirror=https://npm.taobao.org/mirrors/gl/v{version}
grpc-node-binary-host-mirror=https://npm.taobao.org/mirrors
hackrf-binary-host-mirror=https://npm.taobao.org/mirrors/hackrf/v{version}
leveldown-binary-host-mirror=https://npm.taobao.org/mirrors/leveldown/v{version}
leveldown-hyper-binary-host-mirror=https://npm.taobao.org/mirrors/leveldown-hyper/v{version}
mknod-binary-host-mirror=https://npm.taobao.org/mirrors/mknod/v{version}
node-sqlite3-binary-host-mirror=https://npm.taobao.org/mirrors
node-tk5-binary-host-mirror=https://npm.taobao.org/mirrors/node-tk5/v{version}
nodegit-binary-host-mirror=https://npm.taobao.org/mirrors/nodegit/v{version}/
operadriver-cdnurl=https://npm.taobao.org/mirrors/operadriver
phantomjs-cdnurl=https://npm.taobao.org/mirrors/phantomjs
profiler-binary-host-mirror=https://npm.taobao.org/mirrors/node-inspector/
puppeteer-download-host=https://npm.taobao.org/mirrors
python-mirror=https://npm.taobao.org/mirrors/python
rabin-binary-host-mirror=https://npm.taobao.org/mirrors/rabin/v{version}
sass-binary-site=https://npm.taobao.org/mirrors/node-sass
sodium-prebuilt-binary-host-mirror=https://npm.taobao.org/mirrors/sodium-prebuilt/v{version}
sqlite3-binary-site=https://npm.taobao.org/mirrors/sqlite3
utf-8-validate-binary-host-mirror=https://npm.taobao.org/mirrors/utf-8-validate/v{version}
utp-native-binary-host-mirror=https://npm.taobao.org/mirrors/utp-native/v{version}
zmq-prebuilt-binary-host-mirror=https://npm.taobao.org/mirrors/zmq-prebuilt/v{version}
- 装饰器
- git 学习路径
- nginx 安装配置
- [跨平台错误日志系统 sentry]
- 录屏软件,evcapture
- gif 录屏工具,录屏软件,在百度网盘 software 文件夹中
- Mocha、Ava、Jest 是目前非常流行的三大 JavaScript 测试框架,本文对它们进行了比较,每个框架最合适的运行场景。
- 本文用清晰的图形解释了五种 Git 工作流程,比如上图是 master - develop - feature 的工作流程
- 一个网页表格库,类似 Excel 的效果。
- 一个开源的富文本编辑器,功能丰富。
- 这个网站提供一个 API,可以让你定制想要的随机数据,以 JSON 格式返回。
- 一个 SVG 图片(主要是图标)的搜索引擎。
- 微前端
- Apache
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</IfModule>
- nginx
location / {
try_files $uri $uri/ /index.html;
}
- 原生 node.js
const http = require("http");
const fs = require("fs");
const httpPort = 80;
http
.createServer((req, res) => {
fs.readFile("index.htm", "utf-8", (err, content) => {
if (err) {
console.log('We cannot open "index.htm" file.');
}
res.writeHead(200, {
"Content-Type": "text/html; charset=utf-8",
});
res.end(content);
});
})
.listen(httpPort, () => {
console.log("Server listening on: http://localhost:%s", httpPort);
});
- 一个实现各类图形的 CSS 库
- custom react hooks
- 128.精读《Hooks 取数 - swr 源码》.md
- 操作 cookie 类库,cookie.js
- 不同模块共享数据,通过订阅发布模式实现
- javascript 操作 css3 动画
- 方便操作键盘上每个键的键位码
- 检测用户的设备
- 类型检查检测
- 快来试试这款非阻塞式,小清新的通知插件吧,对移动端有好,界面好到爆炸啊
- 一键分享到微博、QQ 空间、QQ 好友、微信、腾讯微博、豆瓣、Facebook、Twitter、Linkedin、Google+、点点等社交网站。
- js 自带的数学运算不能满足你的需求了,那试试这个,扩展了很多数学运算
- 一个 Web Components 组件库,非常易用
- 国内连接 npm 源服务器很慢,tbify 这个工具可以自动将 npm、yarn 等包管理工具连上国内的淘宝镜像,对工具和系统都是非侵入性的
- 在线工具,让一张平面图片变成 3D 书籍封面
- 谷歌发布的英文教程,没有高深的数学,向初学者介绍 TensorFlow 和深度学习
- 一个只用 HTML 和 CSS 实现的扫雷游戏,不使用 JavaScript
- React 的表格组件库,新的 7.0 版完全采用 Hooks 设计
- fullpage.js, vue,react 版本,全屏展示页面
- 跨浏览器兼容满屏 API
- 时间控件 moment.js
- 多点触摸类库
- 根据垂直空间显示网格块
- slick.js 响应式,无限循环及更多功能的轮播组件
- React 的时间轴组件,react-chrono
- 网页瀑布流的布局库,Masonry
- 一个命令行的视频处理工具,属于 FFmpeg 的包装库,提供简单易用的语法格式。
- Diode 可以将本机(localhost)的网站公开到互联网上,提供一个二级域名,使得外部用户可以访问。
- 一个在线电台,播放适合工作时收听的音乐,提供几个不同风格的频道,比如平静的音乐或有节奏感的音乐
- 惰性求值
- curry 化
- 闭包
- 高阶函数
- 函数式编程
- compose
- 中间件
- 依赖注入
- flex 和 grid
- 框架类库源码分析
- 精读《Vue3.0 Function API》
- 精读《Function Component 入门》
- 一篇看懂 React Hooks, 精读《React Hooks 最佳实践》
- promise, generator, async await
- 数据结构与算法
- how to build your own react
- 一个 TypeScript 写的 JavaScript 解析器,也就是说使用 JavaScript 解析 JavaScript,支持最新的 ES2020 语法
- 百度统计(机型统计,品牌统计,系统统计,分辨率统计等等)
- [跨平台错误日志系统 sentry]
-
mac
- 批量创建文件夹,mkdir dir{1..20} 批量创建文件夹名字是 dir1-dir20
- 批量创建文件, touch file{..20}.js 批量创建文件名字是 file1.js-file20.js
- 批量删除空文件夹, rmdir dir{2..5} 如果非空文件夹需要使用 sudo rm -r -f dir{1..2}
- 批量删除文件, rm file{1..5}.js
- 单个文件重命名 mv 原名 新名, 如 mv 1.js 2.js 1.js->2.js
- 批量重命名 for i in *.js; do mv
$i $ {i//.js/.html}; done - cd 跳转到某个目录
- ls 查看目录下到文件
- 17 世纪荷兰郁金香泡沫,18 世纪英国南海公司发行股票大骗局,其中大科学家牛顿就亏损了 2 万多英镑,相当于他 10 年总收入之和,1929-1933 美国经济大萧条,1997-1998 亚洲金融危机,2000-2001 年互联网金融泡沫,2007-2008 次贷危机。
-
微信双开批处理命令使用 windows 系统(其实可以扩展到多开任何应用程序)
@echo off start "" "C:\Program Files (x86)\Tencent\WeChat\WeChat.exe" start "" "C:\Program Files (x86)\Tencent\WeChat\WeChat.exe" exit
- 在 windows win10 系统中把 git for windows sdk 中的完整 bash 功能(包括包管理工具 pacman 和 zsh,oh-my-zsh)集成到 vscode visual studio code 中
- win10 下使用 git for windows sdk 快速搭建实用又美观的终端
- [把安装好的 bash 集成到 vscode 中]
// ctrl+shift+p, settings.json中 "terminal.integrated.profiles.windows": { "Git Bash":null, "Command Prompt": null, "Ubuntu(WSL)": null, "Bash": { "path": "d:\\git-sdk-64\\usr\\bin\\bash.exe", // git for windows sdk安装的路径 "args": ["--login"] } }, "terminal.integrated.defaultProfile.windows": "Bash", // 默认打开的命令行
- 前端设置 meta 可以强制跳转到 https
<meta
http-equiv="Content-Security-Policy"
content="upgrade-insecure-requests"
/>
- 前端项目 npm install 经常报错可能是 nodejs 版本不一致引起的,可以看看其他可以运行人的版本然后安装他们的版本试试
- nvm 安装 nodejs 后,无法使用 npm, 本质上是因为各个 node 版本下的 node_modules 没有 npm,需要收到到淘宝镜像去下载对于版本的 npm 包,再解压到 node_modules 目录下
- 前端错误日志可以上传到阿里云,如https://arms-retcode.aliyuncs.com/r.png