Tagged: Code

The UART over BLE Protocol flow. 10

UART GATT Server (Peripheral) on Android

In most BLE scenarios, Android app is a client (GATT Client). But one can also use Android as a GATT Server. There are use-cases where running a GATT Server on Android can be useful. For example let’s say you want a desktop app to display SMS notifications. It’s easy to write a GATT...

2

Now Open PostBox India data is available as GeoJSON

We crossed 100+ postboxes this month. As promised I am releasing the data in an open format that can be used by anybody. I am planning to update data for every 25 new addition of postboxes. Data is available in the form of GeoJSON which I thought is the most user/developer friendly format....

4

Instgram for Crowdsourcing Postbox Locations

Update: Its become an all India postbox data collection project. Now we use the tag #openpostboxindia. The source code is open sourced and can be used for any type of photo and location based data collection using Instagram and Twitter. I have been using instagram a lot. If you follow me on instagram...

0

pyg2fa : Python Library for using Google Authenticator with your Web App

I have been using Google two factor authentication for a while. It’s probably the reason why I login using my Google id on every possible site I use. I can use a simple mobile app to generate time-sensitive one-time password (OTP) along with my regular password to login. Google authenticator mobile app allows...

Octopoda – MapReduce for Human Beings in Python 0

Octopoda – MapReduce for Human Beings in Python

I have been wanting to learn MapReduce for a long time. I never got a requirement where I could use it. Last few weeks I have dabbling with huge datasets. It was time and as usual I started with wikipedia. There are huge systems and frameworks built on the concept of MapReduce. They...

Deployment of PHP or Python Applications using Mercurial and Fabfile 3

Deployment of PHP or Python Applications using Mercurial and Fabfile

Deployments are usually very painful. We generally write scripts to make it automated as much as possible. I wanted my method to be as easy as running single line on command prompt from anywhere in the world. I didn’t want to worry about anything. At last with some experimentation I have found my...