Skip to content

Instantly share code, notes, and snippets.

Avatar
🙈
Just do it!

Hossain Khan amardeshbd

🙈
Just do it!
View GitHub Profile
@amardeshbd
amardeshbd / chromecast-config.json
Last active Jan 3, 2016 — forked from nathanjones/chromecast-config.json
Updated list based as on January 20, 2014
View chromecast-config.json
{
"applications": [
{
"use_channel": true,
"allow_empty_post_data": true,
"app_name": "edaded98-5119-4c8a-afc1-de722da03562",
"url": "http://chromecast.redbull.tv/receiver.php"
},
{
View svn-backup-cron.sh
#!/bin/sh
################################################
#
# Backup SVN repos to local folder
#
# @author Hossain Khan
# @email contact [at] hossainkhan [dot] info
# @version v0.01
# @reldate 2010-03-27
################################################
@amardeshbd
amardeshbd / kml-to-android-maps-v2.php
Last active Jul 19, 2019
Snippet for parsing KML file and then converting to polygon shapes of Android Google Maps V2
View kml-to-android-maps-v2.php
<?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
You can’t perform that action at this time.