I hereby claim:
- I am derjohn on github.
- I am derjohn (https://keybase.io/derjohn) on keybase.
- I have a public key whose fingerprint is EE7A 1F2F 1111 1299 A921 0830 79AA 0D82 0805 1F6C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| #open adb shell | |
| adb shell | |
| #listing partitions (general command for Android devices) | |
| #ls -l /dev/block/platform/<block_device_name>/by-name/ | |
| #for the ZTE Axon7 | |
| ls -l /dev/block/platform/soc/624000.ufshc/by-name/ |
I hereby claim:
To claim this, I am signing this object:
| /etc/docker/daemon.json | |
| { | |
| "bip" : "172.70.0.1/16", | |
| "fixed-cidr" : "172.70.16.0/20", | |
| "log-level" : "info", | |
| "default-address-pools" : [ | |
| {"base" : "172.80.0.0/16", "size" : 24 }, | |
| {"base" : "172.90.0.0/16", "size" : 24 } | |
| ] |
| #!/bin/sh | |
| # Example usage RDPHOST=127.0.0.1 RDPPASS=foobar RDPUSER=admin rdp-connect.sh | |
| if ! xfreerdp --version | grep -q 'version 2\.'; then echo "Please apt install freerdp2-x11"; exit 1; fi | |
| RDPHOST=${1:-""} | |
| RDPPASS=${RDPPASS:-""} | |
| RDPUSER=${RDPUSER:-""} | |
| RDPTITLE=${RDPTITLE:-"${RDPHOST}"} | |
| RDPDRIVE=${RDPDRIVE:-'/tmp/'} |
| #!/bin/bash | |
| # It creates a systemd "slice" with a memory limit. Ideal if e.g. firefox or chromium eat up all your memory and block your whole desktop. | |
| # The slice will be OOM killed by systemd / cgroups, if it runs of bounds. | |
| # usage: ./create-memorylimited-slice /path/to/your/binary | |
| SLICEPATH=${1:-'/usr/bin/firefox'} | |
| SLICENAME=$(basename ${SLICEPATH}) | |
| ## Create system-wide scripts | |
| cat <<EOF | sudo tee /usr/local/bin/${SLICENAME}-slice > /dev/null |
| # Goal: Send an PDF Attachment to an catchall E-Mail Adresss with the fax number LHS | |
| # like +49123456778@myfax.example.com and have it processes as a Fax message. | |
| # You need: an dus.net account and the crypto token for the subject-line-auth | |
| # an catchall e-mail account like *@myfax.example.com with an own homedirectory | |
| # This script will rewrite the e-mail target and subject and forward it to DUS.net. | |
| 1) Create a <USERHOME>/.procmailrc | |
| LOGFILE=procmail-for-fax.log | |
| VERBOSE=YES |
Tested with Huawei Matebook X Pro (MACH-WX9) This is more or less a step by step tutorial, written 02/2021. Sadly at the moment Huawei does not ship a package in Linux Vendor Firmware Service.
Please note that you can damage ("brick") your device if something goes wrong or is done incorrectly. This is for the advanced user! I can only say that I flashed the new firmware 0.1.33 to my MACH-WX9 successfully.
dennemann.blog THX!!!
| #!/bin/sh | |
| sudo apt-get -y remove docker docker-engine docker.io runc | |
| sudo apt-get update | |
| sudo apt-get -y install \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ |