Thursday, April 5, 2018 - 12:07
Basingstoke station
Very nice town. Very sunny and clean here.
Tuesday, April 3, 2018 - 22:40
Ravi in college
This morning I was going to Reading when I thought of exposing the shell script that I wrote yesterday to read the CSV file where I am storing my GPS location and sending it to my website. I though of this idea where I can simply query my database of flat files. I thought of creating a bash script where I can pass the date and time argument and it will return my GPS coordinates of that day by looking in the CSV files. I also thought of exposing this script using API. So when I was searching on the net for some libraries I am actually found one called goexpose that might do the job but I was interested in doing something very simple and quick. I also found one link where I found this code. // This tool exposes any binary (shell command/script) as an HTTP service. // A remote client…
Monday, April 2, 2018 - 20:20
Ravi Sagar Location
This Easter break was very fruitful for me. In fact I was quite satisfied with the work that I did in the last few days. In the past few weeks I am following IndieWeb principles and I implemented POSSE as well. I was quite satisfied with the new approach on my blog where I started posting small updates using notes. However I also wanted to implement checkins on the site and I shared the approach I took with my Drupal website and the modules I used to achieve it. However I still wanted this ability to display my current location on my site. I was actually inspired by Aaron Parecki. I wanted to do the same thing and I first thought of using his code which he open sourced but I wanted to do it myself and also I don't have an iPhone plus my site runs on Drupal and I was more comfortable…
Monday, April 2, 2018 - 14:10
Sunday, April 1, 2018 - 13:51
Sunday, April 1, 2018 - 10:29
Setup Hugo website and deploy it in less than 30 minutes
Recently I made a Hugo website for one of my domain. The idea was to learn Go Language but at the same time make a project as well. Good thing about Hugo is that it takes very less time to setup. I also deployed the website from my Github repository to Netlify. Instructions to setup Hugo with Netlify: http://go.ravi.pro/c3meq Here is the video.
Saturday, March 31, 2018 - 19:13
Drupal Blackberry Checkin
I am obsessed with location tracking. I started using Foursquare more than 10 years ago on my Blackberry phone. I loved that app. It is still one of my favourite application. It was very popular for couple of years but then after the smart phone revolution (post Blackberry phase) I guess Foursquare lost its shine but they came back with their new service Swarm. I have not really restarted using Foursquare to the fullest yet however since the last few months I have been hooked to the IndieWeb principles. I am trying very hard to post everything on my website and syndicating it elsewhere - POSSE. It is a good way to own your data and I don't see any reason why people should not follow IndieWeb principles. Coming to the point of my obsession with GPS tracking. I do track lot of my actual…
Saturday, March 31, 2018 - 18:45
Finally I figured out a way to manage checkins on my site. Phew. Was scratching my head since yesterday.