Deleting all existing comment author urls in WordPress using mysql command

Posted on in Categories Command Line Hacks, Howto, Programming, Web Developer last updated December 23, 2017

I have like over 50k+ comments posted on this site. A commenter is allowed to leave their website or Github/Twitter URL in the comment section. Unfortunately, many websites are dead creating a mess. Many are just spam and nothing else. This is not good for anyone. Here is a quick way to delete all existing comment author URLs in WordPress using mysql command line option.

How to customize title in WordPress themes using pre_get_document_title

Posted on in Categories Howto, Open Source, Programming last updated December 13, 2017

WordPress version 4.4 and above use a filter called pre_get_document_title() for a customzing title for each page, post, tag, category and more. For example, I can change 404 error title using this filter. One can use the wp_title() which was formerly deprecated in version 4.4 but was returned for compatibility reasons.

Improve your bash/sh shell script with ShellCheck lint script analysis tool

Posted on in Categories Command Line Hacks, Howto, Programming last updated January 28, 2018

ShellCheck is a static analysis tool for shell scripts. One can use it to finds bugs in your shell scripts. It is written in Haskell. You can find warnings and suggestions for bash/sh shell scripts with this tool. Let us see how to install and use ShellCheck on a Linux or Unix-like system to enhance your shell scripts, avoid errors and productivity.

How to allow pasting password when blocked on Google Chrome

Posted on in Categories Howto, Linux News, Open Source, Programming last updated May 29, 2018


I use the gpass password manager to store my randomly generated unique password for each site. However, many sites such as net banking prevent you from pasting a password when signing up. The site owner or webmaster disables pasting into password input fields. Want to paste your password on such site? Give it a try to don’t f*ck with paste Google Chrome extension.

Secure Password Hashing for Python Developers

Posted on in Categories Programming, Python, Security, Web Developer last updated July 22, 2014

It is important to store the passwords of user accounts in a secure fashion. There have been many high profile incidents where a security breach resulted in hackers obtaining database dumps of user passwords. The 2012 LinkedIn hack and the recent Adobe hack are two out of many similar cases. Due to the fact that the passwords were stored in an inappropriate fashion, the hackers (read as crackers) were able to recover the passwords of many user accounts and publish them on the Internet, resulting in an embarrassing PR fiasco for the companies.

Top 8 Tools To Search Memory Under Linux / Unix [ Forensics Analysis ]

Posted on in Categories Command Line Hacks, Hardware, Open Source, Programming last updated March 19, 2013

You can dump Linux or Unix server memory. This is useful for forensics analysis, and testing your own system. This is often desirable to see:

  • What code and what data actually resides in memory.
  • You can search for specific pids memory.
  • Search memory for string and other data such as passwords.
  • Works as add-on tool for gdb and others.
  • Search/replace/dump memory from running processes and core files.
  • All kinds of deep hacking activities that simply saves your time and solve problems.

Book Review: Python For Kids

Posted on in Categories Programming, Reviews last updated March 7, 2013

pythonforkidsPersonally, I consider programming as a fundamental right. The programming will teach children problem solving and reasoning skills. So, if you have gifted kid or nephew who is about to turn 10 or 11, gift him Python for kids book. The book introduces kids to the basic concepts of Python programming. The kids require no previous programming experience. However, must understand basic math concepts.

Linux / Unix: Install and Use Geany Integrated Development Environment

Posted on in Categories Howto, Open Source, Programming, Reviews, Web Developer last updated January 13, 2013

Geany is a great and light weight cross-platform integrated development environment for Linux and Unix based systems. It supports C, C++, Java, PHP, Python and 50+ other programming languages. Geany is known to run under Linux, FreeBSD, NetBSD, OpenBSD, MacOS X, AIX v5.3, Solaris Express and Windows. Geany more closely resembles programming editors available for Microsoft Windows such as Notepad++. So if, you are switching from MS-Windows to Ubuntu/Debian/Fedora/Mint or BSD/OS X/Unix like platform try geany IDE.