How to add a button to jEdit for Infoviewer preview in browser

Posted in Tutorials, web design on October 10th, 2011 by Nancy — Be the first to comment!

Now that you’ve got jEdit and Infoviewer working together to use Firefox to preview your web pages or code, it gets tedious quite quickly to go all the way thru the menu’s just to load a page.

So, let’s setup a button on the toolbar in jEdit to launch our preview.

Open jEdit and go to Utilities | Global Options

Select Toolbar from the left menu and then click the Add button at the bottom.

You will now see all the options for this new button. Here is how I have mine setup:

click for fullsize image

Now, when I click the “Internet” or Globe icon, my current page will load in Firefox directly from jEdit!

How to launch Firefox preview from jEdit

Posted in Tutorials, web design on October 8th, 2011 by Nancy — 2 Comments

jEdit is my code editor of choice. I’m running it on Windows 7. Here’s some quick instructions for setting up the preview of your code or web pages to launch Firefox instead of  jEdit’s own internal browser.

First, install the InfoViewer plugin from within jEdit.

Open jEdit choose Plugins | Plugin Options under InfoViewer | Choose Browser check the box “Use internal…”, then tick the box “External Browser”  and set the path below:

c:\Program Files\Mozilla Firefox\firefox.exe $u

Apply it.

Now, when you want to load the current page/file into Firefox, choose Plugins | InfoViewer | Open current buffer with browser

Firefox as browser in jEdit Infoviewer

 

How to batch process images with Gimp

Posted in graphic design, web design on August 30th, 2011 by Nancy — Be the first to comment!

Let’s walk thru how to use David’s Batch Processor add on for Gimp to batch process images in a snap! We’re going to focus on batch resizing of an entire directory of images but there are a lot of options available in David’s Batch Processor, such as turn, blur, color, resize, crop, sharpen, and rename. It will take some getting used to on all of the fine details under each tab but well worth the learning curve.

You can download and find install/troubleshooting information on David’s Batch Processor here. You can also send David a donation from that page if you want to send the good karma back.

Once you get it all installed, let’s get started! Open Gimp. On the main window menu bar you will go to Filters | Batch Process

Try to reign in your excitement when you see all the options tabs in this window. I’ll never admit to spending many a late nerdy nights trying out the options to “just see what happens”.

Ok, let’s add the directory of files we want to batch resize.  Click the Add Files button.

You can select individual images or the whole range depending on which one’s you want to apply the resizing to. I usually click the top image, hold down the SHIFT button, scroll, and click the last image to select them all. If you want to select just individual images, use CTRL-ALT and click the one’s you want to add.

Once you have them selected, click Add.

So. You clicked Add right. And it looked like nothing happened. You will need to click the Close button to close this window.

You will now see your added files in the list. To resize all the images in the list, click the RESIZE tab.

Again, lots of options. For the purpose of this tutorial we’re going to keep it simple. Resizing can be relative to the input image size or an absolute size. Check the ENABLE button to “turn on” Resizing and  check the box KEEP ASPECT locks the x and y sliders to the same value.  Set the X and Y to .20, this will resize the images to 20% of their original size.

While it’s tempting to click the Start or Test button’s now, WAIT – we haven’t finished our settings! Click the Output tab and in the drop down area, choose JPG. You can modify the settings here as you’d like, increasing the Quality will increase each individual file size but sometimes that’s a good trade off. I went with a medium setting of 75.

Almost there so let’s click on the most confusing tab ever, the Rename tab. You’re just going to have to trust me on this one. If you really want to make yourself crazy, just try and figure out what clicking the Source Dir button does. I’m not going to torture you, so click the Select Dir and choose the same folder where the original images are. I like to add a prefix to my file names so they will be listed together, as you can see here a “t-” will be added to the original filename when it is resized.

Ignore what the path says after “Original:”. Honestly, you’ll drive yourself crazy trying to sort it. This is easily the most frustrating tab as one errant click here will generate a long and hard to understand error message. If I get that error, I usually close the batch processor and try again.

Click Start and the image batch processing will run until it’s complete. You’ve now got a whole set of original files and a whole set of resized images. Well done!

Red, White and Find

Posted in Adventures on July 10th, 2011 by Nancy — Be the first to comment!

