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
/* | |
NOTE: There's some magic going on in .cols() to add a negative right margin. | |
This resolves the the inline-block issue for uncompressed html. However, | |
it shouldn't be here - you should minify your html instead. This will | |
be removed in the immediate future. | |
This is the core framework for the site. | |
It implements the baseline LESS CSS Mixins and general style rules. |
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
# ######################################################## | |
# s3filefield.py | |
# Extended FileField and ImageField for use with Django and Boto. | |
# | |
# Required settings: | |
# AWS_BUCKET_NAME - String, represents the default bucket name to use if one isn't provided | |
# AWS_ACCESS_KEY - String | |
# AWS_SECRET_KEY - String | |
# | |
# From here: http://djangosnippets.org/snippets/1976/ |
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
<!-- Check out the latest version: | |
https://gist.github.com/2906984 | |
--> | |
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
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
#nav .nav_main { | |
margin-top: 0px; | |
width: auto; | |
} | |
#nav .nav_main li { | |
font-size: inherit; | |
} | |
#nav .nav_main li a { |
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
/* UploadHandler.js | |
REQUIRES: jQuery | |
USAGE: | |
new UploadHandler(DivName, ArgsHash); | |
new UploadHandler('#my_div_to_watch', { 'upload_url': '/gallery/post/', 'debug': true }); | |
new UploadHandler(['#div1', '#div2'], { 'upload_url': '/gallery/post/' }); |
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
/* | |
Better Gradient | |
Better gradient LESS CSS mixin. Lets you start and | |
stop gradients at arbitrary distances, rather than 100%. | |
This expands on what is done by lesselements | |
(which is an awesome package!) | |
http://lesselements.com |
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 *******************/ | |
/* Variables & Mixins */ | |
/* Fonts & weights */ | |
@font-stack-main: "franklin-gothic-urw-cond", "Helvetica Neue", "Helvetica", "Arial", sans-serif; | |
@font-weight-book: 400; | |
@font-weight-medium: 500; | |
@font-weight-demi: 700; |
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> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
<style type="text/css"> | |
html { height: 100% } | |
body { height: 100%; margin: 0; padding: 0 } | |
#map_canvas { height: 100% } | |
</style> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> |
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
for i in *.CR2; do dcraw -c -a -w -v $i | convert - -resize '1000x1000' -colorspace gray $i.jpg; done; |
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
<ul class="gallery-list"> | |
<?php /* Featured galleries */ | |
$parent_id = $post->ID; | |
$featured_args = array( | |
'post_type' => 'page', | |
'meta_key' => 'featured', | |
'meta_value' => 1, |
OlderNewer