Skip to content

Instantly share code, notes, and snippets.

Avatar

Jack Lawson ajacksified

View GitHub Profile
View keybase.md

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:

View gist:60c3e656fd2ee53d4e75
/b_,dM\__,_
_/MMMMMMMMMMMm, -----
_YMMMMMMMMMMMM( ( I'm )
`MMMMMM/ / \ ( a )
MMM| __ / __/ ( wot )
YMM/_/# \__/# \ / -----
(. \__/ \__/
) _, |
_____/\ _ /
\ `._____,'
View gist:1d8be649a1694e553e37
.
|~~
|~~
/L\
,.---./LLL\. _.--.
.'(|~~`/LLLLL\` ) )`.,
.(` |~~/LLLLLLL\ ) )-. .
( ( /L\/LLLLLLLLL\ ) ) `|~~
View 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
converse.coffee for hubot
View converse.coffee
# 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
View brent-beerify.html
<!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;
View yelpme.coffee
# 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 Sep 12, 2012
lunch capabilities for hubot
View yelpme.coffee
# 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
View plusplus.coffee
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 || {}
View travis.coffee
# Description:
# "Travis CI alert hook"
#
# Configuration:
# None
#
# Commands:
# POST /hubot/travis [data]
#
# Authors: