Categories
Learning Journal

Redirect all subdomains to www

If you ever need to redirect all your subdomains to a main subdomain like www, here is a method for you to easily accomplish that. I kept these notes from when I wanted to implement it for my own site: www.gidforums.com.

Categories
Learning Journal

Cannot Login to Ubuntu

I could not log into my laptop (running on Ubuntu) yesterday. Every time I entered my password — a password I haven’t changed in years — I was returned to the same login screen all over again! But I could log into a console by pressing CTRL+ALT+F1, so it was definitely not a typo-in-the-password error. Since I always have a second user account on my PCs, it was also easy for me to verify that I could log in (in desktop/graphical mode) as a different user without any difficulty.

Categories
Learning Journal

Class ‘HttpResponse’ Not Found

After I “upgraded” Fedora (to Fedora 19) on my main PC recently, I only had one other essential post-installation task to complete before I could get back to my regular programming on this machine. I just had to install the pecl_http PHP extension next.

Categories
Learning Journal

Invalid command ‘RewriteLog’

A couple of days ago, I “upgraded” Fedora on my main PC and everything seemed to be working really well until I tried to set up a local development version of one of my sites back on the machine.

Categories
GIDApp Malaysia

Damacai 3D Jackpot Results Available Now

We are featuring Damacai 3D Jackpot results on GIDApp now. All results are sourced from PMP via their web site at damacai.com.my.

Full web site view of 3D Jackpot results.
Full web site view of Damacai 3D Jackpot results.
Mobile view of Damacai 3D Jackpot results.
Mobile view of Damacai 3D Jackpot results.

Get the latest Damacai 3D Jackpot results.

Categories
Learning Journal Malaysia

Control the TV Volume with your Astro Remote Controller

When you have set your Astro Remote Controller to also control your television, you will be able to control the basic functions of your TV with your Astro Remote Controller, which is quite convenient. But if you don’t do it properly, you will not be able to use it to control the volume of your TV!

Categories
Malaysia

Astro IPTV and Maxis Home Fibre

A couple of days ago, they came to install Astro B.yond IPTV and Maxis Home Fibre Internet in my home here in Malaysia. Astro‘s current promotion also offered me a choice of 3 different Internet connection speeds to choose from i.e. 10Mb/s, 20Mb/s or 30Mb/s. I settled for the smallest one at 10Mb/s, which is sufficient for me.

Categories
Learning Journal

Enable Compression for SSH

I use SSH a lot, and I mean, A LOT! Because I manage 3 other servers, and they are located in different parts of the world, I rely completely on SSH to keep them up and running optimally.

Categories
Learning Journal

Is MySQL Up?

These days I’m trying to develop a BASH script to help me copy quickly my MySQL database from my (live) remote site straight into my PC, where I do all my development work. Right at the top of the script I was writing, I needed a way for the script to figure out if the (development PC‘s) MySQL server (mysqld) was already started and running. And if not, to let me know.

Categories
Learning Journal

Managing sshd Brute-force Attacks with iptables

One effective method to mitigate brute-force attacks and attempts to break into your public server via the SSH daemon is to use the appropriate iptables rule that will handle such abuse. There are a couple that do the job really well but the one I personally use is one that works on both, dedicated and virtual, servers.