Backblaze B2 via rclone cheatsheet
- Create B2 remote
A host-only network interface is one created in software which appears on the host system.
This interface can then be attached to one or more VMs - allowing for connectivity between those VMs and free communication between the host system and connected VMs.
The Huawei B315 modem supplied by Optus for the (now defunt) Vividwireless service is a workable but sadly rather crippled device, even down to the inabiilty to modify assigned DNS servers from it's DHCP server away from Optus DNS to something sane (Google DNS/Cloudflare/etc.).
This script should allow for the easy update of assigned DNS servers and has been tested with Google Chrome.
Consolearea - modifying
Since November 2018, GitHub have started to display forced push events to pull request page timelines. This bookmarklet will toggle display of these events if they are getting in the way of meaningful commits.
Add the code below as the URL of a new bookmark:
Tested with Chrome 70.0.3538.102.
Python function to determine if a given IPv4 CIDR fits into another.
Create a new systemd user unit, which starts
ssh-agent upon login to server. Will remain resident until the final session for the user has logged out.
Run the following commands (under your user account, not
root) to install the systemd unit and start:
$ systemctl --user enable ssh-agent.service $ systemctl --user start ssh-agent.service
When using the
shift built-in, have noted this interesting behavior
which I have been unable to find documentation for.
Update: the answer was right in front of me, if
shift is called with a value greater than arguments available in
$1 - $x then it will return with a non zero status - hence the script will halt (since I'm using
Using the script
test.sh, executed using arguments:
./test.sh apple orange banana apple