This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=jcalendar_disabled | |
:background #bbb | |
:color #888 | |
table.jCalendar | |
:border 1px solid #000 | |
:background #aaa | |
:border-collapse separate | |
:border-spacing 2px | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div#placeholder | |
img | |
:src "/images/placeholder.jpg" | |
:alt "This is just a placeholder image" | |
p#image_description | |
"This would be the text that would go inside the paragraph tag" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# My app will start with creating a generic relationship with any object that notifies it of an update | |
from django.db import models | |
from django.contrib.contenttypes.models import ContentType | |
from django.contrib.contenttypes import generic | |
class ActivityStreamItem(models.Model): | |
actor = models.ForeignKey("... want to populate from another model's inner class ...") | |
content_type = models.ForeignKey(ContentType) | |
object_id = models.PositiveIntegerField() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
{% block html_head %} | |
{% endblock html_head %} | |
</head> | |
<body id="{% block body_id %}{% endblock %}" class="{% block body_class %}{% endblock %}"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// wouldn't this be lovely | |
#policus_services_descriptions | |
+column(8) | |
+last | |
.headline | |
+slug_text | |
:color #{!dark_gray} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Gdal <Formula | |
url 'http://download.osgeo.org/gdal/gdal-1.7.2.tar.gz' | |
homepage 'http://www.gdal.org/' | |
md5 '05351f8cb61761ae579667e24a297fe6' | |
depends_on 'libtiff' | |
depends_on 'giflib' | |
depends_on 'proj' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=badgify | |
position: absolute | |
top: -5px | |
right: -5px | |
padding: 4px 8px | |
line-height: 16px | |
text-align: center | |
font-size: 16px | |
font-weight: bold | |
color: rgb(255, 255, 255) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Typography mixins go here | |
=small_link_text | |
font-size: 11px | |
a | |
text-decoration: none | |
color: $blue | |
=view_link_text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// _home.sass | |
@import home/featured_items | |
@import home/brands | |
@import home/new_items | |
#home_content | |
@include grid-container | |
#featured_items |
OlderNewer