Git Tips and Tricks

git svn

Git Tips and Tricks

Read more →

Six sided dice problem

Read more →

SSL VPN Client on Linux

Read more →

Setup JanusGraph with HBASE backend

Read more →

Monitoring Nvidia GPUs on Linux

Read more →

Pandas Pivot Example

Read more →

Why software estimation fails?

Read more →

Estimating hard to invert functions

Read more →

Create portable encrypted filesystem

Read more →

How to become successful?

Read more →

Finding Top 20 Tags on StackOverflow main site

Read more →

How to extract text from PDFs containing images?

Read more →

After trying Go for the first time recently, I am amazed with how fast the programs compile. The compiled code ends up being in machine code, and no intermediate virtual machine is required. However, there is one piece that is present in each executable i.e. the garbage collector - GC. But, how does GC work in Go? How tunable is it? For now this is what I have found: On the topic of performance, keep in mind that Go gives the programmer considerable control over memory layout and allocation, much more than is typical in garbage-collected languages.

Read more →

ScalaQuine

Scala Quine

A Scala quine ( program that prints itself )

Read more →

Internet is a global network, with total freedom. Well, that is soon going to change, unless you act now. While you are reading this, someone is trying to control what you see, read, download, listen or write on the internet by taking control over the sites you can access! Don’t wait for that moment to happen. Act now, and protect Net Neutrality by signing in for the petition. What is the matter with Net Neutrality anyways?

Read more →

I have be trying to configure Google App Engine with ManagedVMs on Linux for a few days. We will perform these steps on Ubuntu ( can also be done on Fedora ): Install Google App Engine SDK Install Latest Docker Install VirtualBox Install Boot2Docker CLI Install Google App Engine SDK Download Google App Engine SDK ( you may want to keep the defaults as is ) $ curl https://sdk.

Read more →

This is a simple C program to check memory limit on a server. #include <stdio.h> #include <stdlib.h> int main(int argc, char* argv[]) { const int KB = 1024; /* bytes */ const int MB = 1024 * KB; /* bytes */ const int GB = 1024 * MB; /* bytes */ long size = 0; void *p = NULL; int ctr; int j; int times = 100000; long sum = 0; for(ctr = 0; ctr < times; ctr ++ ) { size = 10 * MB; printf("Allocating %zu bytes memory \n", size); p = calloc(1, size); if(p !

Read more →

Today I attend the inauguration ceremony of MACLUG - Maharaja Agrasen College, GNU/Linux Users Group. I was honoured to have been invited among many esteemed guests to light the lamp of this wonderful new beginning. This reminded me how nine years ago I along with a bunch of enthusiasts started JMILUG. I shared my thoughts on «Freedom - Community - Science - Innovation» Four Freedoms Let me begin with the Four Freedoms.

Read more →

I wanted to view all the different chat windows and the buddy list side by side in a single window. There is no such feature in stock Pidgin installation. Fortunately I found a plugin for same from this ticket. This plugin is available on Github project dm0-/window-merge ( thanks to David Michael / dm0- for creating it ! ). You can find the build / install instructions on the wiki, however here is how you can do it on Ubuntu 14.

Read more →

In the year 2006, I had created a project as a part of my academics. I finally managed to find the source code and complete project report which I have uploaded to Github. Mainily, I have updated the source code to use cmake build tool. The project documentation is in Asciidoc. Although it is quite an old piece of code, it works: plyloviz – Phylogenetic Trees Visualization phyloviz: phyloviz is Phylogenetic Trees Visualization tool.

Read more →