Skip to content

Instantly share code, notes, and snippets.

View shashankgroovy's full-sized avatar
🏁
Godspeed

Shashank Srivastav shashankgroovy

🏁
Godspeed
View GitHub Profile
<a href="" class="button_holder">
<span class="f1">
<span class="f2">
<span class="f3">
<img src="http://picbox.im/image/7f1b604490-off.png">
</span>
</span>
</span>
</a>
@shashankgroovy
shashankgroovy / gist:1461906
Created December 11, 2011 18:18 — forked from jamescasbon/template.py
Pure python templates using with statement
"""
A really stupid python template language inspired by coffeekup, markaby.
Do not use this code, it will ruin your day. A byproduct of insomnia.
TL;DR
-----
This module defines a template language that allows us to do:
d = Doc()