Independence Day Geocaching! A generous dose of sunblock and I hit the streets for some urban caching. A beautiful day so thought I’d tackle an aptly named “Paul Blartt Mallticache”. This one’s a bit upper league for me with a 4 difficulty rating. While closing in to the coordinates I knew right away I was in for quite a hunt. Lots of places for a hide, trees, shrubbery, rocks, and assorted types of muggles. Ducking quickly into the thick of things to have a look around and let the trees camouflage me. No luck finding it so had to move on.

On down to the next one quarter mile up from here. As soon as the proximity alarm on the GPS went off I remarked “really…right here?!” I was in the middle of a parking lot! I think my GPS was getting some interference from the power transformer close to here or there was a solar flare. I reset the GPS and it still pointed in the middle of the lot. Thought, well I’ll have a look around the area – being a holiday there were no muggles anywhere. Could not come up with the find, though now that I’m thinking about it, I’m thinking this one’s a decoy out in plain sight. Will have to try this one again.

Well, not a good start to the day. I was determined to find at least one cache. I hadn’t been geocaching in months. I can’t be that rusty!

Onward and upward. Literally. Quaint little park just a short drive from this cache. Walking in I notice a nice little muggle family playing with their kids. They didn’t pay any attention to me so on I went in search of the two caches in this park. Followed the needle thru a short field and came upon a barrier of intense grass and thicket.

wooden-a-ladder-be-nice3

Poked thru only to find a creek just 50 feet  from my destination. Wait a second. I’m an idiot. I had my nose so glued to the GPS I didn’t notice the BRIDGE just around the corner to the left. Tromped my way out of the thicket (well, at least I got the customary leg scratches) and crossed the creek in style. And with dry boots to boot.

wooden-a-ladder-be-nice2

Thats. Just. Great. Being vertically challenged I knew I was going to have to use some skill and dexterity to snag this one.

wooden-a-ladder-be-nice1

Fortunately nature had left me a step stool – a large trunk lay just off in the bushes. Placed it right under the hole for that 2 foot boost I needed. It was wobbly but I was able to get my hand in there and fetch out the cache.

Giddily grinning now that I’ve taken my DNF streak to task, I marched back to the front of the park to another bridge.

eastsiders-west-side-cache3

Only problem here was the mosquitos.

eastsiders-west-side-cache2

A little tip toe stretch and I had it.

eastsiders-west-side-cache1

Swaggering back to the car I was keen on getting one more before calling it a day. Quick drive to this LPC with muggles everywhere. Sure to be expected: nice day + holiday + cold beer on tap = muggles.

happy-bday-nvg1

Just as I was walking up to it, a car pulled right into the parking space next to it. Had to make a cell phone call to my favorite nobody to delay the snag. Luckily the “draw” of miller time made this muggle clear out quickly. Nice way to end the holiday with 3 finds in a row and smashing away the DNF blues.

Create a Desktop shortcut in Lubuntu for Nautilus

Posted in debian on August 22nd, 2010 by Nancy — 3 Comments

I’m using Lubuntu as my operating system. It uses pcmanfm as the default file system. For most tasks this is ok, but when I want to connect to shares on both windows and other linux pc’s, I have to use Nautilus.

Here’s how I setup a desktop shortcut in Lubuntu:

Open Terminal (on Lubuntu, it’s called LXTerminal, but any terminal will do).

Verify that you have lxshortcut installed by entering this into Terminal (enter your root password when prompted):

sudo apt-get install lxshortcut

Now to create the desktop shortcut, enter this in Terminal:

lxshortcut -o ~/Desktop/nautilus.desktop

A GUI window will pop up and you can enter the details as you like. I wanted a desktop shortcut to launch Nautilus file browser only, so I entered where it says Command:

nautilus --browser --no-desktop

NOTE: Those are double dashes in front

Finish customizing the name and icon for your new shortcut and Save. Now you will have a desktop shortcut to use Nautilus within Lubuntu.

Indiana Jones much?

Posted in Adventures on June 21st, 2010 by Nancy — Be the first to comment!

After wrapping up some work near Spirit Lake, I got out the GPS to find a few caches on my long road trip back to Des Moines. This is just a modern day treasure map, ahem, google maps versus Sanskrit cloth.

lake-okoboji-map

My favorite find was this one at the end of a swinging rope bridge, aptly named “Swingin’ in Estherville”. The rivers in Iowa are running really high from all the rain we’ve been having and this one was no exception. The river was loud and rumbling as I approached the bridge entrance.

swingin-estherville-enter-here

Took a few deep breaths as I moved out to the center of the bridge. True to it’s name, it was swinging… and creaking… and I felt quite uncertain what would happen at any given moment. As if the world was about to drop out from under me. I felt like Indiana Jones. Well, minus the Thugees. And the screaming blonde. “Hang on lady, we going to go for a ride!”

swingin-estherville-small

Back to the task at hand – find the TREASURE! Ah, here it is! And I didn’t have to bring a sandbag.

swingin-estherville-cache

I left the “Big O” travel bug here in sacrifice for all the oh’s and expletives uttered during the crossing of the rope bridge and got out of there before Mola Ram shows up. I forgot to bring my sword.

swingin-estherville-cache-contents

How to setup a linux file share from an old computer

Posted in debian, Tutorials on June 20th, 2010 by Nancy — Be the first to comment!

Took an old computer this weekend and wanted to learn how to setup a file server. This is an easy way to take an old computer, stack in a bunch of hard drives, and turn it into a file share for music or file storage. Also handy for backing up entire hard drives on the systems you use everyday.

Initially, this took many hours and lots of googling for answers. I’ve decided to list the steps below. On the second pc, the entire process only took 45 minutes to setup.

I used a linux distro called CRUNCHBANG (#!) and I chose the lite version – it’s lean and mean linux goodness. Read more…

Stinging nettles-anator

Posted in Adventures on May 30th, 2010 by Nancy — Be the first to comment!

Snagged a few geocaches along Hwy 169, including this one. We walked up to the area and as I was sweeping around a bright shiny tube caught my eye. Hey! It’s right here – “hiding” in plain sight.

its-right-here

On our way south toward Gendler Park, GPS shows a cache in a little roadside park. Both of us armed with GPS’s we raced to see who could find it first. Over here. No. Wait. Over here. Dang. No. Maybe back there…..Jen’s knowledge of all things carpentry worked in her advantage to find this cache. Otherwise, I’d still be out there looking for it. This happy little container was tucked under the tree in a cutout piece of wood. Nice fake out!

jen-makes-the-grab

Well, enough with the easy finds *wink*. Urban caches abandoned we set out in search of Panther Creek’s cache. Ah, the peaceful Iowa jungle….we go tromping thru here – bushwacking with our shins – when we hit a big patch of stinging nettles. I’ve never know firey pain like that before. It’s like being stung by a dozen wasps.

iowa-jungle

Both Jenny and I must have hit the motherload of stinging nettle patches because we were cussing and dancing around for a good 8 minutes until the pain subsided. Oh, lookie here…..

hole

We were a little gentler in our steps on the way back to the car. Really should have worn long pants. And shin guards.

What a Beach!

Posted in Adventures on April 18th, 2010 by Nancy — 1 Comment so far

Took a week to fly east in search of nice beaches and good times with the family and hey, they were up for going geocaching! *wink*

Family’s first find at a home improvement store parking lot. Not pretty but we sure had fun doing the “Drunken Bee Dance” geocachers are known for….gps was bouncing the location of this cache quite a bit but we came up with it. I know my hair looks like I crawled into that storm drain to get the cache but no….that’s just the infamous “humid hair”:

VB-first-find

On to the next find, everyone getting pretty jazzed now. A tough find but the nephew spots it – ah, he’s a natural – I’m so proud!

VB-C-first-find

We find 4 more geocache’s that day and finished it off with a round of extra large slurpees.

Full of brash and sass from our geocaching conquests, we took time to relax at the beach.

VB-beach1 VB-beach-2 vb-beach-3

Crave Chocolate Sauce

Posted in Adventures on March 20th, 2010 by Nancy — Be the first to comment!

Was up near Ankeny volunteering with Easter Seals at Crop for Camp on a sunny Sunday when we got a mini break in the afternoon. I had about an hour and a half before we started end of event cleanup. Hum….I’m Craving Chocolate Sauce. Good thing I packed my GPS. The Outback Steakhouse across the street from this cache has reportedly the best chocolate sauce in Des Moines. Now that’ll warm the body real good.

GPS pointing at that tree….yes, that one surrounded by the ice sheet sidewalk. Oh well, I’ve always wanted to try the luge.

crave-choc-sauce

Ha ha – a great UPS (“unnatural pile of sticks”) here:

crave-oh-right-there

Time to go warm up and hit that chocolate sauce! UPS peace!