Category: Hacking

Mounting Windows Shares On Linux 0

Mounting Windows Shares On Linux

There must be a gazillion posts on this, so I’m just going to concentrate on what I did wrong. First I wanted to mount the target share as NFS, but the server doesn’t export to our desktop subnet at work. I saw it was running Samba, and remembered having had it working on Windows XP, so tried that. A friend at work had an /etc/fstab line that almost worked. Turns out smbfs is deprecated and cifs is the new smbfs,...

Gitweb Diffs Between Versions 4

Gitweb Diffs Between Versions

Our company deploys code into production primarily from our version control system.  I suppose all companies do, in some way or another.  We endured a long hell with CVS and a far shorter stint in the purgatory of Subversion before we went into the heavenly light of Git. The way we do it is to tag various branches destined for certain groups of machines, archive a snapshot, then copy those out to where they belong.  This is all partially automated...

Emacs Menubar Buffers List Format 0

Emacs Menubar Buffers List Format

And now for something completely different.  No depression updates this time.  A new “Hacking” category and a code tip on getting the full filenames in the menubar buffers list of Emacs. I use Emacs 23.1.50.1 on my desktop, mostly for the kinds of things (quick copy and pasting and scratch pads) vim’s modal model doesn’t make altogether easy.  I’m not a vehement advocate of either editor, but of both. ;; Copied from /usr/share/emacs/23.1.50/lisp/menu-bar.el.gz (defun menu-bar-update-buffers-1 (elt) (let* ((buf (car elt))...