Skip to content

Instantly share code, notes, and snippets.

# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
VI_MODE_RESET_PROMPT_ON_MODE_CHANGE=true
VI_MODE_SET_CURSOR=true
MODE_INDICATOR="%F{red}N%f"
INSERT_MODE_INDICATOR="%F{green}I%f"
@arnu515
arnu515 / implementation.ts
Last active October 23, 2023 09:01
Amazon S3 Presigned post
// ON THE SERVER
import { generatePresignedPost } from "./s3";
const {url, fields} = await generatePresignedPost(...); // fill with your own parameters.
// send the above url, fields to the Client.
// ON THE CLIENT/BROWSER
@arnu515
arnu515 / README.md
Last active January 23, 2024 01:01
Streaming SSR with Bun + Elysia and TailwindCSS

Streaming SSR with Bun + Elysia and TailwindCSS

This is a simple example on how to stream HTML with Elysia in Bun with TailwindCSS (through twind).

This uses the latest @twind/core API.

Please suggest any speed improvements in the comments 🙏

TODO