Replace [your key] with your key ID
To obtain your key ID
gpg --list-secret-keys --keyid-format LONGWhich returns something like
| module util::id; | |
| import libc; | |
| alias Id = String; | |
| fn Id generate_id(uint length) { | |
| /* Valid IDs are a-z lowercase *length* char strings */ | |
| DString id = {}; | |
| while (id.len() < length) { | |
| int r = (97 + (libc::rand() % 26)); |
| module stack<Type>; | |
| import std::collections; | |
| /* A stack implemented around a list */ | |
| struct Stack { | |
| List{Type} items; | |
| int size; | |
| } | |
| fn Stack new() { |
| #!/usr/bin/env python3 | |
| # refresh-jellyfin media script | |
| import os | |
| import sys | |
| import requests | |
| from datetime import datetime | |
| from typing import TypeAlias | |
| from dataclasses import dataclass |
| <NotepadPlus> | |
| <UserLang name="C3" ext="c3" udlVersion="2.1"> | |
| <Settings> | |
| <Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="no" forcePureLC="1" decimalSeparator="0" /> | |
| <Prefix Keywords1="no" Keywords2="no" Keywords3="yes" Keywords4="no" Keywords5="yes" Keywords6="no" Keywords7="no" Keywords8="no" /> | |
| </Settings> | |
| <KeywordLists> | |
| <Keywords name="Comments">00/* 01 02*/ 03// 04</Keywords> | |
| <Keywords name="Numbers, prefix1"></Keywords> | |
| <Keywords name="Numbers, prefix2"></Keywords> |
| import std.conv; | |
| import std.file; | |
| import std.stdio; | |
| import std.string; | |
| import std.process; | |
| import core.time; | |
| import core.thread; | |
| import core.sys.posix.unistd; // getlogin |
| #!/usr/bin/env python3 | |
| # Simple program to find resistance | |
| # Author: Sam Saint-Pettersen, Feb 2026 | |
| # R = pL/A for a given resistivity in ohm metre (i.e. pCu or pAl). | |
| import os | |
| import sys | |
| # Resistivities | |
| resists: dict[str,float] = { |
| --- languages.yaml 2026-02-01 16:31:21.483241400 +0000 | |
| +++ ../onefetch_c3/languages.yaml 2026-01-26 17:25:19.510650800 +0000 | |
| @@ -263,30 +263,32 @@ | |
| C3: | |
| type: programming | |
| ascii: | | |
| - {0} .d8{1}888{2}b. {3} .d8{4}888{5}b. | |
| - {0}d88P{1} Y{2}88b {3}d88P{4} Y{5}88b | |
| - {0}888 {1} {2}888 {3} {4} .d{5}88P | |
| - {0}888 {1} {2} {3} {4}888{5}8" |
| [workspace.package] | |
| authors = ["o2sh <ossama-hjaji@live.fr>"] | |
| edition = "2024" | |
| license = "MIT" | |
| version = "2.26.1" | |
| repository = "https://github.com/o2sh/onefetch" | |
| [workspace] | |
| members = ["ascii", "image", "manifest"] |
| # Dockerfile to build Python 3.13.9 from source with an Alpine image. | |
| FROM alpine:latest | |
| # Install build dependencies for python and git | |
| RUN sed -i '2s/^# *//' /etc/apk/repositories | |
| RUN apk update && apk add --no-cache build-base zlib-dev openssl-dev git | |
| # Create python directory. | |
| RUN mkdir -p /usr/build/python | |
| WORKDIR /usr/build/python |