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
// ==UserScript== | |
// @name Microsoft office stable icon | |
// @namespace Beeardhatcode | |
// @match https://outlook.office.com/mail/* | |
// @grant none | |
// @version 1.0 | |
// @run-at document-idle | |
// @author - | |
// @description Always reset the office favicon (never show the red dot) | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Doccle Show Download | |
// @namespace beardhatcode | |
// @match https://secure.doccle.be/doccle-euui/document/renderPdfWithPdfJS | |
// @grant none | |
// @version 1.0 | |
// @author - | |
// @run-at document-idle | |
// @description 1/26/2023, 9:24:22 PM | |
// ==/UserScript== |
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
#! /usr/bin/env nix-shell | |
#! nix-shell -i bash -p pdfgrep calc curl wget | |
set -e | |
pdf="$(mktemp)" | |
echo "🔥" | |
tariefkaarturl=$(curl --silent 'https://eneco.be/nl/elektriciteit-gas/tariefkaarten' | grep -o 'https://cdn\.eneco\.be/downloads/nl/general/tk/[^"]*_NL_ENECO_GAS_FLEX.pdf') | |
wget --quiet -O "$pdf" "$tariefkaarturl" | |
echo "Got $tariefkaarturl" | |
energie=$(pdfgrep -o "[0-9,]*\s*>\s*Geschatte jaarprijs" ""$pdf"" | sed 's/\s.*//;s/,/./') |
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
// ==UserScript== | |
// @name Wordle - zeus.gent | |
// @namespace Violentmonkey Scripts | |
// @match https://mattermost.zeus.gent/* | |
// @grant GM_registerMenuCommand | |
// @grant GM_setClipboard | |
// @version 1.0 | |
// @author - | |
// @description 3/1/2022, 12:23:04 PM | |
// ==/UserScript== |
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
mutool poster -x 2 -y 2 "$1" tmp.pdf | |
pdftk A=tmp.pdf cat A4 A3 A1down A2down output "$1" |
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
// ==UserScript== | |
// @name Github nixpkgs PR tracker | |
// @namespace beardhatcode | |
// @match https://github.com/* | |
// @version 1.0 | |
// @author - | |
// @description Adds a link to nixpk.gs/pr-tracker in the sidebar | |
// @downloadURL https://gist.github.com/beardhatcode/aa46f81278d5f4a1d31a592eff9c6db6/raw/nix-pr-tracker.user.js | |
// @inject-into content | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Epurse to ledger | |
// @namespace beardhatcode | |
// @match https://epurse.ugent.be/transaction | |
// @grant GM_registerMenuCommand | |
// @grant GM_setClipboard | |
// @grant GM_download | |
// @version 1.0 | |
// @author - | |
// @run-at document-idle |
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
/* ==UserStyle== | |
@name ReMarkable upload Button | |
@namespace beardhatcode.be | |
@version 1.0.0 | |
@description Add an upload button on USB Web interface of your ReMarkable, allowing you to upload without dragging | |
@author Beardhatcode | |
==/UserStyle== */ | |
@-moz-document url("http://10.11.99.1/") { | |
input[type="file"] { | |
width: 7em; |
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
#!/usr/bin/python3 | |
# Name: Make a JSON of folk dances based on id3 files, fix some spelling and capitalisation | |
# Usage: ls *.mp3 | ./extract.py | |
# Just pipe a list of filenames into it | |
# requires eyeD3 (http://eyed3.nicfit.net/) | |
# By Robbert Gurdeep Singh | |
################################################################################ | |
import eyed3 | |
import re |
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
#!/bin/bash | |
fbase=$1 | |
flocal=$2 | |
fremote=$3 | |
fmerge=$4 | |
echo cp $flocal $fmerge | |
cp $flocal $fmerge | |
echo keepassxc-cli merge -s "$fmerge" "$fremote" | |
keepassxc-cli merge -s "$fmerge" "$fremote" | |
exit $? |
NewerOlder