Skip to content

Instantly share code, notes, and snippets.

View meowgorithm's full-sized avatar
💭
Gosh

Christian Rocha meowgorithm

💭
Gosh
View GitHub Profile
@meowgorithm
meowgorithm / go.mod
Last active August 30, 2022 04:16
Viewport + Textarea Chat Layout
module example
go 1.19
require (
github.com/charmbracelet/bubbles v0.13.1-0.20220830040516-d44e242f37ed
github.com/charmbracelet/bubbletea v0.22.1
github.com/charmbracelet/lipgloss v0.5.0
)
@meowgorithm
meowgorithm / make-gif.sh
Created September 29, 2022 13:59
Small GIFs with ffmpeg and bash
#!/usr/bin/env bash
function makeGIF {
local input="$1"
local framerate="$2"
local width="$3"
local basename="$4"
local maxColors="$5"
# GIFs of 60fps videos have to be 50fps
@meowgorithm
meowgorithm / configuration.nix
Last active January 20, 2023 18:28
Soft Serve on NixOS at DigitalOcean
{
pkgs,
modulesPath,
lib,
...
}: let
sshdPort = 8888;
softServePort = 22;
in {
imports =