Compiling libtorrent-rasterbar and qBittorrent on CentOS 6.5 x64
I finally found the proper uTorrent (wine/Server) replacement for Linux (preferably headless) systems – qBittorrent.
Unfortunately there seems to be no repository out there providing qBittorrent for CentOS 6, so I had to compile it from source – not the easiest task I have to admit.
Bash script to monitor and (re)start Webmin
Webmin (Virtualmin) has great service monitoring capabilities, restarting any failed services that it detects. Unfortunately, it cannot and does not monitor or restart itself it it crashes.
Still, since on (most) Linux systems it comes with a service manager, this can be used to check its status. The included bash script does this and restarts it if necessary…
Block outgoing SMTP from untrusted hosts with DD-WRT
One may find himself in the face the scenario of having to fix a friend’s infected computer and needing internet access to install/run cleanup utilities while at the same time trying to avoid spamming the internet and get the public IP blacklisted or even blocked.
Using a router running DD-WRT, this is easy to do using custom firewall rules…
Quickly view PHP’s memory_limit values for all virtual servers
When one needs to quickly check the individual PHP memory_limit value for a long list of virtual servers (presumably hosted by Virtualmin), going from folder to folder and reading the contents of the etc/php.ini file is one (loooooong) way of doing things. Fortunately, there’s an easier way, with the help …
Setting up Tenda N3 as wireless repeater
I recently purchased a Tenda N3 (micro) wireless router to use as a wireless extender in the house. Since it took me about an hour to figure out how to pair it up with my main WRT54GL wireless router, I decided to write this short how-to guide.
The Tenda N3 is a cute little thing, small enough to tuck away and forget it’s even there.
Sony Ericsson Vivaz hidden menus codes
Sony Ericsson’s Vivaz has several hidden menus codes for diplaying software (firmware) version, bluetooth address, wireless MAC address, total call time, performing a soft reset, a full reset or entering the service menu.
To see the codes…
WordPress incorrectly loads styles, scripts via HTTPS and the solution
I’ve recently stumbled upon the weird issue of Wordpress loading its styles and scripts via HTTPS although it wasn’t configured to use SSL. The website did indeed have a SSL certificate installed and usable.
I eventually found some useful information about Wordpress’ is_ssl() function…
Restarting Windows Explorer on Windows 7
Apparently there’s a hidden way of cleanly restarting Windows Explorer (explorer.exe) in Windows (ever since Xp) without killing it via Task Manager.
This can be quite useful in case of weird bugs or when one simply needs a way to restart the explorer.exe process in a non-intrusive way. To do this…
Make Virtualmin 4 correctly display available memory on OpenVZ
Virtualmin displayed wrong amount of available memory on OpenVZ systems for a while (displaying either the guaranteed RAM instead of the burst or some random smaller value).
After the update to Virtualmin 4.02, the available RAM graph completely vanished from the system information page. To fix this…
Modding WP CodeFreeze to lock bbPress as well
CodeFreeze is a very handy plugin that helps you freeze the state of your Wordpress website before and during a move (to a new server, for example). The only minus I found so far is that it doesn’t (yet) include support for the bbPress Wordpres plugin as well, leaving all forums open for new topics and replies.
Thankfully, making CodeFreeze handle bbPress as well only requires a couple of new lines of code…