Skip to content

Instantly share code, notes, and snippets.

@andrewharvey
andrewharvey / mapnik_render_static_map.py
Created October 16, 2011 10:31
Render a static map using Mapnik given centre, zoom and image width/height.
#!/usr/bin/env python
# This script is like generate_image.py from the OSM Mapnik code,
# but it renders based on a given centre point, zoom and final image pixel size
# Author: Andrew Harvey <andrew.harvey4@gmail.com>
# License: CC0 http://creativecommons.org/publicdomain/zero/1.0/
#
# To the extent possible under law, the person who associated CC0
# with this work has waived all copyright and related or neighboring
@nfreear
nfreear / github-commits.js.html
Created August 30, 2012 20:45
Display a commit log using Github API v3 JSON-P, Javascript & underscore.JS
<!doctype html><title>*Github commits</title>
<style>
body{ font:1em sans-serif; }
#commits li img{ width:36px; height:36px; float:left; margin-right:8px; }
#commits li{ clear:left; margin-top:8px; }
#commits li .co{ display:block; }
</style>
<h1>Github commits</h1>
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active July 7, 2024 19:32
A badass list of frontend development resources I collected over time.
@prakhar1989
prakhar1989 / richhickey.md
Last active November 8, 2023 17:19 — forked from stijlist/gist:bb932fb93e22fe6260b2
richhickey.md

Rich Hickey on becoming a better developer

Rich Hickey • 3 years ago

Sorry, I have to disagree with the entire premise here.

A wide variety of experiences might lead to well-roundedness, but not to greatness, nor even goodness. By constantly switching from one thing to another you are always reaching above your comfort zone, yes, but doing so by resetting your skill and knowledge level to zero.

Mastery comes from a combination of at least several of the following:

@golf1052
golf1052 / golf1052.conf
Last active April 26, 2017 02:57
My Caddy configuration file
# Sites
https://www.golf1052.com, https://golf1052.com {
root /var/www/golf1052.com/public_html
ext .html
errors {
404 404.html
}
rewrite {
r \.(py|pyc|exe|sh|txt|ini|cs$)
to /404.html