bash

Using eclipse galileo/ShellEd plugin for writing bash scripts

UPDATE:  ShellEd version 2.0 has a new installation procedure:
http://sourceforge.net/apps/trac/shelled/wiki/Documentation/InstallGuide
I just tried this and it worked fine against Eclipse Helios


I've been having getting my normal editor working (a Winders editor that I run under wine) and thought I'd give eclipse a shot.

I did some searching and ended up installing the ShellEd plugin.  It offers source coloring and context sensitive help popups.  It doesn't create a custom perspective or a project type; but that's fine.  I'd be happer with the solution if eclipse offered text wrapping (!).  Despite that, the system seems to work fairly well.

Drupal Script Library

I have created a nifty set of scripts for managing collections of Drupal installations.  I find them indispensable for maintaining a large stable of Drupal sites. The scripts allow for automated install and patching of Drupal installations as well as a host of other administrative tasks.  They enforce and leverage my best practices for Drupal deployments.

See the README for full information on the scripts within the library as well as usage guidelines:
http://svn.toddgee.com/drupalScripts/README

The scripts themselves can be seen here:
http://svn.toddgee.com/drupalScripts

and can be checked out (read only) with the command:

$ svn co "http://svn.toddgee.com/drupalScripts" drupalScripts

Enjoy!  And give me feedback/suggestions/patches by leaving a comment below.

 

 

Migrating Gallery to Dreamhost (migrate PostgreSQL -> MySQL)

One of the last things to migrate to Dream Host is my collection of Gallery2 installations.

The biggest issue is a database disparity. On whip (my old server) my gallery2 installs were done using the multisite installation scheme on a PostgreSQL database. DreamHost supports only MySQL and gallery doesn't have an import/export function. So, I had two options: reimport the albums into fresh gallery2 installs or migrate the installations along with the data. I didn't want to loose all that meta-data so I gave migration a shot. These notes are being typed after doing the process a 2nd time. Learn from my mistakes!

Tethering my centro cellphone to my linux laptop

I needed to figure out how to tether my (Sprint) Centro to my laptop.  ("Tethering" being the cool way to say use the phone to provide network connectivity.)

After looking around, specifically at this page, I purchased the Mobile Stream USB Modem software.  (I use their Card Reader software already and it works great.)  I followed the directions on the ubuntu tutorials site and was able to get network connectivity right away.

Of course, I had to do a few more things (get name service set up, etc.)  Being the script compulsive person I am, I wrote the script below (also attached as file) to facilitate this system.  Now all I gotta' do is get connection sharing working and I'll be golden.

Before the script tho, some other links:
           June Fabrics 'PdaNet' software, according to reports on the 'net, works well; but is Winders only, so a no-go.
           A page on getting DUN working w/ bluetooth on the Mac.  Has some interesting words about getting a Vision password.  I found it wasn't necessary as did the person who wrote the Ubuntu tutorial.

Syndicate content