Tmux is a terminal multiplexer, the main feature of it for me is to split window side by side, one for doing debugging, the other for coding. I know there are some substitutions available, such as konsole and terminator but I find tmux handy.
Category archives: Techie Stuff
Using rsync to resume SCP file transfer
Using scp to transfer a large file or folder can be sometimes unstable, it doesn’t have the feature to resume broken transfers. Therefore, we have to start over each time when we cancel the transfer. There is a software called rsync that has the resume feature and it supports multiple protocols such as rsync:// and …
Spam Protection
I have encounter a spam attach on my Chinese MediaWiki Project for Acadia University. The spammer is using a Brazilian IP creating a lot of patterened names and its same-name random articles.
Batch renaming using `rename`
It is an interesting tool and simple to use. It happens to me that I have a bunch of subtitles under the name pattern of xxxx.SxxEyy.1080p.srt and I wish to rename it to xxxx.SxxEyy.720p.srt in order to load automatically for my smplayer.
MediaWiki behind CloudFlare
When you set up with CloudFlare with MediaWiki, the IP won’t be showing correctly. Here is the how-to derived from CloudFlare’s official MediaWiki FAQ. The official document is old and doesn’t work for the latest version of MediaWiki.
Email Notifier
In the western world, email is a formal way of communication. It’s still widely used in a lot of fields. University usually send me on average 3 emails per day in weekdays, some days are considerably more. I don’t like keeping email clients open, it consumes my workspace and technically more memory space. I’d love …
Some rules on website security
The following configs are obtained from iThemes Security, a WordPress plugin. I believe this is a suitable configuration for nearly all websites.
Fedora 20 Hangs on Booting screen on Lenovo IdeaPad Y510P
This problem has been sometime for me. Bumblebee-nvidia is used for graphical applications. No matter what kernel version I use, the first boot after a complete shutdown the computer would freeze on plymouth screen, I’d have to manually hit ctrl+alt+del to reboot and then it could load into X.
Changing text encoding with Vim
A lot of subtitles in Chinese language are encoded with GB2312 or sometimes Code Page 936 (CP936, aka gbk), are generated under Windows. This brings problems in many Linux based multimedia players.
Join PDFs together using LaTeX
There is a package called pdfpages, its usage can be found here.