View configuration.yaml
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
rest: !include_dir_list rest/ |
View static-filters.txt
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
! to keep your filters updated, import this list as: | |
! https://gist.githubusercontent.com/qguv/0b1def9db429a4caf6a97fd7b48b52b2/raw/static-filters.txt | |
! 2021-01-18 https://stackoverflow.com | |
! accessibility: remove dark rabbit-hole distraction links | |
! to update: | |
! 1. visit https://stackexchange.com/sites?view=list | |
! 2. open devtools (F12) | |
! 3. choose the console tab | |
! 4. paste the following (without the ! at the beginning) |
View 0001-float-window.patch
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
From b54569d3510e0c35e8d3fe5207f68adea5fa1a4f Mon Sep 17 00:00:00 2001 | |
From: Quint Guvernator <quint@guvernator.net> | |
Date: Sat, 4 Feb 2023 19:47:38 +0100 | |
Subject: [PATCH] float window | |
--- | |
src/window.cpp | 3 +++ | |
1 file changed, 3 insertions(+) | |
diff --git a/src/window.cpp b/src/window.cpp |
View build.ninja
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
libs = -lc | |
rule compile | |
command = gcc -Wall -Werror -Wpedantic -S -o $out $in | |
rule assemble | |
command = gcc -c -o $out $in | |
rule link | |
command = gcc $libs -o $out $in |
View zendo.py
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 python3 | |
import collections | |
import functools | |
import itertools | |
import math | |
import primefac | |
import sys | |
tf_try_calls = [] |
View move_to_inbox.js
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 'Move to Inbox' in Basic HTML View in Gmail | |
// @namespace https://quint.guvernator.net | |
// @version 0.1 | |
// @description add an option to move emails to the inbox in the basic HTML view of Gmail | |
// @author qguv | |
// @match https://mail.google.com/mail/u/*/h/*/?*&s=* | |
// @exclude https://mail.google.com/mail/u/*/h/*/?*&s=i* | |
// @grant none | |
// ==/UserScript== |
View standard_vegan_bowl.txt
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
## ingredients | |
- a sweet potato | |
- some quinoa | |
- field greens (or mix) | |
- cherry tomatoes | |
- vegan battered chicken slices | |
- unsweetened vegan yoghurt | |
- cucumber (garnish, optional) | |
- pine nuts (optional but really healthy here) |
View Roguelight_quiet.sh
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/sh | |
set -e | |
exe="$1" | |
zip="$2" | |
re="/tmp/re/ResourcesExtract.exe" | |
function usage() { | |
printf 'Usage: %s EXE ZIP\n' "$0" | |
printf '%s\n' "Removes in-game background music from Roguelight.exe, producing a .zip containing a new .exe and its dependencies." |
View crowd_counter.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View get_stickers.py
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 python3 | |
''' | |
Extract the most commonly used stickers from your Telegram chat history as: | |
- a JSON obj mapping sticker paths to the number of times sent; or | |
- the above in text; or | |
- a simple webpage showing all the stickers. | |
''' | |
_epilog = '''\ | |
To get your Telegram chat history: |
NewerOlder