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 […]

Scroll to Top