Skip to content

Instantly share code, notes, and snippets.

View nandordudas's full-sized avatar

Nándor Dudás nandordudas

View GitHub Profile
@layer root, hacked;
@property --horizontal-spacing {
syntax: '<length>';
initial-value: 0;
}
@layer root {
:root {
--highlight-bg-color: rgba(101, 117, 133, .16);
import type { Dispatch, PropsWithChildren, SetStateAction } from 'react'
import { createContext, useContext, useState } from 'react'
type Prettify<T> = {
[K in keyof T]: T[K]
} & NonNullable<unknown>
type Nullable<T> = T | null
type Theme = 'dark' | 'light'
@nandordudas
nandordudas / Advanced-setup.md
Last active July 5, 2024 17:14
Setup WSL 2 on Windows 11

TL;DR

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
iex "& {$(irm get.scoop.sh)} -ScoopDir ${Env:USERPROFILE}\Scoop"
scoop install git; scoop bucket add extras; scoop bucket add nerd-fonts
scoop install --global JetBrains-Mono Maple-Mono Maple-Mono-NF Meslo-NF-Mono Monaspace
#
winget install Docker.DockerDesktop
winget install JanDeDobbeleer.OhMyPosh