Skip to content

Instantly share code, notes, and snippets.

View nandordudas's full-sized avatar
🥰
I may be slow to respond.

Nándor Dudás nandordudas

🥰
I may be slow to respond.
  • Debrecen, Hungary
View GitHub Profile
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 April 10, 2024 20:41
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