Skip to content

Instantly share code, notes, and snippets.

View turnipsoup's full-sized avatar
🍎

Jeremy Heckt turnipsoup

🍎
View GitHub Profile
@turnipsoup
turnipsoup / .vimrc
Last active December 8, 2022 19:05
My vim confiug
" Basics
syntax enable
set expandtab
set splitbelow
set ruler
set scrolloff=3 " lines above/below cursor
set fileformats=unix,mac,dos
set cursorline
set autoread " automatically reloads file if changed outside
set splitbelow " split new window below current window
@ajaxray
ajaxray / 1_Typora_Callout.md
Last active April 30, 2025 15:31
Making Notion style callout in Typora using custom CSS

Making Notion style callout in Typora using custom CSS

Do you want this type of callouts in typora? CleanShot 2022-12-03 at 19 02 01@2x

It's simple.

  • Copy the contents of callout.css at the bottom of your user base.user.css file.
    • You'll the find the base.user.css in typora theme folder. (Preference > Appearance > "Open theme folder")
  • If no base.user.css file is found in that folder, create one.
@adtac
adtac / Dockerfile
Last active December 26, 2025 00:20
#!/usr/bin/env docker run
#!/usr/bin/env -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')"
# syntax = docker/dockerfile:1.4.0
FROM node:20
WORKDIR /root
RUN npm install sqlite3