Skip to content

Instantly share code, notes, and snippets.

View nzbr's full-sized avatar
💾

nzbr

💾
View GitHub Profile
@nzbr
nzbr / Moodle-Login-Redirect.user.js
Last active November 23, 2020 18:02
Redirect to login page when not logged in on moodle.tu-dortmund.de
// ==UserScript==
// @name Moodle Login
// @namespace https://nzbr.de
// @version 0.1
// @description Redirect to login page when not logged in on moodle.tu-dortmund.de
// @author nzbr
// @match https://moodle.tu-dortmund.de/
// @match https://moodle.tu-dortmund.de/login/index.php
// @grant none
// ==/UserScript==
@nzbr
nzbr / reddit-like-its-2023-06-11.user.js
Created June 15, 2023 20:42
User script to redirect any Reddit site to its archive.org capture of just before the blackout
// ==UserScript==
// @name Reddit like it's 2023-06-11
// @namespace Violentmonkey Scripts
// @match https://www.reddit.com/*
// @grant none
// @version 1.0
// @author nzbr
// @description Redirect any Reddit site to its archive.org capture of just before the blackout
// ==/UserScript==
@nzbr
nzbr / show-rawr.user.js
Last active June 6, 2024 18:50
User script to replace the text on the "Raw" button on GitHub with "Rawr"
// ==UserScript==
// @name Show Rawr
// @namespace Violentmonkey Scripts
// @match https://github.com/**
// @match https://gist.github.com/**
// @match https://codeberg.org/**
// @grant none
// @version 1.0
// @author nzbr
// @description Replaces the Raw button on GitHub with Rawr
@nzbr
nzbr / joycon-revealjs-presenter.py
Last active June 6, 2024 18:54
FreePIE script for using a JoyCon as a presenter remote with reveal.js
# This script assumes a right joy-con as the first (or only) controller connected to your PC
if starting:
j0 = joystick[0]
# Next
if j0.getPressed(0) or j0.getPressed(2): # a or b
keyboard.setKeyDown(Key.N)
else:
keyboard.setKeyUp(Key.N)