Skip to content

Instantly share code, notes, and snippets.

@chadoh
Created August 5, 2010 02:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chadoh/509151 to your computer and use it in GitHub Desktop.
Save chadoh/509151 to your computer and use it in GitHub Desktop.
caprese config files for troubleshooting
BlockDomains(
'youtube.com' => %w[
72.14.213.100
72.14.213.101
72.14.213.102
72.14.213.113
72.14.213.138
72.14.213.139
74.125.127.100
74.125.127.101
74.125.127.102
74.125.127.113
74.125.127.138
74.125.127.139
74.125.45.100
74.125.67.100
72.14.213.138
],
"facebook.com" => %w[
69.63.181.0/24
69.63.184.0/24
69.63.186.0/24
69.63.187.0/24
],
"myspace.com" => nil,
"twitter.com" => %w[
128.121.146.0/24
168.143.162.0/24
],
"vimeo.com" => nil,
"veoh.com" => nil,
"linkedin.com" => nil,
"plurk.com" => nil,
"bebo.com" => nil,
"yelp.com" => nil
)
LaunchApplications "Google Chrome", "Preview", "MacVim", "Terminal"
# "Terminal" can't be found because it's not in '/Applications/', it's in '/Applications/Utilities'
# I tried including it with these four combinations, all to no avail:
## "Utilities/Terminal"
## "/Utilities/Terminal"
### => These two gave the error 'Not all start actions were completed because this happened: Application "/Utilities/Terminal.app" not found'
## "Applications/Utilities/Terminal"
## "/Applications/Utilities/Terminal"
### => These two gave the error 'LaunchApplications: - I can't find application [/]Applications/Utilities/Terminal installed in /Applications/[/]Applications/Utilities/Terminal.app'
QuitApplications
QuitAndBlockApplications "TweetDeck", "NatsuLion"
AdiumStatus(
:away => "Pomodoro! Ends at #{stop_time.to_short_time}",
:available => "Available"
)
BlockDomains(
'youtube.com' => %w[
72.14.213.100
72.14.213.101
72.14.213.102
72.14.213.113
72.14.213.138
72.14.213.139
74.125.127.100
74.125.127.101
74.125.127.102
74.125.127.113
74.125.127.138
74.125.127.139
74.125.45.100
74.125.67.100
72.14.213.138
],
"facebook.com" => %w[
69.63.181.0/24
69.63.184.0/24
69.63.186.0/24
69.63.187.0/24
],
"myspace.com" => nil,
"twitter.com" => %w[
128.121.146.0/24
168.143.162.0/24
],
"vimeo.com" => nil,
"veoh.com" => nil,
"linkedin.com" => nil,
"plurk.com" => nil,
"bebo.com" => nil,
"yelp.com" => nil
)
LaunchApplications "Google Chrome", "Preview", "MacVim", "Terminal"
QuitApplications "Google Calendar"
QuitAndBlockApplications "GMail", "Google Reader", "Google Voice", "TweetDeck", "NatsuLion"
# => All of these Google apps can't be found because I don't have applications for them, they're just websites...
# => I suppose I'll have to find their IP addresses and add them to the BlockDomains parameters?
# => Does this actually work for *you*, though? You put it in the sample, so I'd assume so, but I didn't even know there were apps for all of these. Nor does Google, as far as I can tell.
AdiumStatus(
:away => "Pomodoro! Ends at #{stop_time.to_short_time}",
:available => "Available"
)
BlockDomains(
'youtube.com' => %w[
72.14.213.100
72.14.213.101
72.14.213.102
72.14.213.113
72.14.213.138
72.14.213.139
74.125.127.100
74.125.127.101
74.125.127.102
74.125.127.113
74.125.127.138
74.125.127.139
74.125.45.100
74.125.67.100
72.14.213.138
],
"facebook.com" => %w[
69.63.181.0/24
69.63.184.0/24
69.63.186.0/24
69.63.187.0/24
],
"myspace.com" => nil,
"twitter.com" => %w[
128.121.146.0/24
168.143.162.0/24
],
"vimeo.com" => nil,
"veoh.com" => nil,
"linkedin.com" => nil,
"plurk.com" => nil,
"bebo.com" => nil,
"yelp.com" => nil
)
LaunchApplications "Google Chrome", "Preview", "MacVim"
QuitApplications
QuitAndBlockApplications "TweetDeck", "NatsuLion"
AdiumStatus(
:away => "Pomodoro! Ends at #{stop_time.to_short_time}",
:available => "Available"
)
#IchatStatus(
#:away => "Pomodoro! Ends at #{stop_time.to_short_time}",
#:available => "Available"
#)
#Campfire(
#:start_message => %(< #{MY_NAME} started "#{description}": #{start_time.to_short_time} - #{stop_time.to_short_time} >),
#:stop_message => "< #{MY_NAME} ended >",
#:campfire => {
#:domain => 'domain.campfirenow.com',
#:room => 'Room Name',
#:login => 'LOGIN@domain.com',
#:pass => 'SECRET_PASSWORD'
#}
#)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment