Skip to content

Instantly share code, notes, and snippets.

View Hasnep's full-sized avatar
🦦

Hannes Hasnep

🦦
View GitHub Profile
error: Package ‘fluffychat-linux-1.20.0’ in /nix/store/20yis5w6g397plssim663hqxdiiah2wr-source/pkgs/applications/networking/instant-messengers/fluffychat/default.nix:41 is marked as insecure, refusing to evaluate.
Known issues:
- The libolm end‐to‐end encryption library used in many Matrix
clients and Jitsi Meet has been deprecated upstream, and relies
on a cryptography library that has known side‐channel issues and
disclaims that its implementations are not cryptographically secure
and should not be used when cryptographic security is required.
const fs = require("fs");
const numberToLetters = (num) => {
let letters = "";
while (num >= 0) {
letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"[num % 26] + letters;
num = Math.floor(num / 26) - 1;
}
return letters;
};
users.users.hannes = {
isNormalUser = true;
extraGroups = ["wheel"];
openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFLnJfxLDy7PgM2UJUk2H0TkwTqSuOGUJE9zoGmi8LOm"];
};
services.openssh = {
enable = true;
settings={
PasswordAuthentication = false;
@Hasnep
Hasnep / _resticprofile.toml
Last active August 31, 2023 03:07
Resticprofile setup
[global]
password-file = "password.txt"
[global.backup]
exclude-file = "excludes.txt"
exclude-if-present = ".resticignore"
schedule-permission = "user"
schedule-lock-wait = "1h"
[global.retention]
@Hasnep
Hasnep / resume.json
Last active February 10, 2023 08:05
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"email": "[email protected]",
"label": "Data Engineer",
"location": {
"city": "New Taipei CIty",
"countryCode": "TW"
},
"name": "Johannes Smit",
@Hasnep
Hasnep / RaguseaMeatWashingSurveyResponsesRaw.csv
Created January 30, 2022 16:10
RaguseaMeatWashingSurveyResponsesRaw
We can't make this file beautiful and searchable because it's too large.
@Hasnep
Hasnep / example.txt
Created October 11, 2021 12:05
Unicode test file
C0 Controls and Basic Latin U+0000 – U+007F (0–127)
! 5 A a
C1 Controls and Latin–1 Supplement U+0080 – U+00FF (128–255)
¥ ¼ Ñ ñ
Latin Extended-A U+0100 – U+017F (256–383)
Ą ą IJ ij
Latin Extended-B U+0180 – U+024F (384–591)
Ə Ɛ ƕ ƺ
IPA Extensions U+0250 – U+02AF (592–687)
ɖ ɞ ɫ ɷ