Skip to content

Instantly share code, notes, and snippets.

@yogiks
yogiks / index-with-redis.php
Created December 14, 2015 07:57 — forked from JimWestergren/index-with-redis.php
Redis as a Frontend Cache for WordPress
<?php
/*
Author: Jim Westergren & Jeedo Aquino
File: index-with-redis.php
Updated: 2012-10-25
This is a redis caching system for wordpress.
see more here: www.jimwestergren.com/wordpress-with-redis-as-a-frontend-cache/
@yogiks
yogiks / diffmapphp.pl
Created September 28, 2015 03:59 — forked from poempelfox/diffmapphp.pl
replacement for diffmap.php
#!/usr/bin/perl -w
my $filepath = '/home/osmantra/osm-analytic-tracker/html/osmt/cset-%d.bounds';
use CGI qw(:standard);
print("Content-type: text/html\n\n");
unless (defined(param('cid'))) {
print("ERROR: NO CID (changeset ID)\n");
exit(0);
}

India, as is already well known, is a complex universe. The 1.2 billion people who inhabit an area 1/3rd the area of the US speak over 1000 native tongues. There are 2 official languages in use by the federal government for administration - English and Hindi. The Indian Union gives special status to 22 scheduled languages which are considered the major regional languages, each with many millions of native speakers. These 22 languages are what can be practically considered the major languages of India that will cover over 95% of the population.

To take complexity to the next level, there are 9 writing systems that are exclusively found only in India and are in active use for their respective languages. While most scheduled languages have their dedicated writing system, other languages have adopted a writing system like the case of [Konkani](https://en.wikipedia.o

// Lefalet shortcuts for common tile providers - is it worth adding such 1.5kb to Leaflet core?
L.TileLayer.Common = L.TileLayer.extend({
initialize: function (options) {
L.TileLayer.prototype.initialize.call(this, this.url, options);
}
});
(function () {