1. CSRF tokenMismatch Exception / Session Error with Laravel on IE/Edge

    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. You could…

    on Laravel csrf session IE EDGE Laravel 5.2 p3p

  2. Install RVM & Ruby on ubuntu 14.04

    I had searched a lot to install RVM & manage ruby version on ubuntu. First I ignored RVM and tried installing ruby from other sources. But, later it was really difficult to manage the ruby version properly. So, I just figured out the right way, removed all the installed ruby…

    on ruby linux

  3. Develop a desktop application using PHP, HTML5, JavaScript & WebSql

    I am sharing a simple method, to develop a clean native desktop application using technologies such as PHP, HTML5, JavaScript & Web Sql. Before starting, I would like to introduce some tools for the development. We don’t need to develop much here, just use some tools to wrap up…

    on javascript php html5

  4. Automatically start a node application on system startup

    Its just a simple cron job, called on every reboot. There may be many other better methods, But I just wanna share what i did. Its actually a cron, to execute on every reboot. So, We need to write the commands to start the server in an .sh file, and…

    on node.js linux

  5. Calculate distance between two latitude – longitude points using MySQL

    I would like to share 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. Function accepts four parameters, source latitude, source longitude, destination latitude, destination longitude and returns the distance between the…

    on mysql