Skip to content

Instantly share code, notes, and snippets.

@kmcodes
kmcodes / indian.districts.geocoded.pincode.json
Created February 27, 2019 13:39 — forked from skadilover/indian.districts.geocoded.pincode.json
Indian District's GeoCoded Pin Code Data
{
"_description: Name of City, or Town": {
"State": "The Indian State under which this City/Town exists.",
"GeoCode": [
"Latitude",
"Longitude"
],
"PinCodes": [
"All",
"The",
@kmcodes
kmcodes / metatags.html
Created April 14, 2016 05:46 — forked from MicBrain/metatags.html
The list of useful meta tags used in HTML5 documents.
<html>
<head>
<!--Recommended Meta Tags-->
<meta charset="utf-8">
<meta name="language" content="english">
<meta http-equiv="content-type" content="text/html">
<meta name="author" content=”Rafayel Mkrtchyan”>
<meta name="designer" content=”Rafayel Mkrtchyan”>
<meta name="publisher" content=”Rafayel Mkrtchyan”>
@kmcodes
kmcodes / springer-free-maths-books.md
Created December 29, 2015 16:55 — forked from bishboria/springer-free-maths-books.md
Springer have made a bunch of books available for free, here are the direct links

Transforming Code into Beautiful, Idiomatic Python

Notes from Raymond Hettinger's talk at pycon US 2013 video, slides.

The code examples and direct quotes are all from Raymond's talk. I've reproduced them here for my own edification and the hopes that others will find them as handy as I have!

Looping over a range of numbers

for i in [0, 1, 2, 3, 4, 5]: