Instantly share code, notes, and snippets.

View activity_status.rb
def activity_status
if currently_working?
elsif worked_recently?
elsif has_activity?
elsif signed_in_at_least_once?
vrybas / end.scpt
Created Aug 15, 2012 — forked from nclark/end.scpt
applescripts for
View end.scpt
tell application "Finder"
if (name of every application process) contains "Skype" then
tell application "Skype"
send command "SET USERSTATUS ONLINE" script name "pomodoro"
send command "SET PROFILE MOOD_TEXT " script name "pomodoro"
end tell
end if
end tell
tell application "Twitter" to activate
View nginx.conf
user app;
worker_processes 2;
error_log /home/app/logs/nginx.error.log info;
events {
worker_connections 1024;