Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Trim blank line comments, and fix up issues

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