命令记录

睡眠或休眠后无音频输出设备,pulseaudio -kpulseaudio --start
https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#No_sound_after_resume_from_suspend

查询网卡双工模式 ethtool enp2s0
设置网卡速度 sudo ethtool -s enp2s0 speed 1000 duplex full

无显示器时设置分辨率 xrandr --fb 1920x1080

curl http://icanhazip.com

设置root密码:sudo passwd

查看UUID等信息:sudo blkid

任务前后台切换:Ctrl+Z,jobs,fg,bg

列举系统中已有字体:fc-list : family

输出某字体的详细信息:fc-list '思源宋体 CN' file family style fullname

pdfcrop --margins "25 25 25 25" test.pdf
pdfcrop --papersize a4 test.pdf

inkscape -z -e t.png -w 1280 -h 960 t.svg
inkscape t.svg --export-pdf=t.pdf
inkscape --without-gui --file=t.pdf --export-plain-svg=t.svg

convert t.pdf t.emf

pdfseparate t.pdf %d.pdf

pdfjoin 1.pdf 2.pdf 3.pdf
pdfunite 1.pdf 2.pdf out.pdf
pdfjam --outfile t.pdf --papersize '{297mm,210mm}' --pagecommand '{}' test.pdf

convert 1.jpg 2.jpg -append result-sprite.png

for i in {1..16}
do
convert $i.jpg t/$i.pdf
done

pdfunite `ls|sort -n` o.pdf

latexmk -c

./pdf2svg t.pdf t.svg

sudo update-alternatives --config java

sudo ip address
sudo apt install net-tools,ifconfig,ping -b 192.168.0.255,arp -a

dot -Tsvg -O t
dot -Tpng -O t
dot -Tpdf -O t

for i in {1..17}
do
inkscape -z -e $i.png -w 4000 -h 3000 $i.svg
done
for i in `ls`
do
echo $i
done

python3 -m http.server

adb shell pm list packages -f
adb shell pm list packages -e
adb pull /sdcard/dirname/ .






gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=t.pdf test.pdf pdfmarks
pdfmarks文件内容:

[ /Title ()
  /Author ()
  /Subject ()
  /Keywords ()
  /ModDate (D:20180522131336)
  /CreationDate (D:20180522131336)
  /Creator (Typora)
  /Producer (Typora)
  /DOCINFO pdfmark




`sudo restore -f homexuewei.bak -i`,`cd`,`add dirname`,`extract`

find|grep cache|xargs -I {} grep -i 'augmented' {} > ~/Desktop/temp

sudo /etc/init.d/bluetooth restart

ffmpeg -i file.webp out.png





把PDF文件的每一页转换为图片,然后把图片做成PDF

pdffile=$1
tmpdir="___tmp___"
mkdir $tmpdir
mv $pdffile $tmpdir
cd $tmpdir

pdftoppm $pdffile outputname -png -rx 400 -ry 400
mv $pdffile ../

j=0;
for i in `ls|grep png`;
do
	convert $i $j.pdf;
	j=`expr $j + 1`;
done;

pdfjoin `ls|grep pdf | sort -n`

mv `ls|grep joined` ../`basename $pdffile .pdf`-img.pdf
cd ..
rm -rf $tmpdir

END

2018.5.28

posted @ 2018-05-28 11:43  maxuewei2  阅读(322)  评论(0编辑  收藏  举报
这是一段经过10次base64加密的密文:Vm0wd2VFMUhSblJXYTFwT1ZsWndUMVV3WkRSV2JHeDBZM3BHYUZKc1ZqTldiVEZIVjBaS2RHVkVRbFZXYkhCUVdWWlZlRll5U2tWVWJHUk9ZV3hhVFZkWGRHRlRNazE1Vkd0YVlWSnRhRzlVVnpGdlZWWmFjMWt6YUZOTlJGWjZWakkxVDJGc1NuTmpTRUpXWWxoU00xWkdXbUZqYkhCRlZXeHdWMkV5ZHpCV2FrbzBZekpHYzFOWVpGaGlSa3BoV1ZSS2IxSkdWbk5YYlVacVlraENSbFpYZUhkV01rVjZVV3BhVjJKVVFYaFdha1poWkVaT2MySkdTbWxXUjNoWFZtMTBWMWxXVWtkV1dHaFlZbGhTV0ZSV1pGTk5SbFowVFZoa1ZXSkdiRFJWTW5oelZqSktTRlJZYUZkV1JYQk1WV3BHVDJNeFduUmlSazVzWWxob2IxWXhXbE5TTWxGNFZXdGthbEp0YUhOVk1GVXhWMFpTV0dSSFJsTk5WMUo1VmpKek5WWXdNVVZTYTNCV1ZqTlJkMVpxUm1GU2JHUnpWV3hhVjFKV2NIbFhhMVpoVkRKTmVWTnJhR2hTYkVwVVZGUktiMWRXV25KWGJVWmFWbXN4TlZaSE5VOWhiRXB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