tips

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

Computers, GNU/Linux, Server, Subversion, Subversion-Git-Mecurial-Version-Control, Tips & Guides, VCS

How to use SVN (Subversion) on Google Code hosting

Google has generously offered free hosting services for free open source developers to host their projects either by using Mercurial, Subversion or git. This blog post touches on the basic on to use SVN to maintain source code repository on Google Code Hosting. Assumptions This tutorial assume that you have : Created an open source […]

security, Tips & Guides

Using Apache mod_security and .htaccess to block comment spam on the web

Comment spam is the most annoying thing to web operators. Besides eating up bandwidth, comment spam can pollute web discussions area and which gives bad impression to visitors. Apache HTTPD mod_security module can be configured to reduce web spam by filtering common keyword, content and referrer used by spam bots around the internet. Here’s an […]

Computers, GNU/Linux, Server, Tips & Guides, Ubuntu/Debian

How to use rsync to backup and synchronize files to USB drive

Portable USB drive (sometimes called pendrive) has gained popularity as a medium for storing documents. Computer users would work on the files that they store on the usb drive and occasionally would copy them on their computer, or vice versa. However this would cause problems if there’s a lot of files being worked on and […]

GNU/Linux, Ubuntu/Debian

3 ways to get Linux release information from bash terminal

Let’s say you’ve manage to get yourself into a GNU/Linux bash terminal. What can you do in order to determine its distro and release information? Listed here are the three methods to get release information of a running GNU/Linux box. lsb_release method You can type “lsb_release -a” /etc/*release and /etc/*issue method Alternatively, you could try […]

Computers, Internet Stuff, Tips & Guides

How to convert *.docx files (Microsoft Office 2007) online for free

Sometimes you might have no choice except to open Microsoft Office 2007 (*.docx) files that you’ve just received in your email. The problem is, you do not have any other application that support Office 2007 format. Here’s an easy way to (kinda) solve that problem, you can convert Microsoft Office 2007 files online, using Google […]

Computers, GNU/Linux, Internet Stuff, security, Tips & Guides, Ubuntu/Debian

How to block ads and malware websites using /etc/hosts files in Ubuntu

Here’s an easy way to block annoying advertisement and malware sites using ‘/etc/hosts’ file. First edit the /etc/hosts files using your favorite text editor : sudo gedit /etc/hosts Then, paste the list of ads/malware servers in the ‘hosts’ file. You can get the list from http://someonewhocares.org/hosts/ or by searching through Google. Close the file, and […]

Computers, GNU/Linux, hardware, Server, Tips & Guides, Ubuntu/Debian

How to make my Ubuntu detect more than 4GB memory

There were a couple of people that I met recently complained to me that their Ubuntu only detects 3 gigs of RAM after they upgraded their machine to 4 GB RAM. Actually the problem does not lie with Ubuntu or any operating system in particular, rather the problem is related to 32bit operating system which […]

Computers, Internet Stuff, Open Source, Python, Server, Tips & Guides

Quick and Dirty Network File sharing with Python

Ever find yourself in need to share file over the network quickly, but find yourself lacking time to setup a proper NFS or samba share? Here’s a way to do this with the good old Python CLI. First, go to the directory that you want to share, for example ~/Desktop Then run this command “python […]

GNU/Linux, Tips & Guides, Ubuntu/Debian

How to Import export MySQL database from command line

This tip would be useful for those who are either making backup of their remote mysql database or moving their web hosting to their provider. Here’s how to export mysql DB to SQL file using command-line utility : mysqldump –user=username –password=1234 –databases your_database –opt –quote-names –complete-insert > example.sql Here’s how to import the SQL back […]

GNU/Linux, Open Source, Ubuntu/Debian

How to add “Send To” removable USB drive in GNOME

Here’s a way to add “Send To” functionality to copy multiples files to removable drive (usually USB drive) in GNOME desktop. First, download the “Send To” nautilus script from : http://www.gdr-exiles.com/nautilus/. Copy the Send To file to ~/.gnome2/nautilus-scripts, make it executable. chmod a+x. Finally you can test it by selecting a file on your desktop […]

Scroll to Top