Home

Lang lib

Lang lib Python argv: 系统sys.argv, 使用argparse http: 系统urllib, 使用requests html抓取: BeautifulSoup Reference

Read more

生活-保险

生活-保险 保险的种类: 1. 重疾 2. 意外 3. 人寿 4. 医疗 5. 理账 6. 万能 重要信息 续保 保障期限 健康告知 万能险 万能险就是包含1, 2, 3, 4, 5, 看似很厉害, 但是没有单个保险组合出来的效果好. 优点 就是省事 保险配置 全家-百万医疗险: 支付宝-好医保-长期医疗(20) 球球意外险: 微信-护身福少儿意外险-升级版 球球妈咪保贝少儿重疾: 3155 3257.92 3212.21 Reference 史上最全保险攻略:避开95%的坑,少花10几万元! 精品保险

Read more

macOS 查看应用的bundle identifier

macOS 查看应用的bundle identifier osascript -e ‘id of app “Name of App”’ osascript -e ‘id of app “Microsoft Excel”’ 单独设置应用的显示模式 defaults write com.oracle.workbench.MySQLWorkbench NSRequiresAquaSystemAppearance -bool yes Reference Easily see any app’s bundle identifier

Read more

Tools FZF

Tools FZF Reference junegunn/fzf How FZF and ripgrep improved my workflow Why you should be using fzf, the command line fuzzy finder

Read more

VIM coc-java

VIM coc-java [language-client-index] - Language server “java” started with jdk 版本需要大于等于11 Pre-requisite: Java 11 must be installed on your machine and accessible in the PATH. 删除workspaceStorage %APPDATA%\Code\User\workspaceStorage ~/.config/Code/User/workspaceStorage/ ~/Library/Application Support/Code/User/workspaceStorage Reference

Read more

Java JDB

Java JDB jdb -attach <address> 关联一个VM -sourcepath 指定源码路径, 使用:分隔 -classpath 指定class路径, 使用:分隔 jdb -attach 1099 jdb -listen 8088 jdb –listenany jdb -tclient jdb -tserver // 指定源码路径 javac -sourcepath src -d target src/mypackage/Main.java # if you have multiple files, you can always do find . -name “*.java” -exec javac -sourcepat...

Read more

Linux sendmail

Linux sendmail 安装mailx // 卸载 yum remove sendmail yum remove postfix // 安装 yum install mailx 配置mailx vim /etc/mail.rc set from="dingkaitest@163.com" #用来发送邮件的邮箱 set smtp=smtp.163.com      #163的邮件发送服务器  set smtp-auth-user=dingkaitest  #邮箱用户名(也可以写成"dingkaitest@163.com") set smtp-auth-password=密码  #邮箱密码 set smtp-auth=login // ssl set from=xx...

Read more

Tools MySqlWorkbench

Tools MySqlWorkbench 问题 1. Fatal Python error: initfsencoding: unable to load the file system codec sys.path = ['/Applications/MySQLWorkbench.app/Contents/Resources/libraries' , '/Library/Frameworks/Python.framework/Versions/3.7/lib/python37.zip' , '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7' , '/Library/Frameworks/Python....

Read more