Skip to content

Instantly share code, notes, and snippets.

View braebo's full-sized avatar
💭
🔬

Braden Wiggins braebo

💭
🔬
View GitHub Profile
@braebo
braebo / mdsvex.settings.jsonc
Last active July 28, 2021 17:03
Mdsvex Icon Instructioins
// Add this to global user settings
{
"material-icon-theme.files.associations": {
"mdsvex.config.js": "../../../../.vscode/extensions/icons/mdsvex"
}
}
// Add this svg to "~/.vs-code/extensions/icons/mdsvex.svg"
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 500 500">
@braebo
braebo / mdsvex-icon.svg
Created October 9, 2021 23:03
Penguin Emoji SVG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@braebo
braebo / .zshrc
Created March 21, 2023 16:44
My `.zshrc` (MacOS)
# Fig pre block. Keep at the top of this file.
[[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.pre.zsh"
DEFAULT_USER=$USER
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# Path to your oh-my-zsh installation.
@braebo
braebo / quish.sh
Last active May 25, 2023 00:15
Simple batch video processing.
#!/bin/zsh
e() {
echo "$1"
}
fmt() {
if [ -t 1 ]; then
printf "%b\n" "$1"
else
e "$1"