Skip to content

Instantly share code, notes, and snippets.

View ryanolsonx's full-sized avatar

Ryan Olson ryanolsonx

  • SLC, UT
View GitHub Profile
@ryanolsonx
ryanolsonx / cyberpunk.json
Created February 18, 2024 04:00
Cyberpunk for Zed (Max Cyberpunk syntax mixed with Night Owl workbench)
{
"$schema": "https://zed.dev/schema/themes/v0.1.0.json",
"name": "Cyberpunk",
"author": "Ryan Olson",
"themes": [
{
"name": "Cyberpunk",
"appearance": "dark",
"style": {
"elevated_surface.background": "#011627",
@ryanolsonx
ryanolsonx / snippets.sh
Created June 13, 2022 15:31
Setup snippets
# Install brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Configure Git
git config --global user.name "Ryan Olson"
git config --global user.email rolson@aumni.fund
git config --global core.autocrlf input
touch ~/.gitignore
git config --global core.excludesFile ~/.gitignore
@ryanolsonx
ryanolsonx / install.sh
Last active June 7, 2022 14:59
Minimalist dev env
#!/usr/bin/env bash
set -e
echo 'set ai et sts=2 sw=2 dir=/tmp bdir=/tmp bs=2' > ~/.vimrc
echo 'export PATH="$PATH":"$HOME/bin"' > ~/.zshrc
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
@ryanolsonx
ryanolsonx / install.sh
Last active June 7, 2022 00:00
Bigger dev env
#!/usr/bin/env bash -e
echo "Setting up dotfiles..."
echo 'unbind C-b
set -g prefix `
bind-key ` last-window
bind-key e send-prefix
set -g default-terminal "screen-256color"
set -g escape-time 0
@ryanolsonx
ryanolsonx / install.sh
Last active June 7, 2022 14:18
Setup dev environment
#!/bin/bash -e
echo 'alias ls="ls -FA"
export EDITOR=vim
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
export PATH="$PATH":"/usr/local/bin":"$HOME/bin"' > ~/.zshrc