git bisect start $BAD $GOOD && git bisect run $CMD
either:
- nix-bisect: smartly pick
bisect bad/skip
in automated bisects and give nicer outputs
intent | replace regex | with | |
---|---|---|---|
debold headers | # +\*\*(.*)\*\* | # $1 | |
de-underline links | \[<u>(.*)</u>\] | [$1] | |
de-underline links | \[<u>([\n\s\S]*?)</u>\] | [$1] | |
remove empty comments | <!-- -→\n+ | ||
ditch quote blocks | ^(\s*)> ? | $1 | |
upgrade bolded lines to h2 | (\[?)\*\*(.*)\*\* | ## $1$2 | |
normalize quotes | ‘ | ' | |
normalize quotes | ’ | ' | |
normalize quotes | “ | “ |
profile lid_closed { | |
output HDMI-A-1 enable | |
} | |
profile undocked { | |
output eDP-1 enable | |
} | |
profile home_office { | |
output HDMI-A-1 enable mode 1366x768@60Hz position 0,0 |
# If a config.py file exists, this file is ignored unless it's explicitly loaded | |
# via config.load_autoconfig(). For more information, see: | |
# https://github.com/qutebrowser/qutebrowser/blob/main/doc/help/configuring.asciidoc#loading-autoconfigyml | |
# DO NOT edit this file by hand, qutebrowser will overwrite it. | |
# Instead, create a config.py - see :help for details. | |
config_version: 2 | |
settings: | |
bindings.commands: | |
global: |
git bisect start $BAD $GOOD && git bisect run $CMD
either:
bisect bad/skip
in automated bisects and give nicer outputs// ==UserScript== | |
// @name DDG-like Vim keybindings for Brave Search | |
// @namespace https://gist.github.com/KiaraGrouwstra/94c77deb4ba1ac7c464568bb9a895b76 | |
// @version 0.0.2 | |
// @description navigate search results by keyboard! | |
// @author KiaraGrouwstra | |
// @match https://search.brave.com/* | |
// @grant none | |
// ==/UserScript== |
#!/usr/bin/env sh | |
# usage: cat my-file.hcl | ./hcl2nix.sh > my-file.nix | |
cat << EOF | |
{ | |
$(sed -E 's/\}$/};/g' \ | |
| sed -E 's/\]$/];/g' \ | |
| sed -E 's/= (.*[^\[\{])$/= \1;/g' \ | |
| sed -E 's/ \{/ = {/g' \ | |
| sed -E 's/^(\w+) "/\1."/g' \ | |
| sed -E 's/" "/"."/g' \ |
voting advice applications:
data:
algorithm:
group | Amorphous | Bug | Dragon | Fairy | Field | Flying | Grass | Human-Like | Mineral | Monster | Water 1 | Water 2 | Water 3 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Amorphous | - | |||||||||||||
Bug | - | |||||||||||||
Dragon | Dreepy | - | ||||||||||||
Fairy | - | |||||||||||||
Field | Seviper/Silicobra | Pichu/Pachirisu/Dedenne/Tandemaus | - | |||||||||||
Flying | Swablu/Noibat | - | ||||||||||||
Grass | Applin | Hoppip/Shroomish | Spirigatito | - | ||||||||||
Human-Like | Ralts | Impidimp | Lucario | Hawlucha | Cacnea | - | ||||||||
Mineral | Sinistea | Frigibax | Snorunt/Falinks | Cufant/Fidough | - |
# prerequisite: create $censored_pdf from $original_pdf using chrome print pdf -> tick 'print as image' (linux chrome) -> save as pdf | |
# split | |
for page_range in ${original_page_ranges[*]}; do | |
pdftk $original_pdf cat $page_range output $page_range.pdf | |
done | |
for page_range in ${censored_page_ranges[*]}; do | |
pdftk $censored_pdf cat $page_range output $page_range.pdf | |
done |