I do not know what this is
Facebook | Flickr | Last.fm | Twitter
inky:
how do I indent this damn thing
I might go with something like:
type variable =
function(
function(
function(parameter, parameter)
, parameter
, parameter
)
, parameter
);
This way one doesn’t have to tab way over. The code stays on the left. Also makes it easier to change parameters and makes it fairly clear to which function the parameters belong.
I was looking for a small, yet relatively easily customizable terminal emulator and happened upon evilvte. Unhappily, however, the author apparently did not see the use of allowing the terminal to be resized in a typical manner, as many users of NETWM-compliant window managers (myself included) might expect. Thus, using the convenient comparison chart on the evilvte webpage I checked out TinyTerm, which resizes as one would expect. I then searched through the tinyterm source, found the bits that handle window resizing, copied them, pasted them into the evilvte source, changed the variable names appropriately, and voila! This patch will save the user approximately five minutes of work. Please cherish them.
Download: evilvte_resize_patch.diff
Oba-Dobi Kenobi
it’s safe to switch me off now
Home of the Chromium Open Source Project
how to backup/write a disk’s master boot record (MBR) in linux