I hereby claim:
- I am d4v3y0rk on github.
- I am d4v3y0rk (https://keybase.io/d4v3y0rk) on keybase.
- I have a public key ASBN14MhqqZ4cj3NCvLWzfQrRnfCd5p32O87NjN9QHeCgAo
To claim this, I am signing this object:
#!/bin/sh | |
SUBL="/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" | |
if [ ! -e "$SUBL" ] ; then | |
echo "Sublime not found: $SUBL" | |
exit 1 | |
fi | |
"$SUBL" --new-window -wait $1 & |
#!/bin/bash | |
HASH=`md5 $2 | awk '{print $4}'` | |
if [ $1 == $HASH ]; then | |
echo "hashes match" && exit 0; | |
else echo "hashes are different" && exit 1; | |
fi |
I hereby claim:
To claim this, I am signing this object:
This is a quick guide on how to setup dm_crypt under WSL2 for working with encrypted volumes. I use an encrypted volume to store things like password recovery codes and 2nd factor backup codes etc. I recently switched over to using WSL2 and wanted to figure out how to enable this functionality there. This is the distilled howto for getting it to work.
First thing you have to do is create a custom WSL2 kernel. Inside your already installed and running WSL2 (ubuntu) installation:
const csv = require('csvtojson') | |
const fs = require('fs') | |
// this no worky | |
function dosomething(data) { | |
console.log(data) | |
} | |
async function main() { | |
var mappingData = await parseCSV("map.csv", ",") |
[org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9] | |
custom-command='/usr/bin/zsh' | |
default-size-columns=115 | |
font='MesloLGM NF 14' | |
scrollback-unlimited=true | |
use-custom-command=true | |
use-system-font=false | |
use-theme-colors=false |