Skip to content

Instantly share code, notes, and snippets.

View hossain-khan's full-sized avatar
🙈
Just do it!

Hossain Khan hossain-khan

🙈
Just do it!
View GitHub Profile
@hossain-khan
hossain-khan / chromecast-config.json
Last active January 3, 2016 21:59 — forked from nathanjones/chromecast-config.json
Updated list based as on January 20, 2014
{
"applications": [
{
"use_channel": true,
"allow_empty_post_data": true,
"app_name": "edaded98-5119-4c8a-afc1-de722da03562",
"url": "http://chromecast.redbull.tv/receiver.php"
},
{
#!/bin/sh
################################################
#
# Backup SVN repos to local folder
#
# @author Hossain Khan
# @email contact [at] hossainkhan [dot] info
# @version v0.01
# @reldate 2010-03-27
################################################
@hossain-khan
hossain-khan / kml-to-android-maps-v2.php
Last active July 19, 2019 09:26
Snippet for parsing KML file and then converting to polygon shapes of Android Google Maps V2
<?php
/**
* Dirty way to parse the KML file and create equivalent polygons for android maps V2
*
* What it does:
* - Reads local KML file and looks for "Polygon" data, and converts them
* to equivalent simple polygon data for Android Maps V2
*
* What it does NOT do / Limitations:
* - Consider all possible DOM tree structure