Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ajacksified on github.
  • I am ajacksified (https://keybase.io/ajacksified) on keybase.
  • I have a public key whose fingerprint is 5407 F376 63D5 1E24 8134 EB7D 8624 00BA CA1B D833

To claim this, I am signing this object:

/b_,dM\__,_
_/MMMMMMMMMMMm, -----
_YMMMMMMMMMMMM( ( I'm )
`MMMMMM/ / \ ( a )
MMM| __ / __/ ( wot )
YMM/_/# \__/# \ / -----
(. \__/ \__/
) _, |
_____/\ _ /
\ `._____,'
.
|~~
|~~
/L\
,.---./LLL\. _.--.
.'(|~~`/LLLLL\` ) )`.,
.(` |~~/LLLLLLL\ ) )-. .
( ( /L\/LLLLLLLLL\ ) ) `|~~
@ajacksified
ajacksified / breakup.lua
Created August 19, 2014 21:03
breakup.lua
--[[ old style ]]
-- init.lua
env.mj = { }
env.mj.doThing = function(sp)
print("did " .. op .. "on env" .. env.name)
end
@ajacksified
ajacksified / converse.coffee
Created May 3, 2013 17:20
converse.coffee for hubot
# Allows Hubot to talk back. Passive script.
cleverbot = require('cleverbot-node')
class Messages
constructor: (@robot) ->
@cache = []
@robot.brain.on 'loaded', =>
if @robot.brain.data?.messages
@cache = @robot.brain.data.messages
@ajacksified
ajacksified / brent-beerify.html
Created October 5, 2012 23:23
drag and drop thing
<!DOCTYPE html>
<html>
<head>
<title>Drag and Drop Example</title>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/themes/ui-lightness/jquery-ui.css" rel="stylesheet" />
<style>
#container {
height: 400px;
width: 700px;
@ajacksified
ajacksified / yelpme.coffee
Created September 20, 2012 22:56
hubot yelp me
# Description
# Searches Yelp API to find you things.
#
# Dependencies:
# "yelp": "0.1.1"
#
# Configuration:
# HUBOT_YELP_CONSUMER_KEY=key
# HUBOT_YELP_CONSUMER_SECRET=secret
# HUBOT_YELP_TOKEN=token
@ajacksified
ajacksified / yelpme.coffee
Created September 12, 2012 19:03
lunch capabilities for hubot
# Description
# Searches Yelp API to find you things.
#
# Dependencies:
# "yelp": "0.1.1"
#
# Configuration:
# HUBOT_YELP_CONSUMER_KEY=key
# HUBOT_YELP_CONSUMER_SECRET=secret
# HUBOT_YELP_TOKEN=token
class ScoreKeeper
constructor: (@robot) ->
@cache = { scoreLog: {}, scores: {} }
@robot.brain.on 'loaded', =>
@robot.brain.data.scoreLog ||= {}
@robot.brain.data.scores ||= {}
@cache.scores = @robot.brain.data.scores || {}
@cache.scoreLog = @robot.brain.data.scoreLog || {}
@ajacksified
ajacksified / travis.coffee
Created September 6, 2012 21:56
travis hubot hook
# Description:
# "Travis CI alert hook"
#
# Configuration:
# None
#
# Commands:
# POST /hubot/travis [data]
#
# Authors: