Mike GraftonMike Grafton
Standup 03/09/2009
edit Posted by Mike Grafton on Monday March 09, 2009 at 05:24PM

Help

How do you make a Mac not sleep?

Use the Energy Saver section of the System Preferences.

Interesting

  • RubyMine 749 is out. Many of the existing bugs have been fixed, but a few new ones have been found. Notably, running specs with a "#" character in the describe string has problems.

  • The USPS has a nifty web service for addresses. The zip code lookup (which gives you zip+4) and the address standardization services were found to be useful.

Comments

  1. Tim Connor Tim Connor on March 09, 2009 at 08:03PM

    Or use (caffeine)[http://lightheadsw.com/caffeine/] for a temporary 'fix.'

  2. Vesa Nieminen Vesa Nieminen on March 09, 2009 at 09:15PM

    Caffeine is a simple and great OS X app for enabling and disabling sleep from the task bar.

    Great for presentations and watching long YouTube videos ;)

  3. Chad Woolley Chad Woolley on March 12, 2009 at 07:31AM
    $ sudo pmset halfdim 0
    $ sudo pmset sleep 0
    $ sudo pmset displaysleep 0
    $ pmset --help
    Usage:  pmset [-b | -c | -u | -a] <action> <minutes> [<action> <minutes>...]
            pmset -g [disk | cap | live | sched | ups | batt]
               -c adjust settings used while connected to a charger
               -b adjust settings used when running off a battery
               -u adjust settings used while running off a UPS
               -a (default) adjust settings for both
            <action> is one of: displaysleep, sleep, disksleep (minutes argument)
               or: reduce, dps, womp, ring, autorestart, powerbutton, halfdim,
                    lidwake, acwake, lessbright (with a 1 or 0 argument)
                   or for UPS only: haltlevel (with a percentage argument)
                        haltafter, haltremain (with a minutes argument)
                   or: hibernatefile <path> hibernatemode <integer>
                       hibernatefreeratio <integer percent>
                       hibernatefreetime <integer ms>
               eg. pmset -c dim 5 sleep 15 spindown 10 autorestart 1 womp 1
            pmset schedule [cancel] <type> <date/time> [owner]
            pmset repeat cancel
            pmset repeat <type> <days of week> <time> 
              <type> is one of: sleep, wake, poweron, shutdown, wakeorpoweron
              <date/time> is in "MM/dd/yy HH:mm:ss" format
              <time> is in "HH:mm:ss" format
              <days of week> is a subset of MTWRFSU
              [owner] optionally describes the event creator