Writings
Quotes that made me a better programmer.
December 15, 2019
These are some quotes I have in my notes for the past couple of years and I believe considering these things made my code quality and planning better.
How to programatically convert an HTML5 slideshow to a video using Node.js, Puppeteer & FFMPEG.
May 16, 2018
I wanted to build a web based videomaker that allows users to make their own videos by simply drag and dropping images to a template, similar to what Animoto does. I tried using FFMPEG
to stitch images together and position text elements with some translations, but it wasn’t so smooth like the modern HTML5 slideshows you can create using simething like Tweenmax.
CSRF tokenMismatch Exception / Session Error with Laravel on IE/Edge.
December 07, 2016
Recently, I used laravel 5.2 for a project and faced a weird error with handling cookies. The problem was with storing the cookies on Internet Explorer and Edge browsers. After doing a lot of search, I came to understand that the issue is basically with P3P Policy.
Develop a desktop application using PHP, HTML5, JavaScript & WebSql.
March 27, 2014
IMPORTANT: This is something I did in 2014, and there are much better and easier options to develop a desktop application using HTML5, CSS and Javascript now. Check out Electron.js instead.
Calculate distance between two latitude – longitude points using MySQL.
February 04, 2014
Here is a mysql function to calculate distance between two latitude – longitude points. This function can be used to calculate distance either using input values or SQL join queries. The function accepts four parameters, source latitude, source longitude, destination latitude, destination longitude and returns the distance between the points in kilometers.