git bisect start $BAD $GOOD && git bisect run $CMD
either:
- nix-bisect: smartly pick
bisect bad/skip
in automated bisects and give nicer outputs
// ==UserScript== | |
// @name DDG-like Vim keybindings for Ecosia | |
// @namespace https://gist.github.com/KiaraGrouwstra/f5d319a89d0c21ebcdae94f68b6bf604 | |
// @version 0.0.4 | |
// @description plants trees while navigating search results by keyboard! | |
// @author KiaraGrouwstra | |
// @match https://www.ecosia.org/search?* | |
// @match https://html.duckduckgo.com/* | |
// @grant none | |
// @esversion 6 |
// ==UserScript== | |
// @name DDG-like Vim keybindings for Brave Search | |
// @namespace https://gist.github.com/KiaraGrouwstra/94c77deb4ba1ac7c464568bb9a895b76 | |
// @version 0.0.3 | |
// @description navigate search results by keyboard! | |
// @author KiaraGrouwstra | |
// @match https://search.brave.com/* | |
// @grant none | |
// @license WTFPL | |
// ==/UserScript== |
git bisect start $BAD $GOOD && git bisect run $CMD
either:
bisect bad/skip
in automated bisects and give nicer outputsintent | 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: |
#!/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' \ |
// go to https://coinmarketcap.com/exchanges/volume/24-hour/ | |
// make a `require` bookmarklet with the following content: | |
// javascript:(function(){var body=document.getElementsByTagName('body')[0];var script=document.createElement('script');script.type='text/javascript';script.src='https://s3.amazonaws.com/s3.mathisonian.com/javascripts/requirify-browser.js';body.appendChild(script);})(); | |
// run rest in console: | |
require('R', 'ramda'); | |
e = document.getElementsByTagName('table')[0].children[0].children; | |
trs = [].slice.call(e); |
# sudo du -h --max-depth=1 / | sort --human-numeric-sort -r | |
# nix commands, sudo in case of global nix install | |
sudo nix-collect-garbage | |
sudo nix store optimise | |
# nixos: nix-du | |
yay -Sc | |
sudo pacman -Sc |
voting advice applications:
data:
algorithm: