Skip to content

Instantly share code, notes, and snippets.

Web Frontend Tips

Right now i use this file to collection my messy ideas about web, later im gonna format these in a better way. for now im just collecting my ideas.


Always use semantic html tags, if they exist.

If not using aria roles, and example would be [role="group"]

Rust-Flavored TypeScript: Structs, Traits, and Impls Without Classes

Core Utilities (copy/paste)

export type Enum<T extends Record<string, (...args: any) => { readonly type: string }>> = ReturnType<T[keyof T]>;

export type Trait<Self = any> = {
	[key: string]: (self: Self, ...args: any) => any;
};
@DeepDoge
DeepDoge / README.md
Last active September 16, 2024 21:37 — forked from ziqiq/com.sparrowwallet.Sparrow.md
Sparrow wallet flatpak manifest

Installation for End User

  1. Install flatpak builder
flatpak install --user org.flatpak.Builder
  1. Build and install the Sparrow manifest