调整笔迹太淡的图片PDF的灰度
- 把PDF转为图片(需要
imagemagick
包)
magick convert -density 300 name.pdf page-%03d.png
- 选择性调整灰度
mogrify -fill black -colorize 10% -channel RGB -level 70%,90% …
English test: writing
Perspective of thinking
positive or passive
- individual
- money
- health
- happiness
- family
- career
- institution
- society
My Taskwarrior Workflow
How to Use Taskwarrior
- Local Help
task help
task commands
My Workflow
Throughout the early stages of human development, the emergence of …
Read more...在Mathematica中进行算符运算
Basics
- (没啥用的)无交换律的乘法符号
a ** b
- 矩阵乘法
a.b
- 替换(substitution)
a /.{a->b}
- 模式识别的替换
Sin[z] + Sin[3 z^2] + Cos[z] /. {Sin[X_] :> Sin[2X]}
还可识别多个符 …
Read more...手动切换CPU频率模式,让系统睡眠/休眠
切换CPU频率模式
这个一般没什么用,系统会自动切换的
需要用到的包:cpupower
切换到性能模式:
sudo cpupower frequency-set -g performance
切换到省电模式:
sudo cpupower frequency-set -g powersave
查看当前 …
Read more...DFT-QE折腾记录
问题
Read more...作业说明: 请同学们自己寻找计算资源、自学密度泛函理论计算软件,计算单层MoS2相关性质,包括:参数测试、晶格常数测试、几何结构优化、计算态密度、能带和声子谱。(声子谱选做) 提示:对石墨烯晶格常数测试时,不需要考虑石墨烯厚度的变化;而单层MoS2是3原子层厚度,因此变xy平面内晶格常数 …
Translation Solution on Wayland
Introduction
Today I read an inspiring solution on Reddit
Read more...@kupiqu I will not address your question directly but I will give you a …
vim的稍微进阶的操作小技巧
是的,Neovim 提供了许多跳转的快捷键,可以让你快速在文件中移动。以下是一些常用的跳转快捷键:
行内跳转
0
: 跳转到当前行的行首。^
: 跳转到当前行的第一个非空白字符。$
: 跳转到当前行的行尾。g_
: 跳转到当前行的最后一个非空白字符。
行间跳转
gg
: 跳转到文件的第一行。G
: …
GnuPG加密文件
除了使用公钥进行非对称加密,gng
还提供了用密码对称加密的功能
- 加密
gpg -c /path/to/file
这会提示你输入密码,产生一个.gpg
后缀的加密文件
- 解密
gpg -d /path/to/file.gpg
如果与上次输密码间隔时间足够久, …
Read more...
1 of 5
Next Page