Skip to content

Instantly share code, notes, and snippets.

View citrusfizz's full-sized avatar

Curtis Joslin citrusfizz

  • tbd
  • santa barbara
View GitHub Profile
def quenches(text,data)
message = "\n*Test*\n```"
Quench.all.each do |q|
gg = "https://ww.whatever.com"
message += " <#{gg}|click here>\n" # works fine
message += " <#{q.url}|click here>\n" # sends the url, but doesn't renders it: <http://www.whatever.com|click here> in slack
message += "<http://www.d.com|click here> ```" #this one works fine
end
self.send_message(message,data['channel'])
rescue => e
@citrusfizz
citrusfizz / arcade.ino
Last active August 29, 2015 14:21 — forked from randrews/arcade.ino
#include <Bounce.h>
// 10 = 10 ms debounce time
#define DEBOUNCE 10
typedef struct Button {
Bounce button;
int key;
byte modifier;
byte keynum;