aText Typing Accelerator[官网]
aText accelerates your typing in any application by replacing abbreviations with frequently used phrases you define.
Save your priceless time, stop typing the same thing over and over.
Also known as text template, text shortcut, text expansion tool.
atext是一个高效的文本增强工具,通过自动替换文本,大大节约了重复敲击键盘录入的时间,支持定制化脚本,按键补全等功能,4.99刀终身使用,你值得拥有。
◎入门使用:
◎使用示例:
Aliases | Content | Description | Type |
---|---|---|---|
'ws | :handshake: | 聊天表情 | Plain text |
'6 | 6666666666666666666 | 常用语 | Snippet |
'pfr | perf record -ag sleep 30;perf report【key: code:36】 | perf获取系统状态信息,补全+自动回车 | Plain text |
'psid | psid() { for i in "$@";do pro="$i";echo;ps axo pid,lstart,etime,user,%cpu,%mem,command | grep -v grep |grep -I --color -w ${pro};echo;for I in `ps axu|grep -w ${pro} |grep -v grep |awk '{print $2}'`;do netstat -tunpl|grep $I|awk '{print " "'"$I"'" -> "$6"("$1")"" -> "$4}';echo;done;done;}; psid | 通过进程名或pid来查看进程的相关信息,比如端口号,运行用户,运行时间,cpu内存使用率,启动命令等 | Shell |
'rand | set x to "" repeat (32) times set x to x & some item of "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890+-@_#$%!~*=" end repeat | 获取一个32位字符的随机字符串 | AppleScript |
@ng | location 【field:name r2 editable】 { proxy_next_upstream off; proxy_set_header x-forwarded-for $remote_addr; proxy_set_header X-Origin-Host $host; proxy_http_version 1.1; proxy_set_header Connection ""; proxy_set_header 【field:service r2 editable】.ingress-vhost.svc; proxy_pass http://【field:idc r2 editable】-online-ingress; } | 配置nginx location模版 | field |
参考: