iStat Pro Widget External IP Fix

March 17th, 2013 by Ken Chang

Not sure how long it’s been but I just noticed the other day that my widget was no longer showing my external IP. Instead it’s just stuck “Updating…” Looks like the good people at iSlayer have phased out the script that was used so those of us hanging on to iStat Pro are left out again.

But once again, just like the last fix, this one’s a quick and easy edit too!

The file you’ll need to edit this time is ~/Library/Widgets/iStat\ Pro.wdgt/scripts/core.js

Find this function:
function getExtIP(){

And replace this line:
ipURL = 'http://whatsmyip.islayer.com/?random='+new Date().getTime();

With this line:
ipURL = 'http://www.whatsmyip.us/showipsimple.php?random='+new Date().getTime();

Then, just above this “if” statement:
if(extIP.length < 20 && ipConnection.status == 200 && extIP.match(/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/)){

Add these 2 lines:
extIP_len = extIP.length;
extIP = extIP.substring(16, (extIP_len - 3));

So that you have:
extIP = ipConnection.responseText;
extIP_len = extIP.length;
extIP = extIP.substring(16, (extIP_len - 3));
if(extIP.length < 20 && ipConnection.status == 200 && extIP.match(/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/)){

Now just save the file and restart the iStat widget by either re-adding it, or just click on the widget and hit Command-R.

Posted in How To, Mac | 4 Comments »

Automating My Home – Part 1

January 19th, 2013 by Ken Chang

Home automation has always been something I’ve wanted to do ever since I was a kid and now I finally get a chance to do so!

With plenty of options out there that wildly range in both price and ease of installation, I needed to find something that could be retrofitted into an existing home. Ultimately I decided to go with Insteon mainly because it works over existing power lines and RF.

Read the rest of this entry »

Posted in Hardware, Reviews | No Comments »

iOS6 Cannot connect to iTunes store

September 19th, 2012 by Ken Chang

It’s iOS6 day! And I jumped on as soon as the clock struck 10am! (Okay, maybe it was a few minutes later but close enough okay?!)

The upgrade was straight forward as always and I had no problems. Youtube was gone, but now I had Passbook, Google was out and TomTom Apple maps were in!

One bug I noticed was that when you went into Passbook and hit the “App Store” button, you would get an error, “Cannot connect to iTunes Store” I dig some quick digging and found I wasn’t alone. Luckily there’s a fix and it’s quite easy. No idea why it solves the problem but it does.

Simply go to Settings > General > Date & Time, and turn off Set Automatically. Then change your date AHEAD. The poster suggests a month, I just changed the year. Either way, move it up.

Try the iTunes store again and it should work!

Then change your date back to what you had and you’ll be fine!

Posted in iOS | No Comments »

A Better Menu Bar Battery Monitor

August 13th, 2012 by Ken Chang

One of the things I miss in Mountain Lion is the option to show the time remaining on the battery. It wasn’t totally accurate but to me it felt more useful than a percentage, at least I knew approximately how much time I had left while away from a power source.

Thankfully, there’s an app for that, and it’s free! SlimBatteryMonitor is a fully customizable app that can be configured to display time remaining or percentage with or without an icon and in any combination for when you’re plugged in, charging and on battery power.

Personally I like seeing time remaining for when I’m on battery power or when the battery is charging, but when it’s full, I don’t really need to know that information so it simply shows the icon then. You can also change the colours of the battery for the different states along with the look of the battery itself.

The icon could be made to look a little nicer, I’d even like to have the option of having the battery in sections as if it were an LCD display but apart from that, you really can’t complain!

So even if you don’t miss the time remaining display on Mountain Lion, but you like customizing everything, I’d definitely recommend checking out this app.

Posted in Mac, Software | No Comments »

Another Mac Mail Bug on Mountain Lion

August 9th, 2012 by Ken Chang

Boy these issues sure are cropping up…

This really only affects anyone who has multiple email accounts, so if you have just one, you won’t notice this at all.

What’s happening is when you reply to an email, Mail will currently use the first listed email account instead of the account the email was received from like it’s supposed to. Apparently this is something Apple is now aware of and hopefully we’ll see a fix for it soon.

In the meantime, one thing you can do is to reorder your accounts so your most commonly used account is at the top (making it the default account), and just make sure to pay attention if you’re replying to something received through another account.

To reorder your accounts, just drag the inboxes around on the folder list under Mailboxes. Thanks to a user on the Apple forum for clearing that up, I was going crazy trying to figure out why I couldn’t do it in Preferences.

Posted in Mac, Software | No Comments »

Mac Mail “Use SSL” Option Won’t Uncheck

August 8th, 2012 by Ken Chang

This was something that I had noticed but didn’t really look into since I was able to operate with it on but today I decided to fix it since I finally needed one of the accounts that don’t use SSL.

The problem is that when you go to your outgoing mail settings, “Use Secure Socket Layers (SSL),” is always checked. When you try to remove it, it just comes back right away or when you leave the page and return to it. Hopefully something Apple will address in their next update (whenever that is).

Luckily, it’s a simple fix. All you have to do is, instead of using the “Default Ports,” select “Use custom port” and enter the port your mail server uses (usually port 25 or 587). Now you’ll be able to uncheck “Use SSL,” and you’ll be able to send out email again!

Thanks goes to Tonden who posted this solution on the Apple forums!

Posted in How To, Mac | No Comments »

Getting iStat Pro Widget Working on Mountain Lion Again

July 27th, 2012 by Ken Chang

Lovers of the iStat Pro widget will notice that the processes section no longer works. Unfortunately, Bjango stated on their Twitter that there it was unlikely that there would be any further updates to the widget.

However, fortunately for us, a member on the Mac Rumors forum has found a quick and easy fix and all it takes is adding a space in two locations to the widget!

1. Locate your widget, it will be under /Library/Widgets or ~/Library/Widgets
2. Right click it and select: “Show Package Contents”
3. Open Wide.js or Tall.js file in some editor (Wide is for horizontal view, Tall for vertical)

4. Locate the line
WideSkinController.prototype.updateProcesses = function(){
var _self = this;
var exclude = "";
if(p.v("processes_excludewidgets") == 'on')
exclude = " grep -v DashboardClient | ";

if(p.v("processes_sort_mode") == 'cpu')
widget.system('ps -arcwwwxo "pid %cpu command" | egrep "PID|$1" | grep -v grep | ' + exclude + ' head -7 | tail -6 | awk \'{print " "$1""$2""$3,$4,$5""}\'', function(data){ _self.updateProcessesOut(data);});
else
widget.system('ps -amcwwwxo "pid rss command" | egrep "PID|$1" | grep -v grep | ' + exclude + ' head -7 | tail -6 | awk \'{print " "$1""$2""$3,$4,$5""}\'', function(data){ _self.updateProcessesOut(data);});
}

Change “PID|$1″ to “PID| $1″ (Add space before $ sign)

5. Save the changes

Works like a charm!!

Posted in How To, Mac, Software | 13 Comments »

Installing a Second Hard Drive in my MacBook Pro

July 25th, 2012 by Ken Chang

IMG_5949

Something I’ve wanted for a while is to install a second hard drive in my MacBook Pro but the main thing that held me back was the fact that I actually used my optical drive and removing it wasn’t really an option. But lately, I haven’t really been using it anymore and I figured now was a good a time as any!

I had done a bunch of reading on the subject before going ahead with this from which SSD I should get to what was the best way to configure OSX after the install. Everything looked pretty painless and straight forward and there didn’t appear to be any surprises (famous last words). A friend of mine knew about what I wanted to do so when he came across a $100 rebate from Intel on their 240GB 520 Series SSD, I took it as a sign and ordered the drive right away (Intel, I have yet to see my $100 rebate by the way).

With the SSD down, I looked at drive adapters to replace the optical drive. Going against most people’s suggestions, I went for the OWC Data Doubler Bracket. I was actually going to get a generic one off Amazon or eBay but reviews of people having them not fitting right steered me away. There were alternatives, but I liked the idea of a lightweight bracket and figured it wasn’t worth the hassle dealing with the UK or full on enclosure/adapters. I’ll admit though, it is a little more than I wanted to spend on a small piece of metal.
Read the rest of this entry »

Posted in Hardware, How To, Mac | No Comments »

« Previous Entries