Skip to content

Instantly share code, notes, and snippets.

View kaylendog's full-sized avatar
🌙
awoo

kaylen ✨ kaylendog

🌙
awoo
View GitHub Profile
@kaylendog
kaylendog / transport.ts
Last active May 28, 2023 14:30
Workaround for `window` issue in `@tauri-apps/api`
import {
NoOpTransport,
OperationType,
randomId,
RSPCError,
} from "@rspc/client";
import type { UnlistenFn } from "@tauri-apps/api/event";
/**
@kaylendog
kaylendog / setup.sh
Last active July 1, 2020 15:53
Sets up an Ubuntu server with Docker and Compose
echo Setting up ubuntu user...
echo "n\n" | apt install sudo -y
usermod -aG sudo ubuntu
su ubuntu
cd ~
@kaylendog
kaylendog / how-to-code.md
Created June 11, 2020 16:22
How to Code (by someone who doesn't know how to)

How to Code

Your project MUST be set up before you proceed with working on it, otherwise it'll come back to bite you in the butt later.

Contents