@neogeek's dotfiles
MIT License
@neogeek's dotfiles
You can store this repo in any directory you choose (I keep it with the rest of my git related projects in ~/git/github/
). Running the following command will pull the latest version of the dotfiles repo into a new folder and add a line to your ~/.bash_profile
.
$ git clone https://github.com/neogeek/dotfiles.git && cd dotfiles && source bootstrap.sh
You can update the dotfiles at any time using the following command. It will pull any new updates from the repo and update the line in ~/.bash_profile
to the latest.
$ update.sh
Show contents of current directory as a list with color.
$ ls
Run a python server with the static files in the current directory. Port defaults to 8000.
$ pyserver <port>
$ npmplease
$ python
$ pip
$ git b
$ git bb
$ git l
$ git r
$ git sub
You can install and update brew and listed dependencies using the following command.
$ brew.sh
$ cask.sh
You can install and update rbenv and listed dependencies using the following command.
$ gem.sh
You can install and update npm listed dependencies using the following command.
$ npm.sh
You can set common default OS X preferences with the following command.
$ osx.sh
Compile a C++ file, execute, and then delete the compiled binary.
$ cpprun main.cpp
Make a new Node.js project using the repo located at https://github.com/neogeek/nodejs-starter-kit.
$ create-nodejs-starter-kit <name>
Make a new React.js project using the repo located at https://github.com/neogeek/reactjs-starter-kit.
$ create-reactjs-starter-kit <name>
Hard reset a git repo, maintaining the remote git URL.
$ gitplease
Shutdown process associated with port
$ portplease 6006
Clear all postmaster.pid files
$ postgresplease
Rebuild Spotlight index
$ rebuildspotlight
Remove BOM (Byte order mark) character from file
$ removebom file.txt
Restarts the Mac Touchbar
$ restarttouchbar
Generate a random hash using shasum -a 256
.
$ rhash
Initializes a new git project with a Godot specific .gitignore
$ setupgodot
Initializes a new git project with a Unity specific .gitignore
$ setupunity
Initializes a new git project with a Unreal specific .gitignore
$ setupunreal