Skip to content

Instantly share code, notes, and snippets.

View danxshap's full-sized avatar

Daniel Shapiro danxshap

View GitHub Profile
@danxshap
danxshap / gist:193a74609291150c216d
Created July 7, 2014 17:01
Sass sourcemaps with django-pipeline in local development environment
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:
@danxshap
danxshap / SassMeister-input-HTML.html
Created September 12, 2014 17:25
Generated by SassMeister.com.
<div id="homepage">
<div class="navbar">
</div>
</div>
@danxshap
danxshap / SassMeister-input-HTML.html
Created September 12, 2014 17:27
Generated by SassMeister.com.
<div id="homepage">
<div class="homepage-navbar">
</div>
</div>
Verifying that +dshap is my openname (Bitcoin username). https://onename.com/dshap