Skip to content

Instantly share code, notes, and snippets.

View jolheiser's full-sized avatar
🍵
Re-writing "Hello World" in Go

John Olheiser jolheiser

🍵
Re-writing "Hello World" in Go
View GitHub Profile
@jolheiser
jolheiser / config.toml
Created April 3, 2023 02:10
helix config
theme = "catppuccin_mocha"
[editor]
line-number = "relative"
mouse = false
cursorline = true
bufferline = "always"
color-modes = true
# shell = ["nu", "--config", {{ joinPath .chezmoi.homeDir ".config" "nushell" "config.nu" | quote }}, "--env-config", {{ joinPath .chezmoi.homeDir ".config" "nushell" "env.nu" | quote }}, "-c"]
@jolheiser
jolheiser / nap.nu
Created March 30, 2023 04:10
Nap Completions for Nushell
def "nu-complete nap list" [] {
^nap list | lines | each { |line| $line | str trim }
}
export extern "nap" [
snippet?: string@"nu-complete nap list" # Snippet
--help(-h) # Help
]
export extern "nap list" []
@jolheiser
jolheiser / catppuccin.tape
Created October 28, 2022 14:52
Catppuccin themes for vhs tapes
# Latte
Set Theme { "black": "#5c5f77", "red": "#d20f39", "green": "#40a02b", "yellow": "#df8e1d", "blue": "#1e66f5", "purple": "#ea76cb", "cyan": "#179299", "white": "#acb0be", "brightBlack": "#6c6f85", "brightRed": "#d20f39", "brightGreen": "#40a02b", "brightYellow": "#df8e1d", "brightBlue": "#1e66f5", "brightPurple": "#ea76cb", "brightCyan": "#179299", "brightWhite": "#bcc0cc", "background": "#eff1f5", "foreground": "#4c4f69", "selectionBackground": "#acb0be", "cursorColor": "#dc8a78" }
# Frappe
Set Theme { "black": "#51576d", "red": "#e78284", "green": "#a6d189", "yellow": "#e5c890", "blue": "#8caaee", "purple": "#f4b8e4", "cyan": "#81c8be", "white": "#b5bfe2", "brightBlack": "#626880", "brightRed": "#e78284", "brightGreen": "#a6d189", "brightYellow": "#e5c890", "brightBlue": "#8caaee", "brightPurple": "#f4b8e4", "brightCyan": "#81c8be", "brightWhite": "#a5adce", "background": "#303446", "foreground": "#c6d0f5", "selectionBackground": "#626880", "cursorColor": "#f2d5cf" }
# Macchiato
Set Theme { "black"
@jolheiser
jolheiser / catlog.go
Last active October 21, 2022 20:54
catlog
package catlog
import (
"github.com/caarlos0/log"
"github.com/charmbracelet/lipgloss"
)
func init() {
log.Styles = [...]lipgloss.Style{
log.DebugLevel: lipgloss.NewStyle().Foreground(lipgloss.Color("#a6adc8")).Bold(true), // Subtext0
@jolheiser
jolheiser / catppuccin.chroma.json
Created May 6, 2022 02:25
Catppuccin Chroma Style
{
"name": "catppuccin",
"style": {
"text_whitespace": {
"color": "#302D41"
},
"comment": {
"color": "#6E6C7E",
"accent": ["italic"]
},
@jolheiser
jolheiser / simple.css
Last active March 1, 2023 04:20
simple.css with Catppuccin theme
/* Global variables. */
:root {
/* Set sans-serif & mono fonts */
--sans-font: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir,
"Nimbus Sans L", Roboto, Noto, "Segoe UI", Arial, Helvetica,
"Helvetica Neue", sans-serif;
--mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
/* Catppuccin */
--red: #F28FAD;
@jolheiser
jolheiser / dark.json
Created December 17, 2021 15:23
Fleet Dark Theme
{
"meta" : {
"caret.width" : 1,
"tab.size" : 4,
"font.editor" : "JetBrains Mono",
"font.lineSpacing.editor" : 1.3,
"font.ui" : "Inter",
"size.icon" : 4.0,
"theme.borderless" : true,
"theme.gridUnit" : "4.0",
@jolheiser
jolheiser / sakura.css
Last active September 23, 2021 02:30
Sakura CSS using CSS vars instead of SCSS
/* Sakura.css v1.3.1
* ================
* Minimal css theme.
* Project: https://github.com/oxalorg/sakura/
*/
/* Default Sakura Theme */
:root {
--color-blossom: #1d7484;
--color-fade: #982c61;