Instantly share code, notes, and snippets.

View userContent.css
@namespace url(;
Yosemite for Firefox
Based on Tim Nguyen (Apple)
Updated by trojkat
/* back and forward buttons */
#back-button {
View gist:1989762
#~ # -*- coding: utf-8 -*-
from urlparse import urlparse, parse_qs
from django.template import Template, Context
from django.conf import settings
def video_id(value):
# -*- coding: utf-8 -*-
from django.template import Context, loader
from gallery.models import Album
def parse(kwargs):
id = kwargs.get('numer')
from django.conf import settings
def parse(kwargs):
url = kwargs.get('adres')
width = kwargs.get('szerokosc', getattr(settings, 'SHORTCODES_MP3_WIDTH', 425))
if url:
return '<embed type="application/x-shockwave-flash" flashvars="audioUrl=%s" src="" width="%s" height="27" quality="best" wmode="opaque"></embed>' % (url, width)
return ''