For symmetic encryption, you can use the following:
To encrypt:
openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt
To decrypt:
sudo rm -rf /Users/Shared/Relocated\ Items/Security/nix (this is where my existing nix store got moved)sudo bash -c "echo nix >> /etc/synthetic.conf"sudo diskutil apfs addVolume disk1 APFSX Nix -mountpoint /nix to create a volume and mount it on /nix.sudo bash -c 'echo "LABEL=Nix /nix apfs rw" >> /etc/fstab' to instruct macOS to remount on reboot.diskutil ap encryptVolume Nix -user disk to encrypt the volume (if desired, but there is really not much of a reason not to). You'll have to choose a passphrase and type it twice./nix is mounted and you have write access. If you have encrypted the volume, you will be asked for the passphrase and have the option of ticking a checkbox to save it in the keychain.| #!/usr/bin/env bash | |
| set -euo pipefail | |
| wget --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" \ | |
| $(curl -s http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html | \ | |
| awk "/downloads\['/ && ! /demos/ && /\['files'\]/ && /linux-x64/ && /\.tar\.gz/" | \ | |
| grep -o 'http.*\.tar\.gz'\ | |
| ) |
| From 511e0aa028b54ffee09da56f35d9cab17c1e4764 Mon Sep 17 00:00:00 2001 | |
| From: Kirill Kuznetsov <kirill.desirehd@gmail.com> | |
| Date: Mon, 11 Sep 2017 20:14:53 +0300 | |
| Subject: [PATCH] [UNIX] Fix jobstop not killing processes with SIGKILL | |
| --- | |
| src/nvim/event/process.c | 5 +++-- | |
| 1 file changed, 3 insertions(+), 2 deletions(-) | |
| diff --git i/src/nvim/event/process.c w/src/nvim/event/process.c |
| { | |
| "env": { | |
| "node": true, | |
| "es6": true, | |
| "browser": true | |
| }, | |
| "rules": { | |
| "accessor-pairs": "off", | |
| "array-callback-return": "error", | |
| "block-scoped-var": "error", |
| [17:49:17] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR. | |
| [17:49:17] [main/INFO] [FML/]: Forge Mod Loader version 7.99.32.1517 for Minecraft 1.7.10 loading | |
| [17:49:17] [main/INFO] [FML/]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_60, running on Windows 10:amd64:10.0, installed at C:\Program Files\Zulu\zulu-8\jre | |
| [17:49:17] [main/DEBUG] [FML/]: Java classpath at launch is C:/Users/game/Desktop/MultiMC/jars/NewLaunch.jar | |
| [17:49:17] [main/DEBUG] [FML/]: Java library path at launch is C:/Users/game/Desktop/MultiMC/instances/LightPack/natives | |
| [17:49:17] [main/DEBUG] [FML/]: Enabling runtime deobfuscation | |
| [17:49:17] [main/DEBUG] [FML/]: Instantiating coremod class FMLCorePlugin | |
| [17:49:17] [main/DEBUG] [FML/]: Added access transformer class cpw.mods.fml.common.asm.transformers.AccessTransformer to enqueued access transformers | |
| [17:49:17] [main/DEBUG] [FML/]: Enqueued coremod FMLCorePlugin | |
| [17:49:17] [main/DEBUG] [FML/]: Instantiating coremod class FMLForgePlugin |
| <div id="container"> | |
| <div id="message"> | |
| <a id="animate" href="#">Transmit</a> | |
| </div> | |
| </div> |
| <div id="container"> | |
| <div id="message"> | |
| <a id="animate" href="#">Transmit</a> | |
| </div> | |
| </div> |