43 Folders

Back to Work

Merlin’s weekly podcast with Dan Benjamin. We talk about creativity, independence, and making things you love.

Join us via RSS, iTunes, or at 5by5.tv.

”What’s 43 Folders?”
43Folders.com is Merlin Mann’s website about finding the time and attention to do your best creative work.

osx assisted anti-procastination hack?

Most of my procrastination comes in the form of surfing the web, reading RSS feeds, or checking email.
Do you know if an applescript can turn off airport for a specific time?
This would be a great anti-procastination hack. Even better if it would be Password protected and is shouting "Cheater" at you if you try to bypass the lockout ;)

TOPICS: Mac OS X
mwr's picture

I'd guess that sudo "ifconfig en1...

I'd guess that
sudo "ifconfig en1 down; sleep 3600; ifconfig en1 up"
would give you a one-hour outage, but I've not tried it. Worst case, make a text file called "airport-outage.sh" in your home directory, and give it the following contents:

#!/bin/sh
ifconfig en1 down
sleep 3600
ifconfig en1 up

After that, pull up a terminal and run:
chmod 755 /Users/yourusername/airport-outage.sh
Now, you can change your outage procedure to:
sudo /Users/yourusername/airport-outage.sh
Any of these options will leave your terminal open the entire time. Avoiding that might require you to look into the 'at' command and its relative time specifiers.

 
EXPLORE 43Folders THE GOOD STUFF

Popular
Today

Popular
Classics

An Oblique Strategy:
Honor thy error as a hidden intention


STAY IN THE LOOP:

Subscribe with Google Reader

Subscribe on Netvibes

Add to Technorati Favorites

Subscribe on Pageflakes

Add RSS feed

The Podcast Feed

Cranking

Merlin used to crank. He’s not cranking any more.

This is an essay about family, priorities, and Shakey’s Pizza, and it’s probably the best thing he’s written. »

Scared Shitless

Merlin’s scared. You’re scared. Everybody is scared.

This is the video of Merlin’s keynote at Webstock 2011. The one where he cried. You should watch it. »