Skip to content

Instantly share code, notes, and snippets.

View AKJUS's full-sized avatar

akin AKJUS

View GitHub Profile
@AKJUS
AKJUS / WarpVer.md
Created April 27, 2025 05:15 — forked from warpfork/WarpVer.md
WarpVer -- it's not semver

WarpVer Versioning

A software versioning scheme.

It's not semver ℒ️.

The Rules

@AKJUS
AKJUS / kbs-identity.md
Created April 25, 2025 05:42 — forked from fitzthum/kbs-identity.md
The Mystery of the KBS Identity

The Mystery of the KBS Identity

One simple question has confounded countless developers working on Confidential Containers; how do we know we are connecting to the correct KBS? For context, KBS is short for Key Broker Service, which is the trusted entity that conditionally grants access to client secrets. The term relying party could be used to describe the KBS. Inside the guest, there is a Key Broker Client (KBC) built into the Attestation Agent (AA). The KBC talks to the KBS to get container decryption keys among other things.

The connection between the KBC and the KBS is secured with public key cryptography. The KBC generates a random keypair and sends the public key to the KBS when requesting confidential resources. Since the KBC has the lifespan of one VM, it makes sense for it to have an ephemeral keypair. The hash of the public key is includ

@AKJUS
AKJUS / sat6ShowHostSubscriptions.py
Created April 24, 2025 14:09 — forked from chornberger-c2c/sat6ShowHostSubscriptions.py
Red Hat Satellite - List Subscriptions
#!/usr/bin/env python
# File: sat6ShowHostSubscriptions.py
# Authors: Rich Jerrido <[email protected]>
# Christopher Hornberger <[email protected]>
#
# Purpose: given an hostname and login to Satelite, show me all the
# hosts and their subscriptions.
#
# This program is free software; you can redistribute it and/or modify
@AKJUS
AKJUS / pgp-public.asc
Created April 24, 2025 04:28
My PGP Public Key
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: User-ID: Cubik65536 <[email protected]>
Comment: a.k.a.: Qian Qian "Cubik" <[email protected]>
Comment: a.k.a.: Qian Qian "Cubik" <[email protected]>
Comment: a.k.a.: Cubik65536 <[email protected]>
Comment: a.k.a.: Qian Qian "Cubik" <[email protected]>
Comment: Fingerprint: C7B9299CE8FE070E2B47325306629B814A16551B
mDMEZvnwXxYJKwYBBAHaRw8BAQdAEO/FC8QvtBBEFBCUjXr066slAlOvt9Zk/ZcF
hej8Qde0JkN1YmlrNjU1MzYgPGN1YmlrNjU1MzZAY3ViaWs2NTUzNi50b3A+iJYE
import requests
import re
import sys
tags = ['', 'python', 'javascript', 'django', 'web', 'google', 'java', 'ajax',
'rails', 'plugin', 'android', 'cplusplus', 'mysql', 'dotnet', 'game',
'appengine', 'php', 'flash', 'jquery', 'database', 'gwt']
seen_tags = set(tags)
@AKJUS
AKJUS / keeper_auto_task.js
Created April 15, 2025 15:34 — forked from CryptYlliON/keeper_auto_task.js
This gist shows an autotask that can be used with OpenZeppelin Defender on the free tier without relayer
// Settings edited by user
const YOUR_KEEP3R_ADDRESSS = "";
const YOUR_KEEP3R_PRIVATE_KEY = "";
// Code starts here
const { ethers } = require("ethers");
const privateKey = Buffer.from(YOUR_KEEP3R_PRIVATE_KEY, 'hex');
const UniswapOracleV2 = "UniswapOracleV2";
const HegicPoolKeep3r = "HegicPoolKeep3r";
How to Draw: Drawing and Sketchin... β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0%
Database Internals: A deep-dive i... β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0%
Designing Data-Intensive Applicat... β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œβ–‘β–‘β–‘β–‘β–‘β–‘ 50%
@AKJUS
AKJUS / server-settings.json
Created April 7, 2025 12:11 — forked from Mamonaminyar/server-settings.json
Stremio default settings
{
"serverVersion": "4.15.0",
"appPath": "Path to the stremio-server",
"cacheRoot": "Path to the cache-folder",
"cacheSize": 2147483648,
"btMaxConnections": 55,
"btHandshakeTimeout": 20000,
"btRequestTimeout": 4000,
"btDownloadSpeedSoftLimit": 2621440,
"btDownloadSpeedHardLimit": 3670016,
{
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid",
@AKJUS
AKJUS / visually-hidden.css
Created April 6, 2025 12:22 — forked from luxplanjay/visually-hidden.css
Visually hidden CSS pattern
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
border: 0;
padding: 0;
white-space: nowrap;
clip-path: inset(100%);