This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
e() { | |
echo "$1" | |
} | |
fmt() { | |
if [ -t 1 ]; then | |
printf "%b\n" "$1" | |
else | |
e "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// 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"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { writable } from 'svelte/store'; | |
import { browser } from '$app/env'; | |
const setAsync = async (key: string, value: any): Promise<void> => { | |
return Promise.resolve().then(() => { | |
typeof value != 'string' | |
? localStorage.setItem(key, JSON.stringify(value)) | |
: localStorage.setItem(key, value); | |
}); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { writable } from 'svelte/store'; | |
const client = typeof window !== "undefined"; | |
const asyncLocalStorage = { | |
setItem: function (key, value) { | |
return Promise.resolve().then(function () { | |
typeof value != 'string' | |
? localStorage.setItem(key, JSON.stringify(value)) | |
: localStorage.setItem(key, value); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Generated with http://k88hudson.github.io/syntax-highlighting-theme-generator/www */ | |
/* http://k88hudson.github.io/react-markdocs */ | |
/** | |
* @author k88hudson | |
* | |
* Based on prism.js default theme for JavaScript, CSS and HTML | |
* Based on dabblet (http://dabblet.com) | |
* @author Lea Verou | |
*/ | |
/********************************************************* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"{\"v\":\"5.5.7\",\"meta\":{\"g\":\"LottieFiles AE 0.1.20\",\"a\":\"Braden Wiggins\",\"k\":\"\",\"d\":\"CO_Logo_Spin_1.2\",\"tc\":\"\"},\"fr\":60,\"ip\":0,\"op\":60,\"w\":2400,\"h\":1000,\"nm\":\"Spin-1\",\"ddd\":0,\"assets\":[],\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":4,\"nm\":\"MotionPath Arrow_ Black 2\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[1369.962,499.164,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[873.962,362.664,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-200.294],[200.294,0],[66.52,78.058],[0,0],[102.785,0],[0,-199.747],[-199.747,0],[-65.916,69.568],[0,0],[-99.8,0]],\"o\":[[0,200.294],[-110.595,0],[0,0],[-65.846,-68.843],[-199.747,0],[0,199.747],[103.403,0],[0,0],[65.575,-65.228],[200.294,0]],\"v\":[[1747.923,362.664],[1385.259,725.329],[1109.111,597.766],[623.075,111.719],[361.673,0],[0,361.673],[361.673,723.347],[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"v":"5.5.7","meta":{"g":"LottieFiles AE 0.1.20","a":"Braden Wiggins","k":"","d":"COLogo Spin 1","tc":""},"fr":60,"ip":0,"op":60,"w":2400,"h":1000,"nm":"Spin-1","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"MotionPath Arrow_ Black 2","hd":true,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[1369.962,499.164,0],"ix":2},"a":{"a":0,"k":[873.962,362.664,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-200.294],[200.294,0],[66.52,78.058],[0,0],[102.785,0],[0,-199.747],[-199.747,0],[-65.916,69.568],[0,0],[-99.8,0]],"o":[[0,200.294],[-110.595,0],[0,0],[-65.846,-68.843],[-199.747,0],[0,199.747],[103.403,0],[0,0],[65.575,-65.228],[200.294,0]],"v":[[1747.923,362.664],[1385.259,725.329],[1109.111,597.766],[623.075,111.719],[361.673,0],[0,361.673],[361.673,723.347],[624.258,610.386],[1129.501,105.539],[1385.259,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":fals |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"{\"v\":\"5.5.7\",\"meta\":{\"g\":\"LottieFiles AE 0.1.20\",\"a\":\"Braden Wiggins\",\"k\":\"\",\"d\":\"COLogo Spin 1\",\"tc\":\"\"},\"fr\":60,\"ip\":0,\"op\":60,\"w\":2400,\"h\":1000,\"nm\":\"Spin-1\",\"ddd\":0,\"assets\":[],\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":4,\"nm\":\"MotionPath Arrow_ Black 2\",\"hd\":true,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[1369.962,499.164,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[873.962,362.664,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-200.294],[200.294,0],[66.52,78.058],[0,0],[102.785,0],[0,-199.747],[-199.747,0],[-65.916,69.568],[0,0],[-99.8,0]],\"o\":[[0,200.294],[-110.595,0],[0,0],[-65.846,-68.843],[-199.747,0],[0,199.747],[103.403,0],[0,0],[65.575,-65.228],[200.294,0]],\"v\":[[1747.923,362.664],[1385.259,725.329],[1109.111,597.766],[623.075,111.719],[361.673,0],[0,361.673],[361.673,7 |
NewerOlder