- "uBlock Origin"
- "uMatrix"
- "Decentraleyes"
- "Session Boss" / "Tab Session Manager"
- "Stylus"
- "Auto Tab discard"
- "New Tab Override"
- "Open Tabs Next to Current"
En test:
| #! /bin/sh | |
| # this is trying to mimick parts of GNU grep with busybox grep. | |
| # We convert long arguments to short ones basically. | |
| # this is all that busybox grep supports (with the GNU long argument version) | |
| # -H --with-filename | |
| # -h --no-filename | |
| # -n --line-number |
| #!/bin/bash | |
| # git alias [-p] [name[=value] ...] | |
| # (bash) alias [-p] [name[=value] ...] | |
| git_alias__show_help() { | |
| echo 'Usage: git alias [-p] [name[=value] ... ]' | |
| } | |
| # safe quote (like the alias command do) |
| #!/usr/bin/env lua | |
| -- pattern to disable as comment (in lua regexp % is the backquote character) | |
| local pat1=[[<vmw:Config ovf:required="false" vmw:key="cpuAllocation%.shares%.shares" vmw:value="[^"]*"/>]] | |
| local pat2=[[<vmw:Config ovf:required="false" vmw:key="cpuAllocation%.shares%.level" vmw:value="[^"]*"/>]] | |
| -- pattern to enable a comment entry (in lua regexp % is the backquote character) | |
| local patu=[[<!%-%-:Config ovf:required="false" vmw:key="[^"]*" vmw:value="[^"]*%-%->]] | |
| -- read blocksize |
| KO: 0.17.32 ; base/info.json is 0.17.33 | |
| KO: 0.17.31 ; base/info.json is 0.17.32 | |
| KO: 0.17.30 ; base/info.json is 0.17.31 | |
| KO: 0.17.29 ; base/info.json is 0.17.30 | |
| KO: 0.17.28 ; base/info.json is 0.17.29 | |
| KO: 0.17.27 ; base/info.json is 0.17.28 | |
| KO: 0.17.26 ; base/info.json is 0.17.27 | |
| KO: 0.17.25 ; base/info.json is 0.17.26 | |
| KO: 0.17.24 ; base/info.json is 0.17.25 | |
| KO: 0.17.23 ; base/info.json is 0.17.24 |
| # wanted result: | |
| # [ | |
| # [ "foo", "bar", "buz", "xx" ], | |
| # [ "a1", "b1", "c1", null ], | |
| # [ "a2", "b2", "c2", null ], | |
| # [ "a3", "b3", "c3", null ], | |
| # [ "a4", "b4", "c4", "undef" ] | |
| # ] | |
| printf '[ |
| getrawdata() { | |
| printf '[ | |
| { "id": "bar", "info": "A babab" }, | |
| { "id": "buz", "info": "B ububu" }, | |
| { "id": "foo", "info": "A fofof" } | |
| ]'; | |
| } | |
| rawdata_to_db() { | |
| jq '{db: .}'; | |
| } |
En test:
| #!/bin/sh | |
| filters() { | |
| if [ $# -le 1 ]; then | |
| local grepopt='' | |
| case "$1" in | |
| ('no '?*) set -- "${1#no }"; grepopt='-v' ;; | |
| esac | |
| case "$1" in | |
| (*'=ANY') | |
| grep $grepopt -- '\<'"${1%=*}"'=ANY\>'; return $? |
| #!/bin/sh | |
| deadlink() { | |
| local NO_ABS=false | |
| local NO_REL=false | |
| while [ $# -gt 0 ]; do | |
| case "$1" in | |
| ('-h'|'--help') | |
| echo "Usage: $0 [--na|--no-absolute]|[--nr|--no-relative] [--] <directory>"; | |
| exit 0; |
| #!/bin/sh | |
| sumfile="$(mktemp)" | |
| tmpfile="$(mktemp)" | |
| trap "rm -f -- '$tmpfile' '$sumfile'" EXIT | |
| verbose=false | |
| cmd='auto' | |
| hashvalue='' | |
| while [ $# -gt 0 ]; do | |
| case "$1" in | |
| ('-v') verbose=true;; |