This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Bounce.h> | |
// 10 = 10 ms debounce time | |
#define DEBOUNCE 10 | |
typedef struct Button { | |
Bounce button; | |
int key; | |
byte modifier; | |
byte keynum; |