An open API service indexing awesome lists of open source software.

https://github.com/benct/dotfiles

Personal dotfiles for various applications, configurations and things.
https://github.com/benct/dotfiles

dotfiles

Last synced: 3 months ago
JSON representation

Personal dotfiles for various applications, configurations and things.

Awesome Lists containing this project

README

          

# .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.
```bash
git clone https://github.com/benct/dotfiles.git && cd dotfiles
cp .* ~/
source ~/.bash_profile
```

Set up macos defaults:
```bash
source ~/.macos
```

## Mac Setup

### Install
```bash
# 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

# Other
brew install wget
brew install direnv
brew install sshuttle
```

### Update
```bash
# Update App Store apps
sudo softwareupdate -i -a

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

## Useful(?) stuff

### General
```bash
find .
find ~/ |grep something

ps aux |grep something

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

### Git
```bash
git log
git show
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 ""
git push origin
```