Skip to content

Instantly share code, notes, and snippets.

View theAkito's full-sized avatar
💭
Never complain, never explain.

Akito theAkito

💭
Never complain, never explain.
View GitHub Profile

Verifying that I control the following Nostr public key: npub1wprtv89px7z2ut04vvquscpmyfuzvcxttwy2csvla5lvwyj807qqz5aqle

$argon2id$v=19$m=64,t=512,p=2$jMCc0BRRtPwLT8NahLB1Fw$2/bQDncskeMW4HKA5Oq3cA

@theAkito
theAkito / smartdata.nu
Last active December 14, 2022 02:22
Get most significant S.M.A.R.T. attribute data with Nu
# Runs in Nushell. https://www.nushell.sh/
# Replace `/dev/sda` with whatever drive you want to inspect.
# The `-d sat` option might vary in your case.
# Most of the time, you do not need this option, at all.
smartctl -ajd sat /dev/sda | from json
| get ata_smart_attributes.table
| select name raw
| rename -c [ raw count ]
| update cells -c [ count ] { |value| $value.value }
@theAkito
theAkito / cloudSettings
Last active August 21, 2020 12:29
VS Code Settings Sync
{"lastUpload":"2020-08-21T12:29:34.126Z","extensionVersion":"v3.4.3"}
#!/bin/bash
#########################################################################
# Copyright (C) 2020 Akito <the@akito.ooo> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #