Skip to content
This repository
Browse code

Trim blank line comments, and fix up issues

commit 2e1951c089bd865839328592ff673d2f08153643 1 parent e69f9e9
Tom Bell authored June 09, 2012

Showing 233 changed files with 84 additions and 464 deletions. Show diff stats Hide diff stats

  1. 1  src/scripts/46elks.coffee
  2. 2  src/scripts/9gag.coffee
  3. 2  src/scripts/abstract.coffee
  4. 2  src/scripts/achievement_unlocked.coffee
  5. 2  src/scripts/ackbar.coffee
  6. 2  src/scripts/adult.coffee
  7. 2  src/scripts/airbrake.coffee
  8. 2  src/scripts/alot.coffee
  9. 2  src/scripts/ambush.coffee
  10. 2  src/scripts/animal.coffee
  11. 2  src/scripts/archer.coffee
  12. 2  src/scripts/asana.coffee
  13. 1  src/scripts/ascii.coffee
  14. 2  src/scripts/auth.coffee
  15. 2  src/scripts/auto-stache.coffee
  16. 2  src/scripts/aws.coffee
  17. 2  src/scripts/aww.coffee
  18. 2  src/scripts/b6n.coffee
  19. 2  src/scripts/bang-bang.coffee
  20. 2  src/scripts/bang.coffee
  21. 2  src/scripts/base36.coffee
  22. 2  src/scripts/base58.coffee
  23. 2  src/scripts/base64.coffee
  24. 2  src/scripts/basecamp.coffee
  25. 2  src/scripts/beanstalk.coffee
  26. 2  src/scripts/bees.coffee
  27. 2  src/scripts/bij.coffee
  28. 2  src/scripts/bing-images.coffee
  29. 4  src/scripts/bing.coffee
  30. 2  src/scripts/bitbucket.coffee
  31. 2  src/scripts/bookmark.coffee
  32. 1  src/scripts/botsnack.coffee
  33. 2  src/scripts/brewerydb.coffee
  34. 2  src/scripts/buscemi.coffee
  35. 1  src/scripts/carlton.coffee
  36. 2  src/scripts/cat.coffee
  37. 2  src/scripts/celery-man.coffee
  38. 2  src/scripts/chat.coffee
  39. 2  src/scripts/cheer.coffee
  40. 2  src/scripts/cheerlights.coffee
  41. 2  src/scripts/chm.coffee
  42. 2  src/scripts/chuck-norris.coffee
  43. 2  src/scripts/clark.coffee
  44. 2  src/scripts/clojure.coffee
  45. 2  src/scripts/cloudapp.coffee
  46. 2  src/scripts/coderwall.coffee
  47. 2  src/scripts/coin.coffee
  48. 1  src/scripts/commitmessage.coffee
  49. 2  src/scripts/complete.coffee
  50. 2  src/scripts/conversation.coffee
  51. 2  src/scripts/corgime.coffee
  52. 2  src/scripts/cowsay.coffee
  53. 1  src/scripts/cricket.coffee
  54. 17  src/scripts/days_since.coffee
  55. 2  src/scripts/deadline.coffee
  56. 2  src/scripts/dealwithit.coffee
  57. 2  src/scripts/decide.coffee
  58. 2  src/scripts/defprogramming.coffee
  59. 2  src/scripts/demolition-man.coffee
  60. 2  src/scripts/destiny.coffee
  61. 2  src/scripts/dialectizer.coffee
  62. 2  src/scripts/dice.coffee
  63. 2  src/scripts/dilbert.coffee
  64. 2  src/scripts/directions.coffee
  65. 2  src/scripts/disassemble.coffee
  66. 2  src/scripts/dnsimple.coffee
  67. 2  src/scripts/do-it-live.coffee
  68. 2  src/scripts/dribbble.coffee
  69. 2  src/scripts/eight-ball.coffee
  70. 2  src/scripts/eval.coffee
  71. 2  src/scripts/facepalm.coffee
  72. 2  src/scripts/faceup.coffee
  73. 2  src/scripts/factoid.coffee
  74. 2  src/scripts/fibonacci.coffee
  75. 4  src/scripts/file-brain.coffee
  76. 2  src/scripts/filmwise.coffee
  77. 2  src/scripts/fishpun.coffee
  78. 2  src/scripts/flattr.coffee
  79. 2  src/scripts/flying-high.coffee
  80. 2  src/scripts/fml.coffee
  81. 2  src/scripts/fogbugz.coffee
  82. 2  src/scripts/fortune.coffee
  83. 2  src/scripts/gauges.coffee
  84. 2  src/scripts/gemwhois.coffee
  85. 2  src/scripts/gerrit.coffee
  86. 2  src/scripts/getajob.coffee
  87. 1  src/scripts/gifbin.coffee
  88. 2  src/scripts/giftv.coffee
  89. 2  src/scripts/git-help.coffee
  90. 2  src/scripts/github-activity.coffee
  91. 2  src/scripts/github-commiters.coffee
  92. 2  src/scripts/github-credentials.coffee
  93. 2  src/scripts/github-issue-link.coffee
  94. 2  src/scripts/github-issues.coffee
  95. 4  src/scripts/github-pulls.coffee
  96. 2  src/scripts/gob.coffee
  97. 2  src/scripts/good-night.coffee
  98. 2  src/scripts/goodbad.coffee
  99. 2  src/scripts/google-reader.coffee
  100. 2  src/scripts/google-search-api.coffee
  101. 2  src/scripts/google.coffee
  102. 2  src/scripts/goooood.coffee
  103. 2  src/scripts/graphite.coffee
  104. 2  src/scripts/gtalk.coffee
  105. 2  src/scripts/hackernews.coffee
  106. 2  src/scripts/hangman.coffee
  107. 2  src/scripts/hardradio.coffee
  108. 2  src/scripts/hashing.coffee
  109. 2  src/scripts/haters.coffee
  110. 4  src/scripts/heroku-status.coffee
  111. 2  src/scripts/hideyakids.coffee
  112. 2  src/scripts/history.coffee
  113. 2  src/scripts/horse.coffee
  114. 2  src/scripts/iced-coffee-weather.coffee
  115. 2  src/scripts/illogical.coffee
  116. 3  src/scripts/inigo-montoya.coffee
  117. 2  src/scripts/insult.coffee
  118. 2  src/scripts/invalid.coffee
  119. 2  src/scripts/isup.coffee
  120. 2  src/scripts/itcrowd.coffee
  121. 2  src/scripts/iwdrm.coffee
  122. 2  src/scripts/janky.coffee
  123. 2  src/scripts/javascript-sandbox.coffee
  124. 2  src/scripts/jenkins.coffee
  125. 2  src/scripts/jira.coffee
  126. 2  src/scripts/joinme-generator.coffee
  127. 2  src/scripts/jordan.coffee
  128. 2  src/scripts/karma.coffee
  129. 2  src/scripts/keep-alive.coffee
  130. 2  src/scripts/kittens.coffee
  131. 15  src/scripts/lastfm_np.coffee
  132. 2  src/scripts/likeaboss.coffee
  133. 2  src/scripts/linsanity.coffee
  134. 2  src/scripts/list-jira-bugs.coffee
  135. 2  src/scripts/lmgtfy.coffee
  136. 2  src/scripts/location-decision-maker.coffee
  137. 1  src/scripts/lolz.coffee
  138. 2  src/scripts/look-of-disapproval.coffee
  139. 2  src/scripts/lyrics.coffee
  140. 2  src/scripts/manatee.coffee
  141. 2  src/scripts/megusta.coffee
  142. 2  src/scripts/meme_generator.coffee
  143. 1  src/scripts/mitch-hedburg.coffee
  144. 1  src/scripts/mite.coffee
  145. 2  src/scripts/modulepuppy.coffee
  146. 2  src/scripts/mta.coffee
  147. 2  src/scripts/mtg.coffee
  148. 2  src/scripts/myappstatus.coffee
  149. 2  src/scripts/nettipot.coffee
  150. 2  src/scripts/newrelic.coffee
  151. 2  src/scripts/news.coffee
  152. 2  src/scripts/nice.coffee
  153. 3  src/scripts/notify.coffee
  154. 1  src/scripts/oauth.coffee
  155. 1  src/scripts/octocat.coffee
  156. 4  src/scripts/octospy.coffee
  157. 2  src/scripts/one_four_twentyfour.coffee
  158. 2  src/scripts/penny-arcade.coffee
  159. 2  src/scripts/ping.coffee
  160. 2  src/scripts/pivotal.coffee
  161. 2  src/scripts/pivotalstorylisten.coffee
  162. 4  src/scripts/play.coffee
  163. 2  src/scripts/pokefacts.coffee
  164. 2  src/scripts/polite.coffee
  165. 4  src/scripts/pomodoro.coffee
  166. 2  src/scripts/prank-text.coffee
  167. 2  src/scripts/punchfork.coffee
  168. 2  src/scripts/put-it-back.coffee
  169. 3  src/scripts/pypi.coffee
  170. 2  src/scripts/quickmeme.coffee
  171. 2  src/scripts/quote.coffee
  172. 2  src/scripts/rageface.coffee
  173. 2  src/scripts/rally.coffee
  174. 2  src/scripts/reddit-jokes.coffee
  175. 2  src/scripts/reddit-random-top.coffee
  176. 2  src/scripts/reddit.coffee
  177. 2  src/scripts/redis-brain.coffee
  178. 2  src/scripts/redmine.coffee
  179. 2  src/scripts/remind.coffee
  180. 2  src/scripts/resque.coffee
  181. 2  src/scripts/rimshot.coffee
  182. 2  src/scripts/robot-memes.coffee
  183. 2  src/scripts/roll.coffee
  184. 2  src/scripts/rollout.coffee
  185. 2  src/scripts/romanemperor.coffee
  186. 2  src/scripts/rotten.coffee
  187. 2  src/scripts/rsstodolist.coffee
  188. 2  src/scripts/ruby.coffee
  189. 2  src/scripts/rubygems.coffee
  190. 2  src/scripts/salesforce.coffee
  191. 2  src/scripts/scalarium.coffee
  192. 2  src/scripts/scoutapp.coffee
  193. 2  src/scripts/script.coffee
  194. 2  src/scripts/sendgrid.coffee
  195. 2  src/scripts/sensitive.coffee
  196. 2  src/scripts/serenity.coffee
  197. 2  src/scripts/shipit.coffee
  198. 2  src/scripts/shorten.coffee
  199. 2  src/scripts/sigh.coffee
  200. 2  src/scripts/sms.coffee
  201. 2  src/scripts/snow.coffee
  202. 2  src/scripts/sonos.coffee
  203. 2  src/scripts/sosearch.coffee
  204. 2  src/scripts/speak.coffee
  205. 2  src/scripts/spin.coffee
  206. 2  src/scripts/spotify.coffee
  207. 2  src/scripts/sprintly.coffee
  208. 2  src/scripts/squeezebox.coffee
  209. 2  src/scripts/stagehand.coffee
  210. 2  src/scripts/stock.coffee
  211. 2  src/scripts/stocks.coffee
  212. 2  src/scripts/store-messages-couchdb.coffee
  213. 2  src/scripts/sudo.coffee
  214. 2  src/scripts/sugarcrm.coffee
  215. 2  src/scripts/swanson.coffee
  216. 2  src/scripts/sweetdude.coffee
  217. 6  src/scripts/team-city-listener.coffee
  218. 6  src/scripts/text.coffee
  219. 9  src/scripts/trac.coffee
  220. 1  src/scripts/trajectorystorylisten.coffee
  221. 2  src/scripts/truckstopsf.coffee
  222. 15  src/scripts/tweet-content.coffee
  223. 6  src/scripts/wolfram.coffee
  224. 6  src/scripts/word-of-the-day.coffee
  225. 8  src/scripts/wordnik.coffee
  226. 6  src/scripts/wunderground.coffee
  227. 6  src/scripts/wunderlist.coffee
  228. 2  src/scripts/xkcd.coffee
  229. 2  src/scripts/xmas.js
  230. 2  src/scripts/yoda-pictures.coffee
  231. 2  src/scripts/yoda-quotes.coffee
  232. 2  src/scripts/yomama.coffee
  233. 2  src/scripts/yuno.coffee
1  src/scripts/46elks.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Allows Hubot to send text messages using 46elks.com API.
4 3
 #
2  src/scripts/9gag.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   None
4 3
 #
@@ -14,7 +13,6 @@
14 13
 #
15 14
 # Author:
16 15
 #   EnriqueVidal 
17  
-#
18 16
 
19 17
 Select      = require( "soupselect" ).select
20 18
 HTMLParser  = require "htmlparser"
2  src/scripts/abstract.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   None
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   tantalor
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.respond /(abs|abstract) (.+)/i, (res) ->
2  src/scripts/achievement_unlocked.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   None
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   Chris
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.hear /achievement (get|unlock(ed)?) (.+?)(\s*[^@\s]+@[^@\s]+)?\s*$/i, (msg) ->
2  src/scripts/ackbar.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   None
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   brilliantfantastic
16  
-#
17 15
 
18 16
 ackbars = [
19 17
   "http://dayofthejedi.com/wp-content/uploads/2011/03/171.jpg",
2  src/scripts/adult.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   None
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   atmos
16  
-#
17 15
 
18 16
 images = [
19 17
   "http://1.bp.blogspot.com/_D_Z-D2tzi14/TBpOnhVqyAI/AAAAAAAADFU/8tfM4E_Z4pU/s400/responsibility12(alternate).png",
2  src/scripts/airbrake.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   None
4 3
 #
@@ -14,7 +13,6 @@
14 13
 #
15 14
 # Author:
16 15
 #   tommeier
17  
-#
18 16
 
19 17
 jsdom = require 'jsdom'
20 18
 env = process.env
2  src/scripts/alot.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   None
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   tbwIII
16  
-#
17 15
 
18 16
 images = [
19 17
   "http://4.bp.blogspot.com/_D_Z-D2tzi14/S8TRIo4br3I/AAAAAAAACv4/Zh7_GcMlRKo/s400/ALOT.png",
2  src/scripts/ambush.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Send messages to users the next time they speak
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   jmoses
16  
-#
17 15
 
18 16
 appendAmbush = (data, toUser, fromUser, message) ->
19 17
   if data[toUser.name]
2  src/scripts/animal.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Because animals are animals.
4 3
 #
@@ -14,7 +13,6 @@
14 13
 #
15 14
 # Author:
16 15
 #   unsay
17  
-#
18 16
 
19 17
 Select     = require("soupselect").select
20 18
 HtmlParser = require "htmlparser"
2  src/scripts/archer.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Make hubot fetch quotes pertaining to the world's best secret agent, Archer.
4 3
 #
@@ -12,7 +11,6 @@
12 11
 #
13 12
 # Author:
14 13
 #   rrix
15  
-#
16 14
 
17 15
 scraper = require 'scraper'
18 16
 
2  src/scripts/asana.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   A way to add tasks to Asana
4 3
 #
@@ -14,7 +13,6 @@
14 13
 # 
15 14
 # Author:
16 15
 #   idpro
17  
-#
18 16
 
19 17
 url  = 'https://app.asana.com/api/1.0'
20 18
 
1  src/scripts/ascii.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   ASCII art
4 3
 #
2  src/scripts/auth.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Auth allows you to assign roles to users which can be used by other scripts
4 3
 #   to restrict access to Hubot commands
@@ -24,7 +23,6 @@
24 23
 #
25 24
 # Author:
26 25
 #   alexwilliamsca
27  
-#
28 26
 
29 27
 module.exports = (robot) ->
30 28
   admin = process.env.HUBOT_AUTH_ADMIN
2  src/scripts/auto-stache.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Automatically add mustaches to any images it can
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   atmos
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.hear /^(https?:\/\/[^ #]+\.(?:png|jpg|jpeg))(?:[#]\.png)?$/i, (msg) ->
2  src/scripts/aws.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Queries for the status of AWS services
4 3
 #
@@ -25,7 +24,6 @@
25 24
 #
26 25
 # Author:
27 26
 #   Ethan J. Brown
28  
-#
29 27
 
30 28
 key = process.env.HUBOT_AWS_ACCESS_KEY_ID
31 29
 secret = process.env.HUBOT_AWS_SECRET_ACCESS_KEY
2  src/scripts/aww.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Hubot delivers a pic from Reddit's /r/aww frontpage
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   eliperkins
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.respond /aww/i, (msg) ->
2  src/scripts/b6n.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   SHIT BEN BLACK SAYS 
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #  chids
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
     robot.hear /ask b6n/i, (msg) ->
2  src/scripts/bang-bang.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   None
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   None
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.respond /(.+)/i, (msg) ->
2  src/scripts/bang.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   A hubot interface for Bang, a key-value store for text snippets
4 3
 #
@@ -14,7 +13,6 @@
14 13
 #
15 14
 # Author:
16 15
 #   jimmycuadra
17  
-#
18 16
 
19 17
 Bang  = require "bang"
20 18
 {split} = require "shellwords"
2  src/scripts/base36.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Base36 encoding and decoding
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   plytro
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.hear /base36 e(ncode)?( me)? (.*)/i, (msg) ->
2  src/scripts/base58.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Base58 encoding and decoding
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   jimeh
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.respond /base58 encode( me)? (.*)/i, (msg) ->
2  src/scripts/base64.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Base64 encoding and decoding
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   jimeh
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.respond /base64 encode( me)? (.*)/i, (msg) ->
2  src/scripts/basecamp.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Some interaction with basecamp
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   fellix
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.hear /^basecamp calendar( (.*))?$/i, (msg) ->
2  src/scripts/beanstalk.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Beanstalk tools
4 3
 #
@@ -18,7 +17,6 @@
18 17
 #
19 18
 # Author:
20 19
 #   eliperkins
21  
-#
22 20
 
23 21
 module.exports = (robot) ->
24 22
 
2  src/scripts/bees.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Bees are insane
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   atmos
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.respond /bees/i, (message) ->
2  src/scripts/bij.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   EXPERIENCE BIJ
4 3
 #
@@ -12,7 +11,6 @@
12 11
 #
13 12
 # Author:
14 13
 #   mrtazz
15  
-#
16 14
 
17 15
 module.exports = (robot) ->
18 16
   robot.hear /bij/i, (msg) ->
2  src/scripts/bing-images.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Queries Bing and returns a random image from the top 50 images found using Bing API
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   Brandon Satrom
16  
-#
17 15
 
18 16
 bingAccountKey = process.env.HUBOT_BING_ACCOUNT_KEY
19 17
 unless bingAccountKey
4  src/scripts/bing.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Returns the URL of the first bing hit for a query
4 3
 #
@@ -10,6 +9,9 @@
10 9
 #
11 10
 # Commands:
12 11
 #   hubot bing me <query> - Bings <query> & returns 1st result's URL
  12
+#
  13
+# Author:
  14
+#   Brandon Satrom
13 15
 
14 16
 module.exports = (robot) ->
15 17
   robot.respond /(bing)( me)? (.*)/i, (msg) ->
2  src/scripts/bitbucket.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Announce changes to BitBucket repositories using BitBucket's POST service
4 3
 #   to a room sepecified by the URL.
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   JRusbatch
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.router.post '/hubot/bitbucket/:room', (req, res) ->
2  src/scripts/bookmark.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Manage your links and bookmarks. Links get stored in the robot brain while
4 3
 #   bookmarks get stored at delicious.com. Also keeps a history of all URLs in
@@ -21,7 +20,6 @@
21 20
 #
22 21
 # Author
23 22
 #   mm53bar
24  
-#
25 23
 
26 24
 module.exports = (robot) ->
27 25
   robot.respond /feed me/i, (msg) ->
1  src/scripts/botsnack.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Hubot enjoys delicious snacks
4 3
 #
2  src/scripts/brewerydb.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   BreweryDB API
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   greggroth
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.respond /beer me (.*)/i, (msg) ->
2  src/scripts/buscemi.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   HOLY FUCKING MINDFUCK!
4 3
 #
@@ -14,7 +13,6 @@
14 13
 #
15 14
 # Author:
16 15
 #   dylanegan
17  
-#
18 16
 
19 17
 module.exports = (robot) ->
20 18
   robot.respond /buscemi?(?: me)? (.*)/i, (msg) ->
1  src/scripts/carlton.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Carlton Celebration
4 3
 #
2  src/scripts/cat.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Send messages to channels via hubot
4 3
 #
@@ -17,7 +16,6 @@
17 16
 #
18 17
 # Author:
19 18
 #   simon
20  
-#
21 19
 
22 20
 dgram = require "dgram"
23 21
 server = dgram.createSocket "udp4"
2  src/scripts/celery-man.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Loads up Celery Man
4 3
 #
@@ -12,7 +11,6 @@
12 11
 #
13 12
 # Author:
14 13
 #   danryan
15  
-#
16 14
 
17 15
 module.exports = (robot) ->
18 16
   robot.respond /.*celery\s?man/i, (msg) ->
2  src/scripts/chat.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Start up some wonderful chats with conversation starters
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   GantMan
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.respond /chat/i, (msg) ->
2  src/scripts/cheer.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Feeling depressed?
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   carllerche
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.respond /cheer me up/i, (msg) ->
2  src/scripts/cheerlights.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   None
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   marciotoshio
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.respond /cheerlights/i, (msg) ->
2  src/scripts/chm.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Shows a short history lesson of the day from the Computer History Museum
4 3
 #
@@ -14,7 +13,6 @@
14 13
 #
15 14
 # Author:
16 15
 #   facto
17  
-#
18 16
 
19 17
 Select     = require("soupselect").select
20 18
 HtmlParser = require "htmlparser"
2  src/scripts/chuck-norris.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Chuck Norris awesomeness
4 3
 #
@@ -14,7 +13,6 @@
14 13
 #
15 14
 # Author:
16 15
 #   dlinsin
17  
-#
18 16
 
19 17
 module.exports = (robot) ->
20 18
 
2  src/scripts/clark.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   None
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   ajacksified
16  
-#
17 15
 
18 16
 clark = require('clark').clark
19 17
 
2  src/scripts/clojure.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Evaluate one line of Clojure script
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   jingweno
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.respond /(clojure|clj)\s+(.*)/i, (msg)->
2  src/scripts/cloudapp.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Allow Hubot to show what's lurking behind a CloudApp link
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   lmarburger
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.hear /(https?:\/\/cl.ly\/[A-Za-z0-9]+)(\/[^\/]+)?/i, (msg) ->
2  src/scripts/coderwall.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Messing around with the Coderwall API
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   mexitek
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.respond /(coderwall)( me)? (.*)/i, (msg) ->
2  src/scripts/coin.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Help decide between two things
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   mrtazz
16  
-#
17 15
 
18 16
 thecoin = ["heads", "tails"]
19 17
 
1  src/scripts/commitmessage.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Get a random commit message
4 3
 #
2  src/scripts/complete.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Hubot, you complete me
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   aroben
16  
-#
17 15
 
18 16
 XMLJS = require("xml2js")
19 17
 
2  src/scripts/conversation.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Extends robot adding conversation features
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   Iristyle
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.eatListeners = {}
2  src/scripts/corgime.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Corgime
4 3
 #
@@ -14,7 +13,6 @@
14 13
 #
15 14
 # Author:
16 15
 #   alexgodin
17  
-#
18 16
 
19 17
 module.exports = (robot) ->
20 18
 
2  src/scripts/cowsay.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Cowsay.
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   brettbuddin
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.respond /cowsay( me)? (.*)/i, (msg) ->
1  src/scripts/cricket.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Display cricket scores for current live games
4 3
 #
17  src/scripts/days_since.coffee
... ...
@@ -1,7 +1,18 @@
1  
-# Generates commands to track days since an event
  1
+# Description:
  2
+#   Generates commands to track days since an event
2 3
 #
3  
-# hubot it's been <number> days since <event> - Set the day when the event happened
4  
-# hubot how long since <event>? - Display the number of days since the event
  4
+# Dependencies:
  5
+#   None
  6
+#
  7
+# Configuration:
  8
+#   None
  9
+#
  10
+# Commands:
  11
+#   hubot it's been <number> days since <event> - Set the day when the event happened
  12
+#   hubot how long since <event>? - Display the number of days since the event
  13
+#
  14
+# Author:
  15
+#   zenhob
5 16
 
6 17
 module.exports = (robot) ->
7 18
   robot.respond /it's been (\d+) days since\s+(.*?)[.?!]?$/i, (msg) ->
2  src/scripts/deadline.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Tracks when stuff is due
4 3
 #
@@ -16,7 +15,6 @@
16 15
 #
17 16
 # Author:
18 17
 #   jmhobbs
19  
-#
20 18
 
21 19
 module.exports = (robot) ->
22 20
 
2  src/scripts/dealwithit.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Display a "deal with it" gif
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   brianstanwyck
16  
-#
17 15
 
18 16
 deal = [
19 17
   "http://i.imgur.com/ykDuU.gif",
2  src/scripts/decide.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Allows Hubot to help you decide between multiple options
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Authors:
15 14
 #   logikal
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.respond /decide "(.*)"/i, (msg) ->
2  src/scripts/defprogramming.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   None
4 3
 #
@@ -14,7 +13,6 @@
14 13
 #
15 14
 # Author:
16 15
 #   daviferreira
17  
-#
18 16
 
19 17
 Select     = require("soupselect").select
20 18
 HtmlParser = require "htmlparser"
2  src/scripts/demolition-man.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Watch your language!
4 3
 #
@@ -12,7 +11,6 @@
12 11
 #
13 12
 # Author:
14 13
 #   whitman
15  
-#
16 14
 
17 15
 module.exports = (robot) ->
18 16
 
2  src/scripts/destiny.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Is it the day?
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   KuiKui
16  
-#
17 15
              
18 16
 module.exports = (robot) ->
19 17
   robot.respond /is it (\w+) day \?/i, (msg) ->
2  src/scripts/dialectizer.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Allows Hubot to translate text into various dialects
4 3
 #
@@ -14,7 +13,6 @@
14 13
 #
15 14
 # Author:
16 15
 #   facto
17  
-#
18 16
 
19 17
 Select     = require("soupselect").select
20 18
 HtmlParser = require "htmlparser"
2  src/scripts/dice.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Allows Hubot to roll dice
4 3
 #
@@ -14,7 +13,6 @@
14 13
 #
15 14
 # Author:
16 15
 #   ab9
17  
-#
18 16
 
19 17
 module.exports = (robot) ->
20 18
   robot.respond /roll dice/i, (msg) ->
2  src/scripts/dilbert.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Dilbert
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   evilmarty
16  
-#
17 15
 
18 16
 htmlparser = require "htmlparser"
19 17
 
2  src/scripts/directions.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Get directions between two locations
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   sleekslush
16  
-#
17 15
 
18 16
 parse_directions = (body) ->
19 17
   directions = JSON.parse body
2  src/scripts/disassemble.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   None
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   listrophy
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.hear /disassemble/i, (msg) ->
2  src/scripts/dnsimple.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Domain availability via DNSimple
4 3
 #
@@ -14,7 +13,6 @@
14 13
 #
15 14
 # Author:
16 15
 #   jonmagic
17  
-#
18 16
 
19 17
 module.exports = (robot) ->
20 18
   robot.hear /check domain (.*)/i, (msg) ->
2  src/scripts/do-it-live.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Fuck it, we'll do it live!
4 3
 #
@@ -12,7 +11,6 @@
12 11
 #
13 12
 # Author:
14 13
 #   stewart
15  
-#
16 14
 
17 15
 module.exports = (robot) ->
18 16
   robot.hear /do it live/i, (msg) ->
2  src/scripts/dribbble.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Loads images from Dribbble URL's
4 3
 #
@@ -14,7 +13,6 @@
14 13
 #
15 14
 # Author:
16 15
 #   mattgraham
17  
-#
18 16
 
19 17
 requestImage = (msg, url) ->
20 18
   msg.http(url).get() (err, res, body) ->
2  src/scripts/eight-ball.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   The Magic Eight ball
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   ryanatwork
16  
-#
17 15
 
18 16
 ball = [
19 17
   "It is certain",
2  src/scripts/eval.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   evaluate code
4 3
 #
@@ -13,7 +12,6 @@
13 12
 #
14 13
 # Author:
15 14
 #   aanoaa
16  
-#
17 15
 
18 16
 module.exports = (robot) ->
19 17
   robot.respond /eval( me)? ([^ ]+) (.+)/i, (msg) ->
2  src/scripts/facepalm.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Clearly illustrate with an image what people mean whenever they say "facepalm"
4 3
 #
@@ -12,7 +11,6 @@
12 11
 # 
13 12
 # Authors:
14 13
 #   jimeh
15  
-#
16 14
 
17 15
 module.exports = (robot) ->
18 16
   robot.hear /facepalm/i, (msg) ->
2  src/scripts/faceup.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   Overlay funny things on people's faces
4 3
 #
@@ -16,7 +15,6 @@
16 15
 #
17 16
 # Author:
18 17
 #   kneath
19  
-#
20 18
 
21 19
 module.exports = (robot) ->
22 20
   robot.respond /(hipster|clown|scumbag|rohan|jason)( me)? (.*)/i, (msg) ->
2  src/scripts/factoid.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description:
3 2
 #   javabot style factoid support for your hubot. Build a factoid library
4 3
 #   and save yourself typing out answers to similar questions
@@ -20,7 +19,6 @@
20 19
 #
21 20
 # Author:
22 21
 #   arthurkalm
23  
-#
24 22
 
25 23
 class Factoids
26 24
   constructor: (@robot) ->
2  src/scripts/fibonacci.coffee
... ...
@@ -1,4 +1,3 @@
1  
-#
2 1
 # Description: