Skip to content

Commit

Permalink
/shakespeare/:name/:from
Browse files Browse the repository at this point in the history
  • Loading branch information
philip2156 committed Jul 19, 2013
1 parent 2883294 commit 20de211
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ Will return content of the form 'Everyone can go and fuck off. - :name', e.g. /e

Will return content of the form ':name, go and take a flying fuck at a rolling donut. - :from', e.g. /donut/Tom/Chris will return 'Tom, go and take a flying fuck at a rolling donut. - Chris'

## /shakespeare/:name/:from

Will return content of the form ':name, Thou clay-brained guts, thou knotty-pated fool, thou whoreson obscene greasy tallow-catch! - :from'.

## /linus/:name/:from

Will return content of the form ':name, there aren't enough swear-words in the English language, so now I'll have to call you perkeleen vittupää just to express my disgust and frustration with this crap. - :from'.
Expand Down
4 changes: 4 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ <h3 id="donutnamefrom">/donut/:name/:from</h3>

<p>Will return content of the form ':name, go and take a flying fuck at a rolling donut. - :from', e.g. /donut/Tom/Chris will return 'Tom, go and take a flying fuck at a rolling donut. - Chris'</p>

<h3 id="shakespearenamefrom">/shakespeare/:name/:from</h3>

<p>Will return content of the form ':name, Thou clay-brained guts, thou knotty-pated fool, thou whoreson obscene greasy tallow-catch! - :from', e.g. /shakespeare/Falstaff/Prince%20Henry will return 'Falstaff, Thou clay-brained guts, thou knotty-pated fool, thou whoreson obscene greasy tallow-catch! - Prince Henry</p>

<h3 id="linusnamefrom">/linus/:name/:from</h3>

<p>Will return content of the form ':name, there aren't enough swear-words in the English language, so now I'll have to call you perkeleen vittupää just to express my disgust and frustration with this crap. - :from'. </p>
Expand Down
5 changes: 5 additions & 0 deletions server.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ app.get '/donut/:name/:from', (req, res) ->
subtitle = "- #{req.params.from}"
dooutput(res, message, subtitle)

app.get '/shakespeare/:name/:from', (req, res) ->
message = "#{req.params.name}, Thou clay-brained guts, thou knotty-pated fool, thou whoreson obscene greasy tallow-catch!"
subtitle = "- #{req.params.from}"
dooutput(res, message, subtitle)

app.get '/linus/:name/:from', (req, res) ->
message = "#{req.params.name}, there aren't enough swear-words in the English language, so now I'll have to call you perkeleen vittupää just to express my disgust and frustration with this crap."
subtitle = "- #{req.params.from}"
Expand Down

0 comments on commit 20de211

Please sign in to comment.