Latest posts

Setting Dimensions of OS X Finder Windows

S

One small annoyance I have with the OS X Finder is its apparent inability to let me set a default Finder window size. However many times I resize windows with the mouse, the Finder will eventually reset them to some arbitrary dimensions.

If, like me, you find this aspect of the Finder’s behaviour particularly irksome then try this AppleScript.

(more…)

Outbrain and Blogger Read More Links: A Better Solution

O
A a couple of days back I posted a workaround for using read more links and Outbrain’s Rating Widget (ORW) in Blogger….
“As you’ve no doubt noticed I use post snippets or read more links on my blog using Blogger’s jump-links code. I’ve also recently added the Outbrain Rating Widget (ORW). Unfortunately, the two don’t play well together as the ORW is always displayed above the read more link and I’d rather it appeared below, or failing that, not at all.”
The workaround I posted isn’t particularly elegant and it has a couple of downsides. Afterwards, I got to thinking that there must be a better way. Well, there is and it’s so deceptively simple and effective that I’m ashamed to admit that I didn’t think of it before. (more…)

Using Blogger’s Read More Links with Outbrain’s Rating Widget

U

As you’ve no doubt noticed I use post snippets or read more links on my blog using Blogger’s jump-links code. I’ve also recently added the Outbrain Rating Widget (ORW). Unfortunately, the two don’t play well together as the ORW is always displayed above the read more link and I’d rather it appeared below, or failing that, not at all.

While searching for a solution I found this post on the Outbrain support forum regarding this, but sadly no answer. After several unsuccessful attempts at trying to fix this, including positioning the ORW with CSS and some JavaScript, I came up with a workaround which, while not perfect, is appropriate for my situation.

(more…)

Vertical, Horizontal & Diagonal Spry Sliding Panels

V

I was recently looking to give my photo gallery an overhaul. I’m quite a fan of Adobe’s Spry framework, so I thought I’d give the Sliding Panels widget a try. There are several examples on Adobe’s site showing panels sliding vertically, horizontally and in any direction. The direction is controlled by some CSS and after successfully playing around with vertical and horizontal sliding I couldn’t figure out from the examples how to get the panels to slide in any direction. That is until I realised how the panels are laid out and the importance of one particular CSS declaration.

(more…)

Installing PEAR Mail Package on MAMP and XAMPP

I

If you want your visitors to be able to send you an email from your site there are several options including mailto, sendmail or Postfix. There are also numerous sites offering contact forms for free. For a while I was using the excellent swiftmailer which performed perfectly on both my local and remote servers for a while, but subsequently ceased working on my remote server (presumably because of some configuration change by my hosting provider which I never did get to the bottom of).

(more…)

Starting XAMPP’s Apache Server at System Startup on Mac OS X

S

Until I recently switched to XAMPP I had been using MAMP to provide a local server environment on my Mac. A small but none the less important feature of MAMP is an option to have the Apache and MySQL servers started when you open the application. So, by checking this option and including MAMP as a Login Item my MAMP servers were up-and-running when I logged in. Unfortunately, XAMPP has no such option. Including XAMPP as a Login Item merely opens the XAMPP Control.app and I have to start the servers manually. An extra step I’d rather not have to do.

So, how can I have my XAMPP servers running whenever I login? The answer, by using a daemon.

(more…)

eMobile and Snow Leopard Fix. Hoorah!

e

After successfully performing a clean install of Snow Leopard on my MacBook I fell at the first hurdle: eMobile. My D12HW USB Modem simply didn’t want to connect under SL.

A quick call to eMobile and I was told to simply re-install the eMobile HW Utility and use it to configure the modem. No luck. SL kept reporting an AutoOpen error whenever I tried to open the utility. A second call to eMobile. Now I’m told that the eMobile HW Utility is not compatible with SL and they have no idea when it will be. Sigh.

(more…)

Configuring Virtual Hosts in XAMPP on Mac OS X

C

A while back I posted about configuring virtual hosts in MAMP. More recently I noticed that MAMP hadn’t been updated in nearly a year and their support forum resembled a wilderness. Thinking that maybe the writing was on the wall for MAMP I started looking for an alternative and came across XAMPP.

XAMPP provides a similar local server environment to MAMP, but configuring virtual hosts is a little different. Unlike the Pro version of MAMP , XAMPP doesn’t have a nice GUI to allow virtual hosts to be configured easily. So, there is no alternative but to do it manually.

(more…)

Configuring Virtual Hosts in MAMP on Mac OS X

C

If you need to easily set-up and maintain a local server environment on your Mac then look no further than MAMP. MAMP comes with Apache, MySQL and PHP and provides a local server environment that is independent of that installed as default by Leopard and best of all it’s free.

However, like any server environment, out-of-the-box you’re limited to a single local host. This can prove a little inconvenient if you’re developing more than one site and require more than one local host. The most convenient and cost effective way to overcome this limitation is to use virtual hosts.

(more…)

Recent Comments

Recent Posts

Archives