Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: customize for personal use #356

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
cask_args appdir: '/Applications'

tap 'homebrew/bundle'

brew 'yarn'
cask 'visual-studio-code'
cask 'iterm2'
cask 'github' # Github Desktop
brew 'gh' # Github Command Line
brew 'coreutils'
cask 'docker'
brew 'go'
brew 'jq'
brew 'wget'
brew 'ack'
cask 'google-cloud-sdk'
brew 'caddy'
cask 'keka' # File archiver for formats such as .rar, .7z
brew 'direnv' # TODO: Remove once not used in legacy

# Under consideration
# brew 'openssl'

# Usually Installed
# cask 'google-chrome'

# Personal
# brew 'youtube-dl' # Only really for personal
# cask 'caffeine' # Only really for personal
# cask 'dbvisualizer' # Use more up to date database viz
# cask 'transmission'
# cask 'plex-media-player'
# cask 'plex-media-server'
# cask 'brave-browser'
# cask 'burp-suite'
# cask 'handbrake'

# Ruby
# brew 'ruby-build'
# brew 'rbenv'
# cask 'dbvisualizer'

# Legacy
# cask 'licecap' # Replaced by Giphy Capture
# cask 'caffeine'
# cask 'postman'
# cask 'postman' # there is an app now
# cask 'protonvpn' # not the VPN I use
# cask 'spectacle' # no longer maintained
# brew 'imagemagick'
380 changes: 380 additions & 0 deletions Brewfile.lock.json

Large diffs are not rendered by default.

13 changes: 0 additions & 13 deletions bin/atom-package-install

This file was deleted.

1 change: 1 addition & 0 deletions direnv/setup.zsh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
eval "$(direnv hook zsh)"
28 changes: 27 additions & 1 deletion node/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,33 @@
#!/bin/sh

# Install NVM and then Node
if [ ! -d "$NVM_DIR" ]; then
# Install manually: https://github.com/creationix/nvm#manual-install
echo "› Installing nvm (Node Version Manager)"

export NVM_DIR="$HOME/.nvm" && (
git clone https://github.com/creationix/nvm.git "$NVM_DIR"
cd "$NVM_DIR"
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
) && \. "$NVM_DIR/nvm.sh"

echo " Installing latest Node LTS as default"
nvm install --lts
else
echo "› Upgrading NVM (Node Version Manager)"
# Upgrade manually: https://github.com/creationix/nvm#manual-upgrade
(
cd "$NVM_DIR"
git fetch --tags origin
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
) && \. "$NVM_DIR/nvm.sh"
fi

# https://www.npmjs.com/package/spoof
if test ! $(which spoof)
then
if test $(which npm)
then
sudo npm install spoof -g
fi
fi
fi
6 changes: 6 additions & 0 deletions node/path.zsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# For NVM which is needed to set Node path
# https://github.com/creationix/nvm

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
1 change: 1 addition & 0 deletions oh-my-zsh/config.zsh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ZSH_THEME="AGNOSTER"
1 change: 1 addition & 0 deletions oh-my-zsh/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
3 changes: 0 additions & 3 deletions ruby/aliases.zsh

This file was deleted.

22 changes: 0 additions & 22 deletions ruby/completion.zsh

This file was deleted.

6 changes: 0 additions & 6 deletions ruby/gemrc.symlink

This file was deleted.

48 changes: 0 additions & 48 deletions ruby/irbrc.symlink

This file was deleted.

5 changes: 0 additions & 5 deletions ruby/rbenv.zsh

This file was deleted.

6 changes: 6 additions & 0 deletions script/install
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,11 @@ set -e

cd "$(dirname $0)"/..

# Run Homebrew through the Brewfile
echo "› brew bundle"
brew bundle

echo "› Running installers"

# find the installers and run them iteratively
find . -name install.sh | while read installer ; do sh -c "${installer}" ; done
4 changes: 0 additions & 4 deletions vim/vimrc.symlink

This file was deleted.