- WSL with systemd enabled
- ext4 physical drive name and partition number
- your WSL username
- And empty
/home/<User>- if migrating, move it to/home/<User>.backupand then rsync the contents to the real physical drive after mounting
π
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Simulate a key event. | |
| * @param {Number} keyCode The keyCode of the key to simulate | |
| * @param {String} type (optional) The type of event : down, up or press. The default is down | |
| * @param {Object} modifiers (optional) An object which contains modifiers keys { ctrlKey: true, altKey: false, ...} | |
| */ | |
| function simulateKey (keyCode, type, modifiers) { | |
| var evtName = (typeof(type) === "string") ? "key" + type : "keydown"; | |
| var modifier = (typeof(modifiers) === "object") ? modifier : {}; |
I hereby claim:
- I am akash07k on github.
- I am akashk07 (https://keybase.io/akashk07) on keybase.
- I have a public key whose fingerprint is 97F4 91C9 A464 F638 E690 D61E 41B1 AAFB 7E8C 1B93
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #edit these to your config | |
| BWDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" | |
| DATETIME="$(date +'%Y-%m-%d_%H-%M-%S')" | |
| FOLDERPATH="$(date +'%Y-%m-%d')" | |
| GZFILE=bitwarden-${DATETIME}.tar.gz | |
| #change working dir to /tmp | |
| cd /tmp/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP --> | |
| <meta | |
| http-equiv="Content-Security-Policy" | |
| content="default-src 'self'; script-src 'self'" | |
| /> | |
| <title>ContextBridge Demo</title> |