这几天发现好多HEVC的视频居然在Win10 Explorer里面没有缩略图,一查才发现居然Win10没有自带HEVC解码器。
到微软商店一搜,HEVC Video Extensions,居然还要卖钱。微软真是…. 都不知怎么形容了。
网上搜了下,发现其实微软商店里面还有个HEVC Video Extensions from Device Manufacturer。这个是免费的,而且功能一模一样。
额… 还能说什么呢…
这几天发现好多HEVC的视频居然在Win10 Explorer里面没有缩略图,一查才发现居然Win10没有自带HEVC解码器。
到微软商店一搜,HEVC Video Extensions,居然还要卖钱。微软真是…. 都不知怎么形容了。
网上搜了下,发现其实微软商店里面还有个HEVC Video Extensions from Device Manufacturer。这个是免费的,而且功能一模一样。
额… 还能说什么呢…
今天在研究Linux下增量备份的时候,发现了一个非常Genius的命令。
用这个命令即可以做到增量备份,又可以最少量的占用硬盘空间。
rm -rf backup.3
mv backup.2 backup.3
mv backup.1 backup.2
cp -al backup.0 backup.1
rsync -a --delete source_directory/ backup.0/
多的懒得写了,大家自己体会吧。:D
Refer:http://www.admin-magazine.com/Articles/Using-rsync-for-Backups/
最近因转换视频格式需要,研究了一下目前的视频格式转换工具。
发现下面几个比较顺手的:
一年一度的Airshow,纠结了一下还是出发了~ 😀
推荐两个Partition Magic的替代软件
可动态调整分区大小,分区,格式化什么的就更不在话下了。
PS:如果你用SSD的话,记得分区对齐。
Here are steps to setup a user and allow the user access only via FTP (i.e. no SSH) and also limit access to a specific (user home) directory on proftpd:
1. Add new user: adduser newusername
2. Set password: passwd newusername
3. Modify user home directory from default to a new folder:
usermod -d /target/directory username
4. Edit shells file: vi /etc/shells and add /dev/null at the end
5. Modify newusername entry in the passwd file: vi /etc/passwd to add /./ before the newusername so that the entry looks like this:
newusername:x:502:502::/home/ftp/./newusernamehomedirectory/:/dev/null
6. Edit /etc/proftpd/proftpd.conf file and uncomment the line DefaultRoot ~
grep -rnw '/path/to/somewhere/' -e 'pattern'
-r
or -R
is recursive,-n
is line number, and-w
stands for match the whole word.-l
(lower-case L) can be added to just give the file name of matching files.Along with these, --exclude
, --include
, --exclude-dir
flags could be used for efficient searching:
grep --include=\*.{c,h} -rnw '/path/to/somewhere/' -e "pattern"
grep --exclude=*.o -rnw '/path/to/somewhere/' -e "pattern"
--exclude-dir
parameter. For example, this will exclude the dirs dir1/, dir2/ and all of them matching *.dst/:
grep --exclude-dir={dir1,dir2,*.dst} -rnw '/path/to/somewhere/' -e "pattern"
This works very well for me, to achieve almost the same purpose like yours.
For more options check man grep
sudo apt-get clean
sudo apt autoremove –purge
sudo apt-get autoremove –purge
sudo purge-old-kernels
sudo apt autoremove
用了三年多了DigitalOcean,最近发现Vultr的性价比更高,速度更快。
还犹豫什么?换!
目前感觉速度还不错~ 有海外虚拟机需求的朋友可以关注了。