Currently Browsing: Mac Tech

Solved: Adobe Lightroom CC 2015 update problem

After realizing my Adobe Lightroom CC 2015 at home hadn’t been auto-updating (and needed the latest update to be compatible with recent Sony raw format), nothing seemed to fix it — neither trying manual download nor updating permissions or other common online advice. (It was updating fine on another machine.)

The solution turned out to be: delete the file: /Library/Application Support/Adobe/AAMUpdaterInventory/1.0/AdobeUpdaterAdminPrefs.dat

Symptoms were: the “update” option under the help menu was disabled and the Creative Cloud showed the apps as current. The steps I did to fix it were

  • delete the “AdobeUpdaterAdminPrefs.dat” prefs file (see above)
  • log out of your Mac account (just to be safe)
  • log back in and both the Creative Cloud app as well as the in-app help menu should now offer the update option

    If this doesn’t work for you, it may be something else (like the oft-cited permission issues or conflicts with earlier versions of the app).

  • Change a homebrew app to previously installed version

    If a previous version isn’t available via homebrew brew search (even after installing brew tap homebrew/versions) so you can’t switch via brew [un]link $FORMULA and you have installed it previously, do:

    brew info $FORMULA
    brew switch $FORMULA $VERSION

    E.g., to downgrade phpmyadmin from 4.5.2, I used:

    brew switch /usr/local/Cellar/phpmyadmin 4.3.4

    See: homebrew Tips-N’-Tricks

    (Of course you can also always manually update the symlink in /usr/local/share or update/create your own formula.)

    Get directory sizes via command-line

    For Linux and Mac etc:

    du -sh *

    Quick localized web server: python SimpleHTTPServer

    This has been around for a while, but easy to forget if you need a basic web server for testing, etc., you can simply run:

    python -m SimpleHTTPServer 8181

    from the directory you want to be the web root, and you’re good to go. This is a built-in feature that will work on OS X and most *nix systems.

    The great use case for this is when you have a folder with some files you want to test/view and there are AJAX or other features that need to run over HTTP but you don’t want to bother setting up a local test site or copying the files to existing one. Since it defaults to the folder you are in as the web root, you can also use root-relative links without a hassle. It defaults to port 8000, you can change that on the command line (as above).

    Add a bash alias like alias ws="python -m SimpleHTTPServer" and then you can simply type ws from any directory to start a server.

    If you need to change any other settings, see docs here

    Clear DNS cache on Mac OSX

    How to reset (flush) the DNS cache on Mac OSX

    OSX 10.9 (Mavericks)
    dscacheutil -flushcache
    sudo killall -HUP mDNSResponder

    should also work for 10.10 (Yosemite)

    « Previous Entries Next Entries »