Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am brosner on github.
  • I am brosner (https://keybase.io/brosner) on keybase.
  • I have a public key whose fingerprint is AF77 F82F A6E2 ADC4 6E64 71A0 A520 B718 6E67 7E82

To claim this, I am signing this object:

@brosner
brosner / init.coffee
Created December 2, 2014 14:25
Per-window environment variables in Atom
fs = require("fs")
path = require("path")
fs.readFile path.join(atom.project.getPath(), ".atom-env"), "utf8", (err, data) ->
if data?
for line in data.split "\n"
if line != ""
pair = line.split "="
key = pair[0]
This Week in Django is a weekly podcast about all things Django.
This week we talk about updates to the site, a few source commits, some cool projects from the community, and a Tip of the Week.
Please see the Show Notes below for all the pertinent information and links.
h2. Show Notes
big news?
import csv
import urllib2
import urlparse
def get_project_issues(project):
r = urllib2.urlopen("http://code.google.com/p/%s/issues/csv" % project)
first = True
for row in csv.reader(r):
OS X 10.5.6, Jython 2.5b3, Pinax 0.7beta1
=========================================
*this is not functional yet*
* install Jython 2.5b3 (in ~/jython2.5b3)
* put ~/jython2.5b3/bin on $PATH
* download Pinax 0.7beta1 and extract (in ~/pinax-0.7beta1)
* jython pinax-0.7beta1/scripts/pinax-boot.py --release 0.7beta1 jython-pinax-env
* source jython-pinax-env/bin/activate
Contributing
============
We love to see members of the community move to being members of the Pinax
development community. We want to make that process as clear and simple as
possible. Making Pinax better is our number one goal and we love to see you
help us. This document covers the details of how we develop Pinax and where
you can fit in.
Reporting bugs
# install pinax 0.7beta2 on ubuntu 9.04
sudo aptitude install python-setuptools
sudo aptitude install python-imaging
wget http://downloads.pinaxproject.com/pinax-0.7beta2.tar.gz
tar zxvf pinax-0.7beta2.tar.gz
python pinax-0.7beta2/scripts/pinax-boot.py pinax-env
echo "/usr/lib/python2.6/dist-packages/" > pinax-env/lib/python2.6/site-packages/fuck-ubuntu.pth
source pinax-env/bin/activate
pinax-admin clone_project social_project mysite
For the Birds - http://nycbirdlist.org/
Code monkeys - http://djapp.org/
Freelancer - http://tnycnt.com/
Sword of Truth - http://leafychat.com/
wwswd - http://wwswd.com/
East meets West - http://whohasmy.net/
crunkd - http://getcrunkd.com:88/
Ra - http://www.ntrie.com/
arctangent - http://rudestword.com/
Slugs - http://flicasa.com/
We couldn’t find that file to show.
@brosner
brosner / fabfile.py
Created August 5, 2009 21:55 — forked from fiee/fabfile.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
fabfile for Django
------------------
see http://morethanseven.net/2009/07/27/fabric-django-git-apache-mod_wsgi-virtualenv-and-p/
modified for fabric 0.9/1.0 by Hraban (fiëé visuëlle)
This fabric file makes setting up and deploying a django application much