journal http://www.20seven.org/journal/ ...not so private reflections of greg.newman en Copyright 2008 Mon, 08 Dec 2008 06:56:56 -0500 http://www.sixapart.com/movabletype/ http://www.rssboard.org/rss-specification Emacs mode for dpaste.com Since Paul Bissex announced the api for Django-powered dpaste.com last week I've had it's been on my todo list to make a emacs mode for posting pasties.

]]>
http://www.20seven.org/journal/2008/12/emacs-mode-for-dpastecom.html http://www.20seven.org/journal/2008/12/emacs-mode-for-dpastecom.html Django emacs django emacs Mon, 08 Dec 2008 06:56:56 -0500
Textmate and Gist for Emacs First of all, Happy Thanksgiving to everyone. I hope you're enjoying food, family and football, I know I am. I'm also enjoying my new emacs minor-mode developed by Chris Wanstrath, aka defunkt.

]]>
http://www.20seven.org/journal/2008/11/textmate-and-gist-for-emacs.html http://www.20seven.org/journal/2008/11/textmate-and-gist-for-emacs.html Django emacs django emacs Thu, 27 Nov 2008 18:21:57 -0500
Emacs: Dired Directory Management Picking back up on the Emacs series I started earlier this month I would like to take some time to discuss the Dired mode for directory management.

I've used ECB in the past and found it nice, feature rich but in my opinion it had too much information and was in my way, not to mention it drastically increases emacs load time. So I removed it from my configs and now only use Dired. Once you get used to it it really is very powerful.

]]>
http://www.20seven.org/journal/2008/11/emacs-dired-directory-management.html http://www.20seven.org/journal/2008/11/emacs-dired-directory-management.html Django emacs emacs Sun, 16 Nov 2008 09:04:59 -0500
Django PDF Concatenation On the heels of PDF Generation with Pisa in Django I've had the need to pull from a library of pdfs and concatenate based on user selection. At first there seemed to be no good solutions but research and a recommendation by James Tauber (thanks James) turned up pdftk (the pdf toolkit).

]]>
http://www.20seven.org/journal/2008/11/django-pdf-concatenation.html http://www.20seven.org/journal/2008/11/django-pdf-concatenation.html Django django Thu, 13 Nov 2008 18:52:07 -0500
PDF generation with PISA in Django Today I had to come up with pdf generation for a project and was happy to find Pisa makes this cake-work. Pisa depends on Reportlab but you don't have to dig into Reportlab to get your pdf generated.

]]>
http://www.20seven.org/journal/2008/11/pdf-generation-with-pisa-in-django.html http://www.20seven.org/journal/2008/11/pdf-generation-with-pisa-in-django.html Django django Tue, 11 Nov 2008 18:59:47 -0500
Sandboxing Django Reusable Apps A couple days ago Brian Rosner posted a great article on Reusable App Conventions. If you haven't read it yet it's worth a read or two. I have a few in the works and want to quickly discuss sandboxing your development process for reusables using Pinax.

]]>
http://www.20seven.org/journal/2008/11/sandboxing-django-reusable-apps.html http://www.20seven.org/journal/2008/11/sandboxing-django-reusable-apps.html Django Django Pinax Thu, 06 Nov 2008 19:16:25 -0500
Emacs Terminal Emulator In Distraction Free Progamming with Emacs I mentioned the ability to have a shell or terminal running in a window within your workspace. This is extremely handy to run tests in Python Shell or to see when something is going wrong with your code. The emacs wiki is a great source of information but I'll give you a quick rundown on how to get up and running quickly.

]]>
http://www.20seven.org/journal/2008/11/emacs-terminal-emulator.html http://www.20seven.org/journal/2008/11/emacs-terminal-emulator.html Django emacs emacs Tue, 04 Nov 2008 19:45:55 -0500
Distraction free programming with GNU emacs Editors

Since becoming a switcher in 2004 I exclusively did my work in Textmate. Early summer 2008 I started to explore other options. I spent a couple of months in Vim, MacVim to be precise, and really enjoyed it. After I got comfortable with MacVim, it's tabs and use of NerdTree for file management started to feel a lot like Textmate. That's not necessarily a bad thing, just not what I was really looking for.

]]>
http://www.20seven.org/journal/2008/11/distraction-free-programming-with-gnu-emacs.html http://www.20seven.org/journal/2008/11/distraction-free-programming-with-gnu-emacs.html Django emacs emacs Sun, 02 Nov 2008 07:39:13 -0500
Emacs Series I am going to attempt to participate in the National November Writer's Month with Eric Florenzano, Eric Holscher, Brian Rosner, Justin Lilly and James Tauber. I'm going into this daunting experiment with a mostly positive attitude. (I think i can...) We'll see.

I've never done a series here on 20seven before so over the next few weeks I'll be doing a six part series on GNU emacs as my development environment. I'll be mixing in some posts on art and photography as well as Django related posts so bear with me.

]]>
http://www.20seven.org/journal/2008/11/emacs-series.html http://www.20seven.org/journal/2008/11/emacs-series.html Django emacs emacs Sat, 01 Nov 2008 12:52:02 -0500
Django Cachebuster In a chat with James Tauber he mentioned he needed a cachebuster and for a few projects including Pinax I need to ensure my css and javascript edits are not being cached in the browser. This is a standard feature in Rails but not in Django so I whipped up a simple setup of tag helpers to do the trick.

]]>
http://www.20seven.org/journal/2008/09/django-cachebuster.html http://www.20seven.org/journal/2008/09/django-cachebuster.html Django django Mon, 22 Sep 2008 09:45:03 -0500
Pinax Setup and Deployment For the past four or five months I've been helping out and contributing to the Pinax project which is gaining popularity and buzz very quickly. If you're not up to speed on what Pinax is, the best and most amusing way is to watch the video of James Tauber's talk at Djangocon or simply dive in and get your social network up and running.

After the launch of Cloud27 and Djangocon, there has been much more activity surrounding Pinax and a few questions about deployment. While the documentation is being worked on, I figured I would write up some general principals on the deployment of your project.

]]>
http://www.20seven.org/journal/2008/09/pinax-setup-and-deploy.html http://www.20seven.org/journal/2008/09/pinax-setup-and-deploy.html Django django pinax Fri, 19 Sep 2008 05:29:56 -0500
A quick way to build Graphviz and Pygraphviz Eric Holscher put up a nice screencast Saturday on using the excellent django command extensions. I've used it before but wasn't aware of all the nice features the guys had built into it so I needed to get my Mac up to speed with graphviz. Fine and dandy but pygraphviz didn't play nicely with the graphviz images available, so I needed to build it.

]]>
http://www.20seven.org/journal/2008/09/graphviz-and-pygraphviz.html http://www.20seven.org/journal/2008/09/graphviz-and-pygraphviz.html Django django django_extensions Sun, 14 Sep 2008 20:44:08 -0500