Mac

Forcing PowerPC iMac to boot from USB

Submitted by Darren Oh on Mon, 04/30/2018 - 08:47

Yesterday, a friend brought me a second-hand iMac G5 that he could not get the password for. He wanted to erase and reinstall the operating system. We had ordered a Leopard install disk, but the iMac kept ejecting it. I copied the install disk to a USB flash drive, but it did not appear in the list of startup disks. The instructions on the page Boot a PowerPC Apple from USB provided a workaround:

Tags

Setting $PATH properly on macOS High Sierra

Submitted by Darren Oh on Fri, 03/02/2018 - 11:58

PATH is a variable that determines where the system looks for commands. Most guides I found suggest setting this in a Bash configuration file. But this only affects commands run in a Bash terminal. Global paths on macOS High Sierra are set in /etc/paths. You can also add a file to /etc/paths.d. Files in that directory have their paths included automatically.

Tags

Moving keys from Bitcoin Core to MultiBit wallet on Mac

Submitted by Darren Oh on Mon, 07/04/2016 - 12:37

The Bitcoin block chain had reached 85 gigabytes last week, so it was no longer practical to run a full node client on my laptop. A full node client verifies a transaction by checking earlier transactions all the way back to when the network first issued the funds used in the current transaction. To do this, it first has to download every block of transactions in the chain. The alternative is a client that uses simplified payment verification (SPV).

Tags

El Capitan Airplay Mirroring Issue

Submitted by Darren Oh on Fri, 02/12/2016 - 10:46

When I tried to use Airplay to make my TV a second display, the TV went blank. None of the mirroring options were shown in the Airplay menu. I called Apple support, but Airplay mysteriously started working during the call. Yesterday, the problem was back. I found the solution in an Apple support community post. There seems to be a bug in El Capitan that prevents Airplay from being used as a second display if there is an invalid login item.

Tags

MEAN App on Mac OS X

Submitted by Darren Oh on Wed, 02/10/2016 - 17:18

I’m working with a MEAN app on Mac OS X El Capitan Version 10.11.3. Every time I restart the computer, the app crashes, saying, “Too many open files.” I have to run this command in the terminal to get the app to start:

ulimit -n 1024

Tags