Skip to content

Instantly share code, notes, and snippets.

View fordprefect480's full-sized avatar

Owen fordprefect480

View GitHub Profile
@fordprefect480
fordprefect480 / macro.ahk
Created May 9, 2022 01:50
Macro keyboard - autohotkey
F14::
SoundSet, +1, MASTER, mute,6
SoundGet, master_mute, , mute, 6
ToolTip, Mute %master_mute%
SetTimer, RemoveToolTip, 1000
return
RemoveToolTip:
@fordprefect480
fordprefect480 / macro.ino
Last active July 13, 2022 04:22
Macro keyboard - arduino
// ---------------------------------
// Key definitions
#define BUTTON1 KEY_F13
#define BUTTON2 KEY_F14
#define BUTTON3 KEY_F15
#define BUTTON4 KEY_F16
#define BUTTON5 KEY_F17
#define BUTTON6 KEY_F18
// Pin definitions
@fordprefect480
fordprefect480 / bot.js
Last active February 18, 2016 19:16
A slackbot which retrieves Star Wars articles given a search term.
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
______ ______ ______ __ __ __ ______
/\ == \ /\ __ \ /\__ _\ /\ \/ / /\ \ /\__ _\
\ \ __< \ \ \/\ \ \/_/\ \/ \ \ _"-. \ \ \ \/_/\ \/
\ \_____\ \ \_____\ \ \_\ \ \_\ \_\ \ \_\ \ \_\
\/_____/ \/_____/ \/_/ \/_/\/_/ \/_/ \/_/
This is a simple Slack bot built with Botkit. The bot is called 'holocron' and will go get a Star Wars article (from Wookiepedia)
if you mention or direct mention the bot with a search term.