Random GitHub

Discover some random corner of GitHub you probably had no reason to ever find.

adinh

adinh/dotfiles

adinh

My dotfiles

Language Python Stars 0 Forks 0 ID 115566297 Created Updated Last push

README

Tan's dotfiles

Installation

Using Git and the bootstrap script

You can clone the repository wherever you want. (I like to keep it in ~/Projects/dotfiles, with ~/dotfiles as a symlink.) The bootstrapper script will pull in the latest version and copy the files to your home folder.

git clone https://github.com/tancnle/dotfiles.git && cd dotfiles && ./bootstrap.sh

To update, cd into your local dotfiles repository and then:

./bootstrap.sh

Alternatively, to update while avoiding the confirmation prompt:

./bootstrap.sh -f

Specify the $PATH

If ~/.path exists, it will be sourced along with the other files, before any feature testing (such as detecting which version of ls is being used) takes place.

Here’s an example ~/.path file that adds ~/utils to the $PATH:

export PATH="$HOME/utils:$PATH"

Sensible OS X defaults

When setting up a new Mac, you may want to set some sensible OS X defaults:

./.osx

Install Homebrew formulae

When setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course):

./.brew
318 visits · 112 unique visitors · 1,692 random repositories served

Use your own GitHub token

Optional. A fine-grained GitHub personal access token lets Random GitHub use your own API allowance instead of the site's shared allowance.

The token only needs Public repositories access with no additional repository or user permissions. It is kept only in the server-side session and is not persisted permanently.

Inspect token handling source Assuming this server is running the published source, of course.