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
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in | |
all copies or substantial portions of the Software. |
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
/* This implementation of SHA-256 was adapted from Brad Conte's | |
crypto-algorithms GitHub repository. */ | |
#define SHA256_BLOCK_SIZE 32 | |
class CSHA256_CTX | |
{ | |
U8 data[64]; | |
U32 datalen; | |
U64 bitlen; |
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
#!/usr/bin/env bash | |
# journal.sh | |
# ========== | |
# | |
# One daily text file to rule them all. | |
# | |
# Copyright: 2022 Tyler Cipriani <[email protected] | |
# License: GPLv3 | |
set -euo pipefail |
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
from qobuz_dl.bundle import Bundle | |
bundle = Bundle() | |
app_id = bundle.get_app_id() | |
secrets = "\n".join(bundle.get_secrets().values()) | |
print(f"App ID: {app_id}") | |
print("#" * 20) |
OlderNewer