• How to get rid of Annoying Ads on Charging screen in Android?

    Are you seeing a charging screen with an advertisement while your Android device is charging? It could be possible that your device is installed with a malicious app (Ahh! sometimes even genuine apps) that might be pushing ads. When you download and install an application from Google Play or from a third party…

  • How to Fix TubePress Error – YouTube responded to TubePress with an HTTP 410?

    Question: I have been using TubePress (WordPress plugin) version 3.1.8 for many years now. But suddenly, the plugin broke with an error message as YouTube responded to TubePress with an HTTP 410. Unfortunately, the plugin page in WordPress has the same version of TubePress and it’s no longer been supported. How…

  • How to use CONNECT Method on a HTTP Proxy using Telnet?

    I generally use telnet command to test whether a given port is listening on a remote machine. For e.g., telnet remote_host 80. But once I was in a situation to test a port on a remote machine via HTTP proxy. I did use a CONNECT method to achieve that. Here’s…

  • How to Install Proxychains and Access Internet via Proxy in CentOS?

    If your Linux machine is behind a proxy server, then you can install Proxychains package to access internet via the given proxy address. Proxychains is an opensource software that forces any TCP connection by a given application through proxy such as TOR (by default), SOCKS4, SOCKS5 and HTTP. Well, here we…

  • What is CloudSim Framework and How to use it with NetBeans IDE?

    If you are a student or a researcher working in Cloud computing domain, then you must have heard about CloudSim framework. It’s a framework for modeling and simulation of cloud computing infrastructures and services. CloudSim supports modeling and simulation of cloud computing data centers, virtualized hosts, allocation policies, network topologies…

  • What’s the difference between die and exit functions in PHP?

    One of my students asked me a couple of questions – what is the difference between print and echo (which I have covered already here) and the difference between die() and exit() functions. Well, there’s a slight difference between die() and exit(). Most importantly, die and exit are not functions and…

  • How to Fix DROWN Vulnerability in Apache/NGINX Web server and SMTP?

    Here’s a latest vulnerability called DROWN (Decrypting RSA with Obsolete and Weakened eNcryption) that aims to attack servers using weak SSL version 2.0 (SSLv2) protocol for HTTPs, SMTP, IMAP, POP etc…Basically any service that uses SSL/TLS is subject to be vulnerable over SSLv2 . DROWN allows an attacker to decrypt communication…

  • How to Fix ‘ERROR: WARNING: unable to obtain file audio codec with ffprobe’? [Solved]

    Question: I was using youtube-dl command-line utility on CentOS to extract an audio from YouTube Video. However, the command failed with an error message as ERROR: WARNING: unable to obtain file audio codec with ffprobe. Here’s the complete error message: $ ./youtube-dl -x –audio-format mp3 https://www.youtube.com/watch?v=EhhiY11Z9-U [youtube] EhhiY11Z9-U: Downloading webpage [youtube]…

  • How to Compile and Install FFmpeg from source in CentOS/RHEL?

    I got an ERROR: ffprobe or avprobe not found while installing youtube-dl command-line utility on CentOS. This tutorial will show you on how to compile and install FFmpeg from source with few library support. The ffprobe command comes with FFmpeg package. Download FFmpeg: $ git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg Cloning into ‘ffmpeg’… remote: Counting objects:…

  • How to Install or Update autoconf and automake on RHEL/CentOS?

    Question: I was installing ffmpeg with Yasm support, during which I need to use autoconf to generate configuration script on CentOS 6.6. Unfortunately, autoconf command failed with an error message Autoconf version 2.60 or higher is required. Below is the complete error message: $ autoreconf -fiv autoreconf: Entering directory `.’ autoreconf:…

  • How to fix Python Installation Error while loading shared libraries: libssl.so.1.0.0? [Solved]

    Question: Thanks to the guide on How to compile and install Python with OpenSSL Support. However, the installation failed with an error message error while loading shared libraries: libssl.so.1.0.0 cannot open shared object file during make. According to the installation guide, I installed OpenSSL and then edited Setup.dist file to refer the OpenSSL…

  • Python Error – urllib2 URLError: urlopen error unknown url type: https [Solved]

    Question: I got this error urllib2.URLError: <urlopen error unknown url type: https> while installing packstack. After checking the program, I understood that the script is importing urllib library and uses urlretrieve function to fetch a file from https URL and it seems like the function is not able to fetch data from https URL. So I decided…

  • How to Store the output of SHOW PROCESSLIST into a file in MySQL?

    Question: I have used SPOOL command in Oracle SQL for storing query results into a file and when all is done, spool can be turned off. How can I achieve the same in MySQL? For example, In MySQL the ‘SHOW FULL PROCESSLIST’ query will list all MySQL processes that are currently running on…

  • How to Solve ImportError: No module named ConfigParser?

    Question: I was stuck with an error ImportError: No module named ConfigParser when I run packstack command in CentOS. Below is the complete error message: $packstack –gen-answer-file=answers.txt Traceback (most recent call last): File “/usr/local/bin/packstack”, line 4, in <module> __import__(‘pkg_resources’).run_script(‘packstack==7.0.0’, ‘packstack’) import ConfigParser ImportError: No module named ‘ConfigParser’ Can you tell me how to…

  • ConfigParser Installation Error – python setup.py egg_info failed with error code 1 [Solved]

    Error: The packstack command failed with an error message as “ImportError: No module named ConfigParser”. So I tried installing ConfigParser using Python PIP, but the installation failed as shown below. $pip install ConfigParser Collecting ConfigParser Downloading configparser-3.3.0r2.tar.gz Complete output from command python setup.py egg_info: from configparser import ConfigParser File “/tmp/pip-build-vks_efrb/ConfigParser/configparser.py”,…