I hereby claim:
- I am destynova on github.
- I am omf (https://keybase.io/omf) on keybase.
- I have a public key ASBMi5I2PJPEeuiujfs-Mf6HnafUru6A_YiwRvpJmcb_2Qo
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # Commands taken from this very helpful guide: | |
| # https://github.com/drojaazu/pc98_disks_in_linux/blob/main/README.md#mounting-hard-disks | |
| set -euo pipefail | |
| IMAGE=$1 | |
| mkdir mnt |
| require 'webrick' | |
| require 'fileutils' | |
| if ARGV.length != 0 | |
| root = ARGV.first.gsub('\\', '/') | |
| else | |
| root = '.' | |
| end | |
| BACKUP_DIR = 'bak' | |
| BACKUP_VERSIONS = 3 |
| # load existing pre-zsh profile | |
| emulate sh -c '. ~/.profile' | |
| # make a directory and cd into it | |
| mkd () { mkdir $1 && cd $1 } | |
| # verbally remind me of something after N minutes | |
| # Examples: | |
| # $ remind_after 5 tea | |
| # $ remind_after 25 "pomodoro break" |
I hereby claim:
To claim this, I am signing this object:
| json = require('dkjson') | |
| function main(max_depth) | |
| print('Reading file...') | |
| local session = assert(io.open('sessionstore.js', 'r')) | |
| local session_data = session:read('*all') | |
| print('Parsing ('..#session_data..' bytes)...') | |
| local obj, pos, err = json.decode(session_data, 1, json.null) | |
| if err then error(err) end |