Upload images to Amazon S3 with Paperclip on Rails

Sometimes uploading files to your server's local filesystem is not enough due to some constraints like a limited disk space and potential security issues caused by allowing users to upload files to your server. Using third party services like Amazon S3 for file storage is a good way to solve these issues. I decided to use the Paperclip gem to implement this functionality on my Rails app.

Building a mock location app for Android.

Recently I've been asked to test the android app I'm developing for my client. The app is called SurveyBods and owned by the company called Researchbods and it is only available in the UK. A notification shows up whenever the user enters a place which is represented by a geofence. The notification would prompt the user with a survey or a quick poll. My problem with this is that I'm not allowed to get out of my office and using DDMS is a very tedious task so I decided to make a mock location app to make it more exciting for me.