benct / dotfiles

Personal dotfiles for various applications, configurations and things.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.files

Personal dotfiles for various applications, configurations and whatever.

Installation

Clone the repository, copy the necessary files to your $HOME folder and run the source command.

git clone https://github.com/benct/dotfiles.git && cd dotfiles
cp .* ~/
source ~/.bash_profile

Set up macos defaults:

source ~/.macos

Mac Setup

Install

# Bash
brew install bash
chsh -s /bin/bash

# Java
brew tap AdoptOpenJDK/openjdk
brew cask install adoptopenjdk14

# Docker
brew cask install docker
docker login -u $ARTIFACTORY_USER -p $ARTIFACTORY_PWD containers.schibsted.io

# NVM
brew install nvm
mkdir ~/.nvm
nvm install <version>

# Other
brew install wget
brew install direnv
brew install sshuttle

Update

# Update App Store apps
sudo softwareupdate -i -a

# Update Homebrew (Cask) & packages
brew update
brew upgrade

Useful(?) stuff

General

find .
find ~/ |grep something

ps aux |grep something

kill -9 <process>
kill $(ps aux | grep something | awk '{print $2}')

Git

git log
git show <hash>
git diff HEAD~1
git clean -dfx

git config --list --local
git config user.email "ben@tomlin.no"
git config user.name "benct"

git pull
git checkout -b "<branch>"
git push origin <branch>

About

Personal dotfiles for various applications, configurations and things.


Languages

Language:Shell 100.0%