- Recent
- Popular
- Tags (1)
- Subscribers (4)
- A Pledgie for PledgieNovember 1
-
Pledgie is trying to go to the 2008 Philanthropy Midwest Conference.
But we need your help to get there!
We need to raise $500.00 over the next couple days to reserve a booth. We learned just yesterday that there was one last exhibitor booth available.
All the details are in our Pledgie 4 Plegie campaign.
Mark and I thank you for any support you can provide.
- Get rxvt-unicode with 256 color support on UbuntuOctober 13
-
rxvt-unicode (commonly called urxvt) already has 88 color support, and for most things, this is fine. But I recently just found the CSApprox plugin for vim, which lets you use Gvim themes in console vim. CSApprox actually does a pretty good job interpolating for 88 colors too, but it is best at 256.
So here’s my build log of compiling rxvt-unicode with the 256 color patch on Ubuntu Hardy, and debianizing (packaging) it.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 # I keep all custom deb's here, use any directory you want cd ~/debian-src # Make a place for rxvt-unicode mkdir rxvt-unicode cd rxvt-unicode/ # Get the source apt-get source rxvt-unicode cd rxvt-unicode-8.4/ # Apply 256 color patch, it's included with the source patch -p1 < doc/urxvt-8.2-256color.patch # Make sure you have all depdencies to build it sudo apt-get build-dep rxvt-unicode # Build it dpkg-buildpackage -us -uc -rfakerootThis will actually build three separate packages:
- rxvt-unicode
- rxvt-unicode-lite
- rxvt-unicode-ml
All I care about is rxvt-unicode, but you might want -lite or -ml. If someone more adept in Debian package building than I am can tell me how to just compile one of these versions, that’d be great. :)
Moving along:
1 2 3 4 5 6 # Install it! cd ~/debian-src/rxvt-unico - TextMate-like file navigation in VimOctober 11
-
I highly recommend the new fuzzyfinder_textmate Vim plugin.
In addition, this post which debuts the plugin, has a ton of other useful Vim tips and trick. If you’re a Vim user, I’ll bet you’ll learn something you didn’t know!
- Hardy Xen domU doesn't show login prompt [fix]October 1
-
I have a Xen machine running Ubuntu Hardy (8.04.1). I created a guest that was also Hardy, with xen-tools. But after booting it up, the login prompt wouldn’t appear. It would get as far as:
1 2 3 4 5 6 ... * Starting OpenBSD Secure Shell server sshd [ OK ] * Running local boot scripts (/etc/rc.local) [ OK ]And then just not show anything. The VM wasn’t hung, just the login prompt didin’t display.
After googling to no avail, I lucked out with button mashing some options in my <vm>.cfg file. Adding this to the end of my <vm>.cfg made it work:
extra = 'xencons=xvc console=xvc0' - Update: Immutable, with exceptionsSeptember 21
-
This is an update to my previous article: Making methods immutable in Ruby.
By popular demand, I’ve made my Immutable module raise an exception, by default, if you try to override an immutable method.
So, the following:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 require 'rubygems' require 'immutable' module Foo include Immutable def foo :foo end immutable_method :foo end module Foo def foo :baz end endWill raise an error:
Cannot override the immutable method: foo (Immutable::CannotOverrideMethod)

