Arul Blog

Setup docker and tools

Guide to install and configure docker and related tools.

Install Docker

Installing docker on any bash systems.

curl -sSL https://get.docker.com/ | sh

Installing bash completions for docker

curl -ksSL https://raw.githubusercontent.com/docker/docker/$(docker --version | awk 'NR==1{print $NF}')/contrib/completion/bash/docker |sudo tee ...

Bash completions for kubectl

To install bash completion for your kubectl

Get your kubectl client version

kubectl version -c

Get the completion script for the corresponding to your kubectl version.

Ubuntu

curl -sSL https://raw.githubusercontent.com/kubernetes/kubernetes/$(kubectl version -c | grep -o -P '(?<=GitCommit:").*(?=",)')/contrib/completions/bash/kubectl | sudo tee /etc/bash_completion ...

Download any videos in android using youtube-dl

There are lot of app there in google play store to download video youtube. All are claiming it has all the features and so and so... But the reality is, they are not working in all the times.

In my laptop I am using youtube_dl to download videos. Its working ...

PixelServ using Nginx

Hope you know about pixelserv. It is a webserver which will always response 1x1 transparent gif image for all kind of requests. Mainly used in adblocking and proxy environmental.

In this setup I am going to serve 1x1 pixel using nginx server.

Install nginx

sudo apt-get install nginx -y

Configuration ...

Stream any video into VLC

You can stream any online like youtube, vimeo, facebook, dailymotion, etc., video into your VLC / mplayer using youtube-dl. Here I will explain how to do that.

Streaming in VLC using youtube-dl

First Install latest greatest youtube-dl

sudo pip install --upgrade youtube-dl
OR
sudo apt-get install youtube-dl

As per todoy the version is 2015.09.09 ...

Script to get Stock History Information

I wrote a python script to get stock market current and history information based on Google finance API. Here I am going to explain about that.

How to setup

  • Download GetStockInfo.py into /usr/local/bin folder as stockinfo
  • chmod +x /usr/local/bin/stockinfo
  • Run stockinfo as command from ...

How to get TNEB Service Details without capcha

To get direct link for find your usage from TNEB give your service number in the below form and press submit.

TNEB Usage permlink Form

How its works

  • For example, the service no is 265 / 005 / 1234
  • It will take your service no and do base64 of "TANGEDCO||265||005 ...

Live India Stock Market Indices on your Terminal

Live BSE and NSE index on your bash terminal

stockmarketindia

The script get the live index from BSE and NSE stock market.

How to Use

  • Download the script from github stockmarketindia.py
  • Copy the file into /usr/bin folder.
  • Run stockmarketindia anywhere from terminal.
wget --no-check-certificate https://gist.githubusercontent.com/arulrajnet ...

Live Cricket Score on your terminal

Live Cricket Score From CricInfo on your Bash Terminal

score_terminal

You are a hardcore cricket fan, want to get updated the score while working 😄 😄 . But bored to open a browser ⇒ goto cricinfo ⇒ goto particular cricket match. Welcome, this script for you only.

Why this Script..?

I am not the fan of ...