上一页 1 2 3 4 5 6 7 8 9 ··· 22 下一页
摘要: In [30]: a = '34c dc,,,..//[];"\';123456 7890-=!@#$%^&*()_+' In [31]: b = '你好 ,。/?》《:“;‘{}【】|、!@#¥%……&*()——+扫帚qq11' In [32]: def is_chinese(chr): ...: 阅读全文
posted @ 2021-08-26 10:04 twfb 阅读(408) 评论(0) 推荐(0)
摘要: 在xadmin/filters.py中添加MultiSelectFieldListChoiceFilter @manager.register class MultiSelectFieldListChoiceFilter(MultiSelectFieldListFilter): def choice 阅读全文
posted @ 2021-06-17 09:57 twfb 阅读(211) 评论(0) 推荐(0)
摘要: apt install dnsmasq 阅读全文
posted @ 2021-03-13 11:40 twfb 阅读(109) 评论(0) 推荐(0)
摘要: Windows10-XiaoHe-Double-Pinyin 安装 方式一: 下载双击XiaoHe.reg 方式二: 新建XiaoHe.reg文件, 然后双击运行 文件内容 Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Softwar 阅读全文
posted @ 2021-01-21 17:03 twfb 阅读(715) 评论(0) 推荐(0)
摘要: 链接: https://github.com/7-Leaf/py-recycle 截屏 用法 将文件移动到回收站: del file_path 将文件从回收站恢复: undel file_path or undel trash_path 永久删除垃圾文件: pdel trash_file 打印回收站 阅读全文
posted @ 2020-11-13 10:24 twfb 阅读(180) 评论(0) 推荐(0)
摘要: 支持Windows家庭版, 开发版 下载安装wsl_update_x64.msi 执行install.bat 建议国内用户, 复制粘贴到本地执行 重启 检查: 在powershell或cmd执行wsl -l -v 阅读全文
posted @ 2020-11-12 12:15 twfb 阅读(347) 评论(0) 推荐(0)
摘要: ifconfig eth0 down ifconfig eth0 up service networking restart dhcient -v 阅读全文
posted @ 2020-11-02 11:03 twfb 阅读(1472) 评论(0) 推荐(0)
摘要: fpath赋值, 一定要在compinit之前!!!!!!!!!!!!!!!! http://bewatermyfriend.org/p/2012/003/ 可以参考我写的: https://github.com/7-Leaf/del 阅读全文
posted @ 2020-10-19 21:48 twfb 阅读(567) 评论(0) 推荐(0)
摘要: set tabstop=4 set expandtab set shiftwidth=4 syntax on syntax enable set number set cursorline set hlsearch set background=dark set termguicolors set 阅读全文
posted @ 2020-10-14 12:44 twfb 阅读(98) 评论(0) 推荐(0)
摘要: 今天发现用taskkill /im需要管理员权限, 而taskkill /pid不需要 import os def kill_process_by_name(process_name): for i in os.popen('tasklist').read().split('\n'): if pro 阅读全文
posted @ 2020-09-30 18:21 twfb 阅读(413) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 22 下一页