Author: Alan Siu

  • Getting started with pygame on a Mac

    There are a lot of pygame tutorials out there, but I haven’t yet found a simple, step-by-step how-to on how to just get pygame installed on a Mac, and then actually use it. So, hopefully, this will work for you. This example was done using Macs running OS X 10.10 (Yosemite). Your mileage may vary. […]

  • Movie projects disappear after iMovie upgrade

    When you upgrade to the new iMovie, there’s a quick prompt to update your old iMovie projects, but if you dismissed that and don’t know how to go back and update again… Go to File > Update Projects and Events…More info at Apple: Update projects and events from previous versions of iMovie in iMovie (2014)

  • Adding a carriage return within a cell in Numbers

    If you want to do a carriage return within a cell in Numbers (iWork), hit Option-Return on your keyboard. This will not work in Microsoft Excel (Office 2011).

  • Troubleshooting AirPlay to AppleTV

    This is less of a step-by-step tutorial and more of “this is a situation we encountered and what ended up fixing it… your mileage may vary” post. We had one laptop that had trouble connecting to one Apple TV in a classroom. My own laptop could AirPlay to it just fine. When the non-connecting laptop […]

  • Resetting a Windows password with ntpasswd

    Proper Use Case You may encounter situations in which you have forgotten the administrator password on a Windows computer, and you need to reset the password. This tutorial will walk you through how to reset it using an open source tool called ntpasswd. Improper Use Cases If your Windows computer is joined to a domain, […]

  • How many times do you have to write zeros or random data to a drive to securely delete data?

    Conventional wisdom says that you need to do many passes of zeros, ones, combination of zeros/ones, and then random numbers in order to securely erase a drive so that its data cannot be recovered. But is this true? The folks at HowToGeek make a good case for one pass of zeros being enough: HTG Explains: […]

  • Fix for disk erase failed couldn’t unmount disk

    If you’re trying on a Mac using Disk Utility to erase a hard drive and it won’t unmount, giving you an error similar to Disk erase failed. Couldn’t unmount disk, then you may have to force an unmount through the terminal. Launch up (through /Applications/Utilities or through a Spotlight search). Then paste in the […]

  • Running sudo commands in Automator

    If you’re wondering how to run sudo (for privilege escalation) commands in Automator, this is one way to do it. Launch up Automator (of course). Find Run AppleScript in the library of actions. Then, drag it over to the workflow area on the right. By default, Automator will put in some script structure for you […]

  • Fix ownership of copied folders for Active Directory Macs

    Warning This script does some serious system modifications. If you don’t know what you’re doing, ask questions in the comments. Don’t just run this script if you don’t understand what it does or how it’s doing it. This also assumes short usernames match up with user folder names, which they usually do. What issue this […]