- Install fish
sudo dnf install fish- Change default shell to fish
| #!/bin/bash | |
| set -e | |
| caConfigFolder="/path/to/cfssl/caConfig" | |
| sitesToRefresh=("com.mycompany" "site.my") | |
| serverCertFolder="./certs" | |
| for site in ${sitesToRefresh[@]}; do |
| // update 20230117 | |
| // works on https://www.woniufr.vip/p/t_pc/course_pc_detail/video/xxx | |
| // Important: Switch to "目录" tab before executing the following code. | |
| const clickElementAndWait = (element, timeMS = 2000) => { | |
| return new Promise((resolve, reject) => { | |
| element.dispatchEvent(new MouseEvent('click')); | |
| setTimeout(() => { | |
| resolve(); | |
| }, timeMS); |
| $GuardianName = 'UntrustedGuardian' | |
| $CertificatePassword = Read-Host -Prompt 'Please enter a password to secure the certificate files' -AsSecureString | |
| $guardian = Get-HgsGuardian -Name $GuardianName | |
| if (-not $guardian) | |
| { | |
| throw "Guardian '$GuardianName' could not be found on the local system." | |
| } |
| --- | |
| version: "3.9" | |
| services: | |
| node: | |
| labels: | |
| - "traefik.enable=true" | |
| # Vue Dev Server |
| #!/bin/sh | |
| set -e | |
| # Snapshot @targetSubvolume to @storageSubvolume/path/to/checkpoints/folder | |
| UUID='76186cef-780f-4a80-9c0f-19fcc3a53ee6' | |
| targetSubvolumeName='@arch-root' | |
| storageSubvolumeName='@workspace' | |
| mountPath="/mnt/$UUID" |
Fish (friendly interactive shell) users find themselves losing their installed snapd/flatpak apps after restarting the desktop.
These apps can be run with respective commands. However, they are unable to be found at the desktop menu. They cannot associate default apps either.
If you are also a fish user, when you run flatpak update, you get this:
| Write-Host "===============================================================" | |
| Write-Host "=========================== Link On ===========================" | |
| Write-Host "===============================================================" | |
| # Configs --> | |
| $linkConfig = [ordered]@{ | |
| "originFolder1" = "D:\test\targetFolder1" | |
| "originFolder2" = "D:\test\targetFolder2" | |
| } |