Get remote X Windows working in Ubuntu Karmic

One thing that troubled me moving to Ubuntu 9.10 Karmic Koala: my remote X applications stopped working with the error
X11 connection rejected because of wrong authentication

Read more ›

Emacs Power: remote servers and shell commands

Emacs file and directory browsing

Emacs has Dired, a great method for browsing directories; especially in combination with ido-mode, I prefer it to Windows Explorer, OS X Finder, Gnome Nautilus, or anything else I’ve used over the decades to browse file systems. You can quickly begin entering paths, and Dired helps you with directory and file name completion.
Read more ›

Tagged with: , , , , , ,

How I became a programmer (thank you, Captain Kirk)

With JJ Abrams rocking our worlds with new Star Trek energy, I thought I would give thanks to the Trek franchise for helping me find my vocational path.

Read more ›

Tagged with: , , , , ,

One-button website publishing using WordPress-mu

I’m kinda loving on WordPress MU. One of my recent projects required building web sites that pulled from a shared database. WordPress MU allowed me to create a one-button website builder for my client. WordPress MU calls them blogs, but my client will map a unique domain to each blog, and, well, doesn’t use them as blogs at all. So I’m calling them sites here.

By filling in three fields and clicking a button, my client creates a website that

  • Associates metadata with the site that specifies filter criteria to select records from the shared database
  • Sets the permalink structure for the new site to a custom setting
  • Creates a key category for the new site, one that is used for the posts generated in a later step
  • Sets the theme
  • All the initial pages are created, including content. The “slug” is set specifically to support the URL structure we want. Page template is also set here because our design calls for a hierarchy of pages.
  • If the PageMash plugin is active (it is auto-activated for all new blogs using Plugin Commander), certain pages are hidden, and a specific order is set so that page navigation comes out looking good
  • The front page is set, because we are creating CMS sites, not blogs
  • Several hundred posts are generated out of the underlying shared non-WPMU database tables

All of this takes something like 20 seconds, at which point the admin can visit the new site as a subdomain.  The theme has been applied, navigation works correctly, it is beauty.

Read more ›

Tagged with: , , , , ,