Archive

Archive for the ‘Mac’ Category

Mac OSX Lion Cursor Disappeared? Get It Back

May 4th, 2012 No comments
Mac OSX Cursor Gone

Did Lion devour my cursor?

From what I’ve found when searching online, I’m not the only one who has their cursor periodically disappear in OSX Lion. Once in a while I’ll return to my Mac Mini (my iMac and Macbook Pro never have this problem) and my cursor is nowhere to be found. The mouse or trackpad still works; if you go way down on the screen over the dock the hover affect will work but the cursor is still not visible.

One way I found to bring the cursor back is to zoom the screen. If you don’t already know this, you can zoom in the screen at any time by holding down the ctrl key and scrolling up (or down depending on your system preferences). You can then zoom back to normal again by doing the opposite and, voila! Your cursor is back.

I can’t guarantee that this will work for you but it definitely works for me and I’ve heard from many others who say the same. Hopefully this tip will help you end the frustration of the missing Lion cursor.

Image By Manurguez (Own work) [CC-BY-SA-3.0], via Wikimedia Commons

Categories: Apple, Mac Tags:

Fix For PayPal CSV Transaction History Download

April 17th, 2012 No comments
PayPal Issues

PayPal Issues Solved

Have you been frustrated with trying to download your PayPal transaction history only to have the browser spin it’s wheels forever. Even if your report is small, the download still usually fails. I’ve fought with this many times and have finally found the fix. Apparently this is due to a PayPal timeout issue. You can fix this problem by using a terminal command to “aggressively try and keep the connection to PayPal alive” so the download can finish.

So, to fix this on a Mac,:

  • go to your History page on PayPal
  • select your date range
  • open Terminal or iTerm
  • enter the following
    • sudo sysctl -w net.inet.tcp.keepidle=10000 net.inet.tcp.keepintvl=5000 net.inet.tcp.always_keepalive=­1
  • enter your admin password
  • successfully download your transactions!

If your transaction list is huge you may still have to narrow your history search.

Thanks to Mark for posting this solution. I found it here: http://www.youtube.com/watch?v=U8jPvIGX6aw

Categories: Mac, PayPal Tags:

Fix ‘Unkown host’ Error on Mac

January 26th, 2012 No comments

Have you ever had one of your websites become inaccessible on only one of your computers? The site loads up fine on every other machine you try it on but on this one machine, nada. If you try to ping the domain you’ll likely be presented with an ‘unknown host’ error.

If your computer is a Mac you will likely first think to try dscacheutil -flushcache . However, this will not work for you unless you are using an older version of OS X. Now what you’ll have to do is the following:

sudo killall -HUP mDNSResponder

In most cases this is what will work for you. I won’t bore you with a lengthy explanation of why. Just try it.

Categories: Apple, Command Line, Mac, Web Tags:

What Happened to File Paths in Lion’s Spotlight Results?

January 14th, 2012 No comments

Spotlight in Lion

Being a nerd I love keyboard shortcuts. Because of this, when using a Mac I use Spotlight extensively. I use Spotlight as a calculator, for word definitions, and most frequently, to launch applications and find files.

One of the many changes in OS X Lion is a change in Spotlight is that it no longer displays the path to a file on your machine when you mouseover a search result. Previously I used this all the time when trying to locate files. How could Apple get ride of this extremely useful feature?

Well, they didn’t. It’s still available but is a bit more hidden. I’m not sure where this is documented or how we were supposed to figure it out but thanks to Richard Cardona and the CapMac Forums I learned how to get file paths again. Now I’ll share it with you.

  1. As before, enter your search query in Spotlight.
  2. Also as before, either use your arrow keys to move down to the appropriate search result or mouseover the search result
  3. When the new preview window pops up to the left of the Spotlight results, hold down the command key

At the bottom of the preview window the name of the file will initially be displayed. Keep holding down the command key and in a second or two the path of the file will be revealed! Now you know where that file is located on your system.

Lion Spotlight Search Results with File Path

While holding down the Command button

Categories: Mac Tags:

Apples to Apple: Fun and Interesting Infographic

January 10th, 2012 No comments

Here’s a fun infographic comparing Apple, the company to apples, the fruit.

A few of my favorite points:

  • China produces 44% of the world’s apples and 100% of the world’s Apples
  • the average apple weighs about the same as an Apple iPhone 4s (5oz. versus 4.9oz.)
  • an iphone 4s is 33.6% glass

Thanks to MBA Online for putting this one together.

Apples to Apple: more similar than you might think

Apples to Apple: more similar than you might think

Categories: Apple, iPhone, Mac Tags:

Installing node.js on Mac OSX

January 9th, 2012 No comments
Node js

Node.js

I recently installed node.js on a Mac running OSX 10.7.2 and these were the steps I followed at the command line.  Git and Xcode were already installed on the machine so this assumes they are already present.

  1. git clone git://github.com/ry/node.git
  2. cd node
  3. ./configure
  4. make
  5. sudo make install

You can test that node is installed by running a simple program such as:

var http = require('http');
http.createServer(function (request, response) {
  response.writeHead(200, {'Content-Type': 'text/plain'});
  response.end('Node.js has arrived.\n');
}).listen(1337, "127.0.0.1");
console.log('Up and running at http://127.0.0.1:1337/');

You can run this code by saving it as something like testing-node.js and then entering the command:

node testin-node.js

That’s it. Node.js is now up and running on port 1337 !

PS: stop the server with ctrl + c

 

Categories: Mac, Web Tags:

Command Line Tip: Position Cursor with the Mouse

November 26th, 2010 No comments
command line tip - place your cursor with the mouse

Place your cursor with the mouse

When entering long commands in the terminal, making changes or fixing mistakes in the middle of the command can slow you down. Moving your cursor over one character at a time to get the to point where the change is needed takes too much time! Fortunately on a Mac you can actually use your mouse to position the cursor wherever you want in the current line.

The trick is to hold down the ‘Option’ key while clicking. Move your mouse pointer where you want the cursor and ‘Option-Click’. When doing this the cursor will actually move to that point in the line. I didn’t believe it until I tried it. It really works! Another command line time saver.

Categories: Apple, Command Line, Mac Tags: , , , , ,

Copy and Paste Without Formatting in Chrome

November 26th, 2010 1 comment
Google Chrome Logo

Copy - Paste Relief!

For people like me who work extensively on the web, copying and pasting can be a huge pain. The main pain point is when you copy some text from a web page and don’t want all of the formatting when you paste it somewhere else, like an email or a blog post. Most people end up copying the content into a work processor like Textmate or Notepad and then re-copying and re-pasting. What a hassle!

Well, there is a handy built-in shortcut in Google Chrome (my choice for best browser) that automatically removes formatting when you paste. Yay! If you are on a Mac, the shortcut is ‘Command-Option-Shift-v’ and if you are on Windows it is ‘Control-Shift-v’.

The 4 key shortcut on Mac is a bit of a ‘handful’ but it is well worth it.

Categories: Mac, Web, Windows Tags: , ,

Top Right Bubble in Mac OS X: The Lozenge

July 17th, 2010 No comments

Have you ever noticed that wide grey bubble in the top right of some of your Mac application windows? When I first moved to Mac it took a while before I even noticed it.  Its actually quite handy.

The button, sometimes called the ‘lozenge’ is used in applications that have a ‘Hide Toolbar’ option in their ‘View’ menu.

In Finder the button will hide both the toolbar and the sidebar. If you command-click the button it will modify how the toolbar is displayed, cycling through variations of words and buttons, buttons only, words only and various different sizes of buttons etc.

The Mac Lozenge

The Lozenge

Another handy use of the lozenge is installing an app. When doing so you are often presented with the window that has the app icon. Sometimes there will be an Applications icon that you can simply drag the app icon into in order to move the app to the Applications folder. When this isn’t the case people usually think they need to open another Finder window in order to drag the app to the Applications folder. However, the lozenge can save you this trouble. Simply click on it and a sidebar will appear and you can drag the app to the Applications folder listed there. Nice!

Some other applications that have the ‘lozenge’ include:

Mail, Preview and Adium.

Categories: Mac Tags: , , , ,

Command Line Tip: Start of Line – End of Line

July 17th, 2010 No comments

If you like to work from the command line there are many keyboard shortcuts that can make your life easier. Two of my favourites are control+a and control+e. When you are have some text entered and you want to quickly get to the start or end of the entered text these little shortcuts will save you some key-presses.

ctrl + a: moves the cursor to the start of the line

ctrl + e: moves the cursor to the end of the line

Many of you will already know about these handy shortcuts but if you haven’t I think you’ll really appreciate them.

Categories: Command Line, Mac Tags: , , , , , ,