Skip to content

Instantly share code, notes, and snippets.

View whatisjasongoldstein's full-sized avatar

Jason Goldstein whatisjasongoldstein

View GitHub Profile
@whatisjasongoldstein
whatisjasongoldstein / gist:5525444
Created May 6, 2013 14:16
Assignment tag, really simple
{% get_blocks_for campaign 'area' as foo %}
@register.assignment_tag
def get_blocks_for_campaign(campaign, area):
return campaign.whatever_dict.get(area)

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert

* {
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
}
@whatisjasongoldstein
whatisjasongoldstein / 0_reuse_code.js
Created January 14, 2016 18:42
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console