2015

Personal Life, Tips & Guides

Check public IP address with checkip.mypapit.net

You can now check your public IP Address by visiting checkip.mypapit.net. The website will display your public IP Address (or your anonymous proxy IP Address). As usual, this service is provided without any warranty. Additionally, you can also check IP Address from bash command line using this curl/wget trick. wget -qO – checkip.mypapit.net curl -o […]

GNU/Linux, Server, SSH, Ubuntu/Debian

How to change timezone in Ubuntu / Debian from command-line

This guide assumes that you use Ubuntu or Debian-based GNU/Linux distro. There are two ways to change timezone from bash command line. sudo dpkg-reconfigure tzdata or, sudo ln -sf /usr/share/zoneinfo/Asia/Kuala_Lumpur /etc/localtime You can also specify other timezone in the second method, for example: sudo ln -sf /usr/share/zoneinfo/GMT /etc/localtime or for Eastern Standard Time (US) sudo […]

Wordpress

How to remove WordPress version number from header, css files and feeds

Here’s how to remove WordPress version number from HTML header and feeds. Include this at the end of your themes ‘function.php’ files, which you can edit in “Appearance->Editor” section in WordPress Admin. function my_remove_version_info() { return ”; } add_filter(‘the_generator’, ‘my_remove_version_info’); You can also remove WordPress version number from the included css and javascript. To do […]

security, SSH

Simple SSH Tunnelling tips

SSH tunelling is usually used to avoid firewall restriction or to ensure point-to-point encrypted communication. For example, if you want to send email to smtp server “smtp.yourserver.com” on port 587, but your organization currently blocking smtp port 25 and 587, then you can benefit from SSH tunelling to avoid from being blocked. To get around […]

security, Server

IPdeny.com – Download collections of Country IP Addresses

IPdeny.com is a service which offers a free collection of Regional and Country IP address blocks list. The IP address blocks is useful for application developer and system administrator to enhance their system. For example, application developer can use the information redirect users from certain countries to regional websites or pages, or a system administrator […]

httpd, nginx, Server, Ubuntu/Debian

How to Optimize and speed up PHP with OPCache

PHP 5.5 and 5.6 comes with OPCache. OPCache speeds up PHP execution by storing precompile bytecode of PHP in shared memory. Taking advantage of fast memory operations compared to hard disk operation, OPCache eliminates the process of having to read PHP scripts from the disk each time whenever a script must be executed. In short, […]

Computers, httpd, Mobile, Web Server

Checking if website is Mobile-Friendly

Google has announced that they will take Mobile-Friendly site into account when indexing sites. Thus, it is prudent to ensure the particular website that you’re maintaining is mobile friendly. There are two main tools released by Google for testing if the website is Mobile-Friendly: Google Mobile Friendly Test PageSpeed Insights However, personally I like PageSpeed […]

firewall, Internet Stuff, Server, Wordpress

Stop Comment spams with IP Blacklist Cloud

Comment spams is the bane of any website operator that rely on real human interaction. Stopping comment spams by hand is a tedious process especially when comment spam attacks are sophisticated and are launched from Botnet. There are several techniques that can be employed to fight comment spams including behavioral analysis and also IP analysis. […]

Tips & Guides, Wordpress

Connecting blog with IFTTT !

I’ve managed to connect this blog with IFTTT! However due to certain security restriction that I’ve enforced on this blog to curb spammers and unauthorized access (aka crackers), I’ve decided against connecting my blog directly through XMLRPC endpoint. So I’ve use RSS/ATOM feeds instead. IFTTT is a wonderful service which allows you to connect various […]

GNU/Linux, httpd, nginx, Server, Ubuntu/Debian, Web Server

How to check if your website supports SPDY 3.1

Although Google has announce to drop SPDY support by early February 2016 in favor of HTTP/2, SPDY remains the best HTTP protocol extension to maximize compression and reduce webpage load latency. The current and final SPDY implementation supported by Mozilla Firefox and Google Chrome is SPDY/3.1. In order to check if your webserver supports SPDY […]

GNU/Linux, security, Server, SSH, Ubuntu/Debian

Tips for Securing SSH in Linux Box (Securing SSH Series)

Secured Shell or SSH is a great way to enable a secure login for your UNIX / Linux Box. However there are precaution that you should take in order to properly secure SSH daemon from being scanned or attacked by script kiddies or automated bots. This week I’m going to write a series of article […]

Scroll to Top