项目作者: bcomnes

项目描述 :
perpetually fighting entropy
高级语言: Shell
项目地址: git://github.com/bcomnes/.dotfiles.git
创建时间: 2014-09-01T04:45:24Z
项目社区:https://github.com/bcomnes/.dotfiles

开源协议:

下载


Dotpiles

Thees are my dotfiles. Here is an overview:

Installing:

Run

  1. ./bootstrap/install-dotfiles.sh

to install and update dotfiles, however boot strapping is a more involved process.
See procedure.sh for a series of notes on how to do this.

Structure

  • configs: Any top level file or folder in configs is symlinked to ~/ and prefixed with a .. Any conflicts are moved to foo.bk if it is a file, or foo.symbk if its a symlink conflict. If you see conflict warnings, you should handle those sooner than later since the conflict management is backup destructive.
  • ssh: SSH is a weird beast, since its so crucial to the boostrapping process and also contains vital secrets. We symlink files from inside ssh to inside ~/.ssh/ instead of the whole folder. We also update authorized_keys from github.

Brew file

Periodically dump a brew file:

  1. cd ~/.dotfiles
  2. brew bundle dump # dump whats installed
  3. brew bundle cleanup # clean the brew file
  4. brew bundle check # check the status

To install, run:

  1. brew bundle

References

I did a few clever and simple bash things that I have found to be extremely bullet proof and simple. They have survived mostly over the course of like 4-5 installs, which is a personal record.

Unifi hostname fix

  • ssh into USG
  • remove the offending hostname from /etc/hosts with vi
  • reload dsnmasq /etc/init.d/dnsmasq force-reload