Skip to content

Instantly share code, notes, and snippets.

Avatar

Daniel Shapiro danxshap

View GitHub Profile
View gist:ff129cb30a29ac135b1d
Verifying that +dshap is my openname (Bitcoin username). https://onename.com/dshap
@danxshap
danxshap / SassMeister-input-HTML.html
Created Sep 12, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<div id="homepage">
<div class="homepage-navbar">
</div>
</div>
@danxshap
danxshap / SassMeister-input-HTML.html
Created Sep 12, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<div id="homepage">
<div class="navbar">
</div>
</div>
@danxshap
danxshap / gist:193a74609291150c216d
Created Jul 7, 2014
Sass sourcemaps with django-pipeline in local development environment
View gist:193a74609291150c216d
import re
import simplejson
from pipeline.compilers.sass import SASSCompiler
from django.conf import settings
class SASSWithSourcemapsCompiler(SASSCompiler):
"""
For sourcemaps to work properly, we need to replace paths like these: