This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def activity_status | |
| if currently_working? | |
| 'working' | |
| elsif worked_recently? | |
| 'active' | |
| elsif has_activity? | |
| 'inactive' | |
| elsif signed_in_at_least_once? | |
| 'no_activity' | |
| else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| user app; | |
| worker_processes 2; | |
| error_log /home/app/logs/nginx.error.log info; | |
| events { | |
| worker_connections 1024; | |
| } | |