» sudo systemctl daemon-reload
System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
==============================================
Edit*
- Open
/etc/wsl.confwith any editor:
» sudo systemctl daemon-reload
System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
==============================================
Edit*
/etc/wsl.conf with any editor:| /* BEGIN: ebullientworks Dark Theme */ | |
| /* dark theme: code block原為--blue-2 */ | |
| .theme-dark { | |
| --pre-code: var(--purple-3); | |
| --tags: var(--pink-2); | |
| } | |
| /* dark mode在highlight裡黃底時,白色游標看不見 */ | |
| .theme-dark .cm-highlight { | |
| caret-color: var(--text-highlight-fg); |
This service will use the same remote name you specified when using rclone config create. If you haven't done that yet, do so now.
Next, create the mountpoint for your remote. The service uses the location ~/mnt/<remote> by default.
mkdir ~/mnt/dropbox| [Unit] | |
| Description=Dropbox (rclone) | |
| AssertPathIsDirectory=%h/Dropbox | |
| # Make sure we have network enabled | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| ExecStart=/usr/bin/rclone mount --vfs-cache-mode full Dropbox: Dropbox |
| // ==UserScript== | |
| // @name Trigger workflow_dispatch from the blob view of the workflow file | |
| // @source https://gist.github.com/dscho/585172971f0989ed340a563bbacc6cad | |
| // @updateURL https://gist.github.com/dscho/585172971f0989ed340a563bbacc6cad/raw/workflow_dispatch-from-blob.user.js | |
| // @downloadURL https://gist.github.com/dscho/585172971f0989ed340a563bbacc6cad/raw/workflow_dispatch-from-blob.user.js | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Trigger a workflow from the blob view of the workflow file | |
| // @author Johannes Schindelin | |
| // @match https://github.com/*/blob/*/.github/workflows/*.yml |
| // ==UserScript== | |
| // @name Dark Horse Downloader | |
| // @namespace http://schiff.io/ | |
| // @version 0.1 | |
| // @description Download a DRM-free copy of your Dark Horse digital comics. | |
| // @author Hayden Schiff (oxguy3) | |
| // @match https://digital.darkhorse.com/read/* | |
| // @match https://digital.darkhorse.com/bookshelf* | |
| // @include https://*.cloudfront.net/* | |
| // @grant GM_xmlhttpRequest |
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| trap cleanup SIGINT SIGTERM ERR EXIT | |
| script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
| usage() { | |
| cat <<EOF | |
| Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |