Embedding Javascript and HTML into Kibana 5.x

Reading this post: http://www.supermind.org/blog/1213/embed-custom-javascript-and-html-in-a-kibana-4-x-visualization Kelvin makes a really good suggestion.... and very good inspiration. The suggestion works fine but in my case I needed it to go a step further - I needed to embed an iframe into Kibana. The iframe (and indeed any other <script> tag) was being filtered out by Angular's sanitization protection. I … Continue reading Embedding Javascript and HTML into Kibana 5.x

Advertisements

Verify if a point is Land or Water in Google Maps

Inspired by this question on StackOverflow "Verify if a point is Land or Water in Google Maps" I decided to see if the question was solvable quickly and easily. This being the API economy.. surely Google has an API to solve this question? It does... in the form of Google Elevation API. Here are the end … Continue reading Verify if a point is Land or Water in Google Maps

Nugget Post: Golang HTML Templates

Golang authors have an excellent article on how to build a wiki web application entirely out of go. Towards the middle of the article, they mention the html/template package. For those of you familiar with templating systems like jade, handlebars, or flask/jinja... you should feel right at home. In golang, templating needs no third party frameworks, no … Continue reading Nugget Post: Golang HTML Templates

Nugget Post: Golang: RPC server/client implementation

As part of my efforts to learn golang, I attempted to write a simple RPC server / client implementation. Between gobs (see my previous post) and the RPC implementation, golang makes it very easy to build a distributed system where servers and client share not only data via gobs, but also methods and functions via … Continue reading Nugget Post: Golang: RPC server/client implementation

Nugget Post: Golang : Gobs and exported identifiers

This one had me scratching my head for a while... while messing around with "gobs" - binary representation of data that can be sent over the network between two golang programs - I ran into the problem of "exported fields". I had followed the post on the golang blog regarding gobs, with some modifications. I … Continue reading Nugget Post: Golang : Gobs and exported identifiers

Android GPS positioning without Google Maps

Don't get me wrong, google maps are awesome! And along with maps, so is google earth. In fact, my initial dabbling into GPS tracking used google earth to display GPS co-ordinates on a map. You can see a quick example here:   But I also got to wondering, if it would be (easier?) possible to … Continue reading Android GPS positioning without Google Maps

Android Troubleshooting: App Crash on multiple orientation change

More of a note to my future self when developing android than anything else, since this is quite a specific corner case, but who knows, maybe it helps someone else out there 🙂   Problem An app I wrote seemed to be crashing randomly when a user did a orientation change (i.e. changed from landscape to portrait … Continue reading Android Troubleshooting: App Crash on multiple orientation change