A simple sinatra app prototying our pomodoro dashboard
JavaScript Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
public
views
.autodeploy
.gitignore
.rvmrc
Gemfile
Gemfile.lock
README
app.rb
config.ru

README

Use the following hooks in the Pomodoro app:


Start:

    set MyName to do shell script "whoami"
    do shell script "curl -d 'username=" & MyName & "&description=$pomodoroName' http://localhost:4567/start"


End:

    set MyName to do shell script "whoami"
    do shell script "curl -d 'username=" & MyName & "' http://localhost:4567/end"


Break End:

    set MyName to do shell script "whoami"
    do shell script "curl -d 'username=" & MyName & "' http://localhost:4567/break_end"