Category Archives: GBlog

Implementing Web Scraping in Python with BeautifulSoup

There are mainly two ways to extract data from a website: Use the API of the website (if it exists). For example, Facebook has the Facebook Graph API which allows retrieval of data posted on Facebook. Access the HTML of the webpage and extract useful information/data from it. This technique is called web scraping or… Read More »

Useful CMD commands for daily use in Windows OS

List of uncommon useful cmd commands are as follows: Cipher: Cipher.exe is a built-in command line tool in the Windows operating system that can be used to encrypt or decrypt data on NTFS drives. This tool also lets to securely delete data by overwriting it. Cipher Switches: /? : Displays help at the command prompt.… Read More »

Contributing to Open Source : Getting Started

Open-source software is software that is freely available to use, redistribute, and modify. Open source software is already integrated into our daily lives, even more if you are working with IT. A recent research about open source usage shows that 66% of companies will first look for open source solutions before considering any other options. Many… Read More »

Implementing Artificial Neural Network training process in Python

An Artificial Neural Network (ANN) is an information processing paradigm that is inspired the brain. ANNs, like people, learn by example. An ANN is configured for a specific application, such as pattern recognition or data classification, through a learning process. Learning largely involves adjustments to the synaptic connections that exist between the neurons.   The… Read More »

Creating a Calculator for Android devices

This post describes how to create a calculator application especially to help in competitive coding for android devices. The apk created can be used to install the application on different devices. The project has been designed for entry level android programmers. The Calculator Application The calculator can handle arbitrary large numbers Arithematic operations implemented :… Read More »

Simple Multithreaded Download Manager in Python

Introduction A Download Manager is basically a computer program dedicated to the task of downloading stand alone files from internet. Here, we are going to create a simple Download Manager with the help of threads in Python. Using multi-threading a file can be downloaded in the form of chunks simultaneously from different threads. To implement… Read More »

Linux Virtualization : Linux Containers (lxc)

Pre-requisites: Earlier i talked about chroot jails and resource throttling using cgroups. If you haven’t read them yet, then i strongly suggest to go through them before proceeding ahead. A vety good presentation by docker team. This will refresh some of the concepts learned above. This video acts as the bridge between this article… Read More »

Linux Virtualization : Resource throttling using cgroups

Earlier i talked about namespaces in kernels and jailing process in this article. To understand this article, you may not require to finish the one mentioned above. But i would strongly suggest to go through it once before diving into resource throttling, as this would help tremendously in the understanding of what is going on.… Read More »