Skip to content

Instantly share code, notes, and snippets.

body {
min-height: fit-content;
background-color: #f7f2ff;
color: #392142;
font-family: 'Gambarino', serif;
&>.page {
min-height: 100dvh;
height: 100%;
padding: 3rem;
@not-ivy
not-ivy / readme.md
Last active November 6, 2023 00:14
a tl;dr for hpke

HPKE Flow

sequenceDiagram
  actor Initiator
  actor Recipient
  participant KEM
  participant KDF
  participant AEAD
@not-ivy
not-ivy / index.tsx
Last active November 7, 2022 21:07
json to css vars
import { useRef, useEffect, useState } from 'preact/hooks';
export function App() {
const [keys, setKeys] = useState<string[]>([]);
const [obj, setObj] = useState<any>();
return (
<>
<textarea
onInput={(ev) => {
@not-ivy
not-ivy / .env
Last active July 2, 2022 20:02
mod updater rewrite in bash
# example config
MINECRAFT_VERSION="1.18.1"
FABRIC_MODS=(
# add the mod id / slug from modrinth here
)
FORGE_MODS=(
# add the mod id / slug from modrinth here
)
QUILT_MODS=(
@not-ivy
not-ivy / .config
Last active March 19, 2022 05:20
linux config
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.16.4 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.2.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=110200
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=23700
@not-ivy
not-ivy / action.yaml
Created December 21, 2021 17:45
Build rust program on linux, macos and windows with caching
name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
@not-ivy
not-ivy / breathebg.css
Last active December 15, 2021 02:52
Monkeytype themes
/* ==UserStyle==
@name monkeytype nord
@namespace github.com/openstyles/stylus
@version 1.0.0
@description nord theme for monkeytype
@author refact0r
@homepageURL https://github.com/refact0r/monkeytype-themes
@updateURL https://github.com/refact0r/monkeytype-themes/raw/main/nord.user.css
==/UserStyle== */
@-moz-document domain("monkeytype.com") {
@not-ivy
not-ivy / Nibble.md
Last active October 26, 2021 11:16
Nibble Assembly Parts

Nibble 65% Build

Base:

Amazon - $70 Waiting for restock...

Mechboards - £75.00($103.04)


@not-ivy
not-ivy / statify
Last active April 7, 2021 05:29 — forked from Who23/statify
An updated version of statify that works in kitty terminal
#!/bin/bash
# My Fork of Who23's statify script, changed to kitty image protocol
# A script to display current spotify track info in a small terminal window
# this includes art, track name, and artist. All art/text centered
# Copyright 2020 Aditya Shrivastava
#
# 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
@not-ivy
not-ivy / fetches.md
Last active February 24, 2021 17:26
Fetch tools that I collected