flatpage admin widget
This doesn't work correctly
The yui-js breaks some of django's admin js (collapse divs etc)
I use tinymce and the yui-richtext editor in django projects quite a bit. I prefer plain text, but clients don't. Anyway I utilize flatpages quite a bit and need a way to ...
continue →tunnel web traffic over ssh
I'm moving over to china for a year or so and needed a way to encrypt all my traffic and keep from getting blocked by the great firewall of china.
I did some searching and asked the guys over @ think tank forums. Someone mentioned just tunneling the traffic over ...
continue →django admin preview
Picked up a quick tip over LLR for quick django admin previews. This works perfect on my projects.
Add a new preview view to your app
# views.py
from django.contrib.admin.views.decorators import staff_member_required
from django.views.generic.list_detail import object_detail
@staff_member_required
def preview(request, object_id):
return object_detail ...
continue →
a mint for the empire
It's been along time since I've rebuilt the backend or frontend on this site. Did both of those things today and pulled just a few popular openbsd posts from the last database.
Hope you enjoy the site. May put up comments in the future.
continue →firefox + flash + vimperator + openbsd
Ill make this one quick. I use Firefox. I use it for a few reasons.
- Native Binary
- Flash works great now
- A few useful random plugins
- Vimperator -- This keeps me from switching. Period.
I have kept my eye on midori but I basically won't use another browser that doesn ...
continue →scrotwm and mrxvt
The window manager and terminal are pretty much the basics of your GUI environment. Most of the software I use is light, clean and simple. These two apps are not exceptions. Do one thing and do it well
Window Manager
I prefer to use the keyboard whenever possible, especially on ...
continue →openbsd ports and packages
I mainly use packages to install 3rd party software, but sometimes you need ports to install software that has distribution or licensing limitations as well as a way to customize packages when the default flavor doesn't suit your needs. Ports can also be an easy way to browse for ...
continue →openbsd first boot
So now you have a brand new OpenBSD install and just booted it up for the first time. Let run through the basics. First things first. Read afterboot(8). Read the whole thing. Follow that link or just run man afterboot on your system. After that, here is basically what ...
openbsd installation
The OpenBSD installation is simple and quick. It is also highly documented so I wont cover everything here but just note a few things that may be of interest to you during install.
Running a Snapshot
I will be installing a snapshot of OpenBSD (currently 4.5-BETA) as there are ...
continue →