This file contains hidden or 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
#define CSPIN 2 | |
#define CLKPIN 3 | |
#define DPIN 4 | |
void setup() { | |
pinMode(CSPIN, OUTPUT); | |
pinMode(CLKPIN, OUTPUT); | |
pinMode(DPIN, INPUT); | |
Serial.begin(115200); |
This file contains hidden or 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
import asyncio | |
import platform | |
from time import time,sleep | |
from bleak import BleakClient,BleakScanner | |
VJOYMODE = True # Set true to use vjoy gamepad instead of keyboard | |
if VJOYMODE: | |
import pyvjoy | |
joy = pyvjoy.VJoyDevice(2) |
This file contains hidden or 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
// ==UserScript== | |
// @name Youtube shorts redirector | |
// @version 0.1 | |
// @description Redirects all youtube shorts videos to normal video pages | |
// @author Ultrawipf | |
// @match https://*.youtube.com/shorts/* | |
// @icon https://upload.wikimedia.org/wikipedia/commons/thumb/f/fc/Youtube_shorts_icon.svg/193px-Youtube_shorts_icon.svg.png | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== |
This file contains hidden or 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
blueprint: | |
name: Alarmhelper | |
description: Stores alarm time in helper | |
domain: automation | |
source_url: https://gist.github.com/Ultrawipf/39399ed7aea20e060e448d3649c12766 | |
input: | |
alarm: | |
name: Alarm timestamp sensor | |
description: 'Sensor with timestamp of next alarm with device_class: timestamp' | |
selector: |