会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ajanuw
做自己的King
博客园
首页
管理
[置顶]
web 常用开发工具
摘要: he把字符转化为实体字符 Clipboard_API 访问剪贴板 pinyin 将汉字转化为拼音 pinyinjs 汉字与拼音互转的小巧web工具库 localforage 浏览器缓存数据库 handsontable 电子表格的数据网格编辑器 Excel Wordnik API 请求定义,例句,拼写
阅读全文
posted @ 2018-06-19 11:55 Ajanuw
阅读(663)
评论(1)
推荐(1)
[置顶]
vim 常用指令
摘要: ## 其他命令 ``` 重绘屏幕 挂起vim回到shell,想继续vim只需要输入 fg 文件路径提示 当前文件中的关键字提示 语义上的补全 J 于下一行文本合并 % 在括号间跳转,配合v可以选中代码块 ~ 光标下的字符转化为大写 :66,70s/^/\/\/ 66-70行添加 //注释 :66,7
阅读全文
posted @ 2017-11-30 21:56 Ajanuw
阅读(500)
评论(0)
推荐(1)
2025年4月27日
nvim
摘要: wget https://github.com/neovim/neovim/releases/download/v0.9.5/nvim.appimage chmod +x nvim.appimage sudo mv nvim.appimage /usr/local/bin/nvim sudo ln
阅读全文
posted @ 2025-04-27 21:36 Ajanuw
阅读(17)
评论(0)
推荐(0)
2024年10月15日
echart 棒线
摘要: 配置 { type: 'custom', data: uds.map((e, i) => [i, ...e.oclh]), encode: { x: 0, y: [1, 2, 3, 4], tooltip: [1, 2, 3, 4], }, renderItem: this.US_Line, } /
阅读全文
posted @ 2024-10-15 23:00 Ajanuw
阅读(16)
评论(0)
推荐(0)
2024年5月23日
nodejs在typescript项目中申明全局变量
摘要: 这样做的目的是避免循环引用,编写多余的类型文件 //global.d.ts import type { A } from "./a"; import type { B } from "./b"; declare global { var a: A; var b: B; } //index.ts im
阅读全文
posted @ 2024-05-23 08:21 Ajanuw
阅读(33)
评论(0)
推荐(0)
2023年9月7日
golang panic和log.Fatal
摘要: ## log.Fatal 相当于 `Print` 后调用 `os.Exit(1)` ```go import "log" func main() { defer func() { log.Println("main exit") }() log.Println("main run") log.Fat
阅读全文
posted @ 2023-09-07 15:46 Ajanuw
阅读(24)
评论(0)
推荐(0)
2023年8月26日
uniapp使用canvas电子签名
摘要: ``` 清空 保存 ```
阅读全文
posted @ 2023-08-26 15:57 Ajanuw
阅读(192)
评论(0)
推荐(0)
2023年3月13日
lua 源码编译 MSVC
摘要: > git clone -b 'v5.4.0' https://github.com/lua/lua.git > cd lua > vim CMakeLists.txt > cmake -DCMAKE_BUILD_TYPE=Release -S . -B build > cmake --build
阅读全文
posted @ 2023-03-13 21:06 Ajanuw
阅读(76)
评论(0)
推荐(0)
2022年12月23日
curl7 命令行使用
摘要: HTTP 协议 访问 IPv6 地址 curl http://[fe80::79c8:7bd1:cf97:aef3%8]:80 使用代理 curl --socks5-hostname 127.0.0.1:19996 http://www.google.com/ curl -x socks5://12
阅读全文
posted @ 2022-12-23 15:17 Ajanuw
阅读(318)
评论(0)
推荐(0)
2022年11月23日
golang 值方法和指针方法
摘要: 一段示例代码 package main type info struct { Name string Hp uint32 Mp uint32 } // 值方法 func (my info) PrintName() { println(my.Name) println(my.Name) } // 指针
阅读全文
posted @ 2022-11-23 21:51 Ajanuw
阅读(108)
评论(0)
推荐(0)
2022年11月14日
ts keys类型枚举
摘要: // 从 DataView 类型中取出key type get_set = keyof Omit<DataView, "buffer" | "byteLength" | "byteOffset">; type FilterNotStartingWith<Set, Needle extends str
阅读全文
posted @ 2022-11-14 18:13 Ajanuw
阅读(326)
评论(0)
推荐(0)
2022年9月25日
git 使用 access token
摘要: 申请token 在.git/config文件中修改 修改前: [core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase =
阅读全文
posted @ 2022-09-25 17:32 Ajanuw
阅读(835)
评论(0)
推荐(0)
下一页
点击右上角即可分享