Writing
Infrastructure notes
2017, written while running the AWS estate at Ogilvy and the PCI DSS infrastructure at Econet.
- How to get all the database and table sizes in MySQL or MariaDB
If you are working with MySQL or MariaDB web server, sooner or later you will be asked for the size of database or tell me the size of all the database.
- How to set or change default text editor for crontab in Linux?
To edit the crontab entries you use. The command will check for the environment variables or. So you need to set the or variable.
- How to install a Comodo SSL certificate with NGINX
If you have generated the CSR and purchased or renewed the SSL with Comodo, you might have noticed that, the comodo has sent you 4 files instead of one file.
- How to give access to specific users to specific buckets on AWS S3
In AWS S3, you might want to provide the access to selected users to selected buckets.
- How to add or change the password (passphrase) of OpenSSH key?
It’s possible you have earlier generated a ssh key without password/ passphrase.
- How to find files on linux OS ( distributions )
If you are working on Linux OS, finding files effectively always a tricky part.
- How to create CSR ( Certificate Signing Request ) for new SSL or to renew SSL?
SSL (Secure Sockets Layer) is a standard security protocol for establishing encrypted connection between a web server and client browser in communication.
- How to decode CSR (Certificate Signing Request) ?
Certificate Signing Request is encrypted piece of code which is going to used for generating the SSL Certificate for your domain name.
- AWS – NDB – Ubuntu – Add separate location for MySQL temporary (tmp) storage
By default MySQL uses the system default location used for temporary file storage, which is usually,, or..
- Ubuntu 16.04 – Cisco VPN Client installation
On Ubuntu 14.04 only was working. But for Ubuntu 16.04 you need to install as well.
- Solution – Apache – SoftException in Application.cpp:388: GID of script “index.php” is smaller than min_gid error
If you are getting the errors in apache logs like below in cPanel/WHM web hosting most probably the file user or group ownership has been changed.
- Top 3 ways to debug your code while programming
If you do programming, you will definitely face problems with your code and stuck somewhere. That situation is pretty frustrating for beginners.
- Linux – Increase / Resize the Disk Storage in AWS EC2 EBS without reboot
From 13th Feb 2017, there is no need to reboot the EC2 instance for increasing the EBS disk storage.
- Linux – How to set default version of PHP in Ubuntu 16.04
It might be possible you have installed multiple version of PHP in you server or system.
Early work
2009 to 2012, starting the month I finished my degree.
- Php: How to prevent from XSS Attacks
Data contains HTML or JavaScript can cause a really big Problem, which is being entered by user.
- Heart Purely Vectorised : using Adobe Illustrator
I had just created a Heart using vector in Adobe Illustrator. 🙂 This is what it looks like. You can download the Adobe Illustrator source file from here.
- Mahatma Gandhi Sketch: in Illustrator (vector)
I just created a sketch of our father of nation Mahatma Gandhi in Adobe Illustrator. The preview in JPG file is given below.
- Google Pacman (Source Download)
Day before yesterday Google celebrated 30th anniversary of PAC-MAN.
- Finding Rank of a Word: With Repetition
In the previous tutorial, we learned how to find the rank of a word, if the letters are having no repetition.
- Finding Rank of a Word. (No Repetition)
Lets first, we should know what is the RANK of a word?
- Solution 2: Algorithm 1
Below is the solution for Algorithm Problem 1 You can download the source file here.
- Solution Hint: Algorthimic Problem 1st (How to find the shared area of two intersected circle)
If you will go for the problem statement then you will find that you have to find the Area covered by intersection of two or three circles.
- Algorithm Problem 2: Easy
Hey, try to solve this. This is an easy problem to solve.
- Algorithm Problem 1 : Med
This problem I got to solve on “Prodyogiki 09” in an University Competition of NITs. I was unable to solve that..
- Welcome to My Blog!
Hi, Welcome to my blog! I will try to post the content related to programming, algorithmic problems, systems administration, cloud computing.