This file contains hidden or 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
#!/usr/bin/env zsh | |
# Install xcode first and run this | |
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer | |
sudo xcode-select --reset | |
## HOMEBREW ## | |
# https://brew.sh | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
sudo mkdir /usr/local/bin |
This file contains hidden or 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
# Library/Application Support/amp/config.yml | |
# Syntax files: | |
# - https://github.com/evancz/elm-syntax-highlighting | |
# - https://github.com/sublimehq/Packages/tree/master/C%2B%2B | |
# - https://github.com/JuliaEditorSupport/Julia-sublime | |
# - https://github.com/sublimehq/Packages/tree/master/Python | |
# - https://github.com/sublimehq/Packages/tree/master/Makefile | |
tab_width: 2 | |
soft_tabs: true |
This file contains hidden or 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
# The font families to use. | |
# | |
# You can generate the list of valid values using the CLI: | |
# | |
# ghostty +list-fonts | |
# | |
# This configuration can be repeated multiple times to specify preferred | |
# fallback fonts when the requested codepoint is not available in the primary | |
# font. This is particularly useful for multiple languages, symbolic fonts, | |
# etc. |
This file contains hidden or 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
#!/usr/bin/env fish | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
sudo softwareupdate --install-rosetta --agree-to-license # to run old x86 applications | |
# brew tap riscv-software-src/riscv # needed for riscv toolchain | |
brew install --cask font-3270-nerd-font font-daddy-time-mono-nerd-font font-fairfax font-iosevka font-juliamono font-fantasque-sans-mono-nerd-font font-fira-code-nerd-font font-gentium-plus font-hack font-hasklig font-heavy-data-nerd-font font-libertinus font-monofur-nerd-font font-victor-mono-nerd-font font-ruthie | |
brew install --cask adobe-digital-editions balenaetcher combine-pdfs compositor discord folx ghostty hex-fiend ngrok ondesoft-audiobook-converter protonmail-bridge screenflow slack typora ultimate zed zoom |
This file contains hidden or 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
#!/usr/bin/env fish | |
set -l FIRST_NAME "Joshua" | |
set -l LAST_NAME "Powers" | |
set -l EMAIL "dev@powerslabs.org" | |
set -l EDITOR_ID "dev.zed.Zed" | |
set -l BRIDGE_UNAME "subs@powerslabs.org" | |
set -l BRIDGE_PASS "a4Co2uXOHM_tYzmE0dhQdg" | |
# fish.config |
This file contains hidden or 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
# You must run the following lines manually as you don't yet have the correct execution policy to run custom scripts | |
# Also before you begin this process make sure you have the microsoft build tools installed: https://aka.ms/vs/17/release/vs_BuildTools.exe | |
# You should also make sure you have registered windows and installed all updates | |
# To register new key as admin call slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX | |
# To register with key on hardware call slmgr /ato | |
winget install --id Microsoft.Powershell --source winget | |
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser |
This file contains hidden or 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 | |
set -e | |
js="elm.js" | |
min="elm.min.js" | |
elm make --optimize --output="$js" "$@" | |
uglifyjs "$js" --compress 'pure_funcs=[F2,F3,F4,F5,F6,F7,F8,F9,A2,A3,A4,A5,A6,A7,A8,A9],pure_getters,keep_fargs=false,unsafe_comps,unsafe' | uglifyjs --mangle --output "$min" |