Tag: Tips


If you’re like me, you wait for a while whenever new technology arrives. We didn’t get a DVD player until they had been on the scene for a few months, and we didn’t have high speed internet until the price dropped way down. In fact, there’s probably a Betamax player somewhere in the basement.

I waited until Revision 2 to pick up an Airport Extreme base station. The gigabit feature was the reason I waited. I probably didn’t notice much difference since there are only 2 wired computers on the network, and only 1 has Gigabit ethernet, but waiting for Product 2.0 is generally a good way to go. The router I was replacing is an Airport Express base station that has been my entire wireless setup since 2004, and it has been an excellent solution. With the Airport Extreme, I played around with the settings, and learned that I had better reception for my iPod touch if I used Wireless G with both routers instead of a single Wireless N base station.

With that in mind, here is a tutorial for using two Airport base stations to create a single distributed network.

Steps

  1. Configure Main base station
  2. Configure Remote base station

Read More »

Tagged with: , , , , ,


Starting a website and blog has been a very interesting learning experience for me. I’m continually looking for ways to improve the blog and make it more enjoyable. That includes writing good content, and checking the stats at the end of the day.

I’ve noticed recently that the file admin-ajax.php has received a very high percentage of my web views. By the name, I could tell it was from the admin interface, and now I know it is the autosave function that calls a new page every time it saves the current blog post. This meant that when I leave the editing page open for an extended period of time while I’m writing, admin-ajax.php is hammering my web server. This has ruined my web stats, as it skews the data, but I have found a solution.

It turns out that disabling autosave completely isn’t that difficult. If you follow this, you must remember that WordPress will no longer save while you write, meaning you can lose work much easier.

To disable WordPress autosave, you must access your website FTP and edit wp-admin/post.php and wp-admin/post-new.php. In post.php, edit line 102 that says

wp_enqueue_script('autosave');

by adding // to the beginning of the line. In post-new.php, edit line 6 in the same way so it reads

//wp_enqueue_script('autosave');

An example of the actual code is in the photo in this post.

If you ever want to restart the autosave function, just remove the // in both files.

[UPDATE]: I just noticed that autosave is also enabled for creating Pages. To modify the page editor, make the same changes to wp-admin/page-new.php and wp-admin/page.php.

[tags]Wordpress, autosave, website, blogs[/tags]

Tagged with: , , , ,


Wordpress themes are some of the greatest pieces of software to come out of the open-source movement. Created by anyone for anyone else to use, they offer some terrific designs and can be an easy way to get a website online.

If you visit the WordPress theme viewer, you’ll see sample themes that you can download immediately, or even take a test drive of the theme itself. In each theme, the text is a Latin collection that is used in many other applications as placeholder text, and it showcases all the different elements of a WordPress blog, from ordered and unordered lists to blockquotes.

What I’ve done is collected this text and added it to an XML file that can now be downloaded and turned into a blog quickly to see the theme’s look. Once imported into your existing WordPress blog, you can browse the site and check the different elements.

Download the WordPress test site XML file

Usage

Before importing into WordPress, open the XML file in your favourite text editor (may I suggest Taco HTML Edit?) and search for all occurrences of *Wordpress URL* (including the *). This represents the WordPress URL of your blog and it keeps the permalink structure together. It needs to be replaced by the URL found in your WordPress admin panel under Settings (ie. http://www.example.com/wordpress). Then, copy the picture spectacles.gif to the WordPress uploads folder at /wp-content/uploads/. Once you do this, you can import the XML file and test drive your own theme.
[tags]Wordpress, blog, themes[/tags]

Tagged with: , , , ,

iPod touch
After hearing about the new software upgrades for iPod touches and iPhones, I knew I had to get one eventually. After some penny-pinching and a few eBay sales, I finally have a touch to call my own.

I’ve only used it for a few weeks, but already I can tell this is going to be a great product that I will be using for a long time.
Read More »

Tagged with: , , , ,

Applescript
If you’re still using a POP email account, you should have a look at other providers. Gmail recently began offering IMAP service for its clients, and it is a much better way of organizing your email.

IMAP is different from POP email because it keeps all messages and attachments on the central Gmail servers. This means that regardless of how or where you download and view messages – whether on your computer, iPod, iPhone or other device – you see the same inbox, with the same unread/read messages. This is different than POP because POP requires you to download all new messages onto your computer, which makes retrieval from different places awkward.

I use Apple’s Mail.app for all of my email duties, and its integration with IMAP accounts presents some unique challenges. One of the things it does is create a complete deposit for all the messages ever sent with your account in a special folder. In itself not a bad thing, in fact it can be quite handy, but it means that you now have duplicate copies of most of your messages, and twice as many unread messages.

Until Apple and Google coordinate their efforts and make Gmail as seamless on the Mac as they have with the iPod/iPhone, there are a few things you can do to make the experience easier. One of the ways is to use this hint from MacOSXHints.com. It gets rid of the duplicate mailboxes in Gmail. Next, you have to find a way to get rid of the double mail count. To do this, I came up with a simple Applescript that is evaluated whenever there is a new message.
Read More »

Tagged with: , , ,