Category Archives: Tip

Yahoo News Digest and iPhone Battery Life

I love the Yahoo News Digest app for iPhone, but hate how it kills my battery life (as of app version 1.1, February 24, 2014). Turning off Background App Refresh seemed to help a little, but only made a marginal difference.

If you want to use the Yahoo News Digest app without draining your battery, you’ll have to manually force the app to close when you’re done using it. Just double-click the Home button, find the Yahoo News Digest app, and swipe up.

Installing Wireshark on MacOS X

Installing Wireshark on MacOS X isn’t hard; however it isn’t as straightforward as on other platforms.

  1. Download and install XQuartz. While no longer officially supported by Apple, XQuartz was spun out from Apple as an open source project.
  2. Download and install WireShark
  3. Launch Wireshark
    • You might be prompted for the location of your X11 viewer (XQuartz). It is browse to /Applications/Utilities
    • Wireshark will prompt you that it will take a while to build the font cache. It’s not kidding. I had absolutely no indication of activity, then after a few minutes, Wireshark appeared.
  4. Begin capturing packets – make sure you are only sniffing packets in a location where you are authorized to run a packet sniffer (e.g. you own private network)

Other Notes

  • You can keep the Wireshark icon in your doc; however, clicking on the icon will not always bring Wireshark into the foreground. If clicking on the Wireshark icon doesn’t bring it into the foreground, try clicking on the XQuartz icon.
  • Wireshark is still a Windows/Linux program, so the menu bar is inside of the main window.

Google Chrome Print Selected

Chrome Print SelectedI accidentally stumbled upon this hint, because Marriott’s site as of January 2014 does not print nicely. The menus expand on their print css, so the real content shows up after a page long list.

Anyway, Google Chrome has a built in “Print Selected” function, but the option only appears when you have text selected. Just select the portion of the page you want to print, click on the “Menu” icon (3 horizontal lines), and select “Print…”. Near the bottom of the Chrome Print dialog, a new checkbox has appeared labeled “Selection only”. Check this option, and Chrome will update the preview.

Safely Printing at a Hotel

When using a hotel’s Business Center or other shared computer; I’m always nervous about the types of malware, viruses, or keyloggers might be installed on the computer. I never login to any accounts. Even if I have two factor authentication, I’d rather not give a criminal the opportunity to gather my password. When I have to print something, I’ve been printing to PDF from my personal computer, transferring the file to a USB flash drive, and printing the PDF on the hotel’s computer. This approach made me feel better, but I still felt like there was the opportunity for a virus on the hotel computer to infect my flash drive. What I needed was a way to prevent the hotel computer form writing to the USB flash drive. A hardware write-protect switch seemed to be the answer.

Now-days, USB flash drives with write-protect switches are pretty rare. After extensive searching on amazon.com, NewEgg, and Tiger Direct; I was only able to find a single modern flash drive with a write-protect switch. The Kanguru Flashblu 2 series of drives.

The other option is to use an SD card. Pretty much all of these have a write-protect switch, but the write-protection is in the card reader, not the card itself. There is a small mechanical switch in the SD card reader that detects if the SD card’s switch is in the lock position. While it’s unlikely someone trying to infect your card will have physically tampered with the SD card reader, it’s safer to bring your your own SD card reader.

Once you have your lockable memory, just unlock it, copy your pdf, lock the memory, insert into the hotel computer and print. Since malicious software can still read the data off of your memory, make sure you don’t store or print any sensitive files. I only print un-important things like movie tickets, directions, and other passes.

Be safe!