How to clone whole repository with all branches in git

Sometimes we need all the branches available in our local system. Lets see how can we clone a github repository with all the available branches. Clone the whole repository as bare. It will copy all the branches. $git clone –bare https://github.com/planetoftheweb/expressjs.git .git Make the bare...
Continue reading »

Reset password of postgresql in Windows

Recently I was working in PostgreSql. The database was installed long back ago and I forgot the password of postgres user. After some search I found the way to reset the password without knowing it. Let me share the tricks. I have installed PostgreSQL 9.3...
Continue reading »

IRCTC Railway ticket status automatic alert

Few days back I have booked railway ticket from IRCTC. Unfortunately the ticket status was Waiting List 81. After that daily I used to check the PNR status, number of times if the waiting list number is decreased. It becomes my daily activity to check...
Continue reading »

Share text in WatsApp from Website

Text can be shared in WatsApp from website easily by below code snippets. <a href=”whatsapp://send?text=Hello%20TCS!”>Hello, TCS!</a> Demo: Please open this page (sortented for you – http://goo.gl/opbTyi) in mobile phone where WatsApp is installed. Click below hyperlink to share the text in WatsApp. Hello, TCS! It...
Continue reading »

CNTLM – Proxy for NTLM authentication

Recently I was using an application which needs internet connection. In my network internet connection is behind proxy and the proxy needs NTLM authentication. I can set basic authentication for the proxy in my application but there is no way to provide NTLM authentication credential....
Continue reading »

Configure MySql with IBM Cognos BI

I was installing and configuring Cognos BI in my system. There is very little space in my machine so it was difficult to install some heavy database like Oracle or SQLServer. For now the only available database in my machine is MySql. So I need...
Continue reading »

Open website without browser

Generally we need a browser to visit any website. Technically there are other option to see content of the website with using curl, wget etc. but for that you need to install the third party tools/libraries. There is a very easy way to visit website by...
Continue reading »