Mount root subvolume
mount -t btrfs -o subvolid=5,noatime,nodiratime,noacl,nossd 'UUID=68706ead-a626-4209-b3d0-1187b835f803' /mnt/btrfs
mount -o remount,exec /mnt/btrfs
List BTRFS subvolumes
btrfs subvolume list -t --sort=path /mnt/btrfs
| @set installhooks_args=%*& set installhooks_self=%~f0& powershell -c "(gc \"%~f0\") -replace '@set installhooks_args.*','#' | Write-Host" | powershell -c -& goto :eof | |
| $srcdir = split-path $env:installhooks_self | |
| $vivpath = "c:\Program Files\Vivaldi\Application\" | |
| Try { | |
| $dstdir = split-path ((Get-ChildItem -path $vivpath -recurse browser.html | Sort-Object -property CreationTime -descending | Select-Object -first 1).FullName) | |
| write-host "Destination directory: $dstdir" | |
| $encoding = (New-Object System.Text.UTF8Encoding($False)) |
| Example use: | |
| # qubes control | |
| bindsym $mod+u exec --no-startup-id "qubes-i3-dmenu-shell --start" | |
| bindsym $mod+Shift+u exec --no-startup-id "qubes-i3-dmenu-shell --pause" | |
| bindsym $mod+i exec --no-startup-id "qubes-i3-dmenu-shell --shutdown" | |
| bindsym $mod+Shift+i exec --no-startup-id "qubes-i3-dmenu-shell --unpause" | |
| # qubes launching | |
| bindsym $mod+o exec --no-startup-id "qubes-i3-dmenu-shell --global" |
| #!/bin/bash | |
| # Download, extract and update Livepeer binary from Github to a pre-existing directory you set below | |
| # It assumes you have extracted the previous livpeer tar.gz in it and run livepeer from the same directory | |
| # Not intended to be run as root | |
| # | |
| # Expects bash, jq, curl, grep, sed, sha256sum and tar to be installed, usually available even on embedded systems | |
| # Windows Subsystem for Linux (WSL) or Cygwin should provide every utility on Windows | |
| # shellcheck disable=SC2015 | |
| set -euf -o pipefail |