Skip to content

Instantly share code, notes, and snippets.

VK_LBUTTON = 0x01 #Left mouse button
VK_RBUTTON = 0x02 #Right mouse button
VK_CANCEL = 0x03 #Control-break processing
VK_MBUTTON = 0x04 #Middle mouse button (three-button mouse)
VK_XBUTTON1 = 0x05 #X1 mouse button
VK_XBUTTON2 = 0x06 #X2 mouse button
VK_BACK = 0x08 #BACKSPACE key
VK_TAB = 0x09 #TAB key
VK_CLEAR = 0x0C #CLEAR key
VK_RETURN = 0x0D #ENTER key
@kkusch
kkusch / k8s-pi.md
Created April 11, 2018 22:15 — forked from alexellis/k8s-pi.md
K8s on Raspbian

Kubernetes on (vanilla) Raspbian Lite

Yes - you can create a Kubernetes cluster with Raspberry Pis with the default operating system called Raspbian. This means you can carry on using all the tools and packages you're used to with the officially-supported OS.

Pre-reqs:

  • You must use an RPi 2 or 3 for use with Kubernetes
  • I'm assuming you're using wired ethernet (Wi-Fi also works, but it's not recommended)

Master node setup

@kkusch
kkusch / .gitconfig
Created August 14, 2019 10:04
WhatTheCommit git alias
[alias]
yolo = !git add -A && echo \"TicketNr: \" && read TICKET_NR && git commit -m \"$TICKET_NR $(curl --silent --fail https://whatthecommit.com/index.txt)\"
@kkusch
kkusch / twitchLurker.js
Last active July 19, 2021 16:06
Twitch Extra Loyalty Points Clicker
function redeemLoyaltyPoints() {
var buttons = document.getElementsByTagName('button');
for (btn in buttons) {
if (buttons[btn].ariaLabel == "Claim Bonus") {
buttons[btn].click();
console.info("Redeemed Points");
}
}
}
var clikka = setInterval(redeemLoyaltyPoints, 10000);