Skip to content

Commit

Permalink
Merge pull request atomantic#14 from atomantic/4.4.0
Browse files Browse the repository at this point in the history
release 4.4.0
  • Loading branch information
atomantic authored Feb 10, 2017
2 parents 18c0396 + 871fbf4 commit 78dee9c
Show file tree
Hide file tree
Showing 8 changed files with 13,042 additions and 82 deletions.
13 changes: 13 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*

- [Release History](#release-history)
- [v4.4.0](#v440)
- [v4.3.0](#v430)
- [v4.2.0](#v420)
- [v4.1.1](#v411)
Expand All @@ -23,6 +24,18 @@

# Release History

## v4.4.0
* cleanup readme and alphabetize software installation for better fork management and listing
* disable vim YouCompleteMe Bundle (wasn't using it anyway and was causing installation problems on some machines)
* remove yo, generator-dockerize, box-sync from software installs
* install node stable (rather than old 4.x.x version)
* make gitshots optional (and only install `imagesnap` and `imagemagick` if this is on)
* fix passwordless sudo for Sierra (optional)
* prompt to overwrite /etc/hosts with someonewhocares.org hosts file (saved in ./configs/hosts in this project)
* fix default wallpaper in Sierra (Sierra 2)
* remove sudden motion disable (already disabled: https://github.com/mathiasbynens/dotfiles/pull/755/files)
* no longer setting hibernation mode to 0 (leaving default 3): https://github.com/mathiasbynens/dotfiles/commit/a3f91f67e07b6b31760b52320e0e890f93ff4e97#commitcomment-20715991

## v4.3.0
* vim installation fix
* Enable firewall
Expand Down
66 changes: 40 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,21 @@ You don't need to install or configure anything upfront! This works with a brand
- [Watch me run!](#watch-me-run)
- [Installation](#installation)
- [Restoring Dotfiles](#restoring-dotfiles)
- [3.0.0 Upgrade Instructions!](#300-upgrade-instructions)
- [3.x.x+ Upgrade Instructions!](#3xx-upgrade-instructions)
- [Additional](#additional)
- [VIM as IDE](#vim-as-ide)
- [Crontab](#crontab)
- [Remap Caps-Lock](#remap-caps-lock)
- [Settings](#settings)
- [Configuring General System UI/UX](#configuring-general-system-uiux)
- [Standard System Changes](#standard-system-changes)
- [SSD-specific tweaks](#ssd-specific-tweaks)
- [General System Changes](#general-system-changes)
- [Security](#security)
- [Trackpad, mouse, keyboard, Bluetooth accessories, and input](#trackpad-mouse-keyboard-bluetooth-accessories-and-input)
- [Configuring the Screen](#configuring-the-screen)
- [Finder Configs](#finder-configs)
- [Dock & Dashboard](#dock-&-dashboard)
- [Dock & Dashboard](#dock--dashboard)
- [Configuring Hot Corners](#configuring-hot-corners)
- [Configuring Safari & WebKit](#configuring-safari-&-webkit)
- [Configuring Safari & WebKit](#configuring-safari--webkit)
- [Configuring Mail](#configuring-mail)
- [Spotlight](#spotlight)
- [iTerm2](#iterm2)
Expand Down Expand Up @@ -75,22 +76,30 @@ To launch fullscreen, hit `Command + Enter` in iTerm, then use `Command + d` and

# Installation

Note: I recommend forking this repo in case you don't like anything I do and want to set your own preferences (and pull request them!)
> Note: I recommend forking this repo in case you don't like anything I do and want to set your own preferences (and pull request them!)
> REVIEW WHAT THIS SCRIPT DOES PRIOR TO RUNNING: https://github.com/atomantic/dotfiles/blob/master/install.sh#L275-L1038
> It's always a good idea to review arbitrary code from the internet before running it on your machine with sudo power!
> You are responsible for everything this script does to your machine (see LICENSE)
```bash
git clone --recurse-submodules https://github.com/atomantic/dotfiles ~/.dotfiles
cd ~/.dotfiles;
# run this using terminal (not iTerm, lest iterm settings get discarded on exit)
# run this using terminal (not iTerm, lest iTerm settings get discarded on exit)
./install.sh
```
* When it finishes, open Iterm and press `Command + ,` to open preferences. Under Profiles > Colors, select "Load Presets" and choose the `Solarized Dark Patch` scheme. If it isn't there for some reason, import it from `~/.dotfiles/configs`
* When it finishes, open Iterm and press `Command + ,` to open preferences. Under Profiles > Colors, select "Load Presets" and choose the `Solarized Dark Patch` scheme. If it isn't there for some reason, import it from `~/.dotfiles/configs` -- you may also need to select the `Hack` font and check the box for non-ascii font and set to `Roboto Mono For Powerline` (I've had mixed results for automating these settings--love a pull request that improves this)
* I've also found that you need to reboot before fast key repeat will be enabled

> Note: running install.sh is idempotent. You can run it again and again as you add new features or software to the scripts! I'll regularly add new configurations so keep an eye on this repo as it grows and optimizes.
## Restoring Dotfiles

If you have existing dotfiles for configuring git, zsh, vim, etc, these will be backed-up into `~/.dotfiles_backup/$(date +"%Y.%m.%d.%H.%M.%S")` and replaced with the files from this project. You can restore your original dotfiles by using `./restore.sh $RESTOREDATE` where `$RESTOREDATE` is the date folder name you want to restore.

> The restore script does not currently restore system settings--only your original dotfiles. To restore system settings, you'll need to manually undo what you don't like (so don't forget to fork, review, tweak)

# 3.x.x+ Upgrade Instructions!

`3.0.0` brings huge changes. If you have made any modifications (and didn't make your own fork), you will want to backup your dotfiles prior to running `git-up` or `git pull` on `~/.dotfiles`.
Expand All @@ -108,7 +117,7 @@ Do the following to upgrade your ~/.dotfiles safely:
# Additional

## VIM as IDE
I am moving away from using `Atom` and instead using `vim` as my IDE. I use Vundle to manage vim plugins (instead of pathogen). Vundle is better in many ways and is compatible with pathogen plugins. Additionally, vundle will manage and install it's own plugins so we don't have to use git submodules for all of them.
I am moving away from using `Atom` and instead using `vim` as my IDE. I use Vundle to manage vim plugins (instead of pathogen). Vundle is better in many ways and is compatible with pathogen plugins. Additionally, vundle will manage and install its own plugins so we don't have to use git submodules for all of them.

## Crontab
You can `cron ~/.crontab` if you want to add my nightly cron software updates.
Expand All @@ -123,16 +132,19 @@ You can `cron ~/.crontab` if you want to add my nightly cron software updates.
This project changes a number of settings and configures software on MacOS.
Here is the current list:

## Configuring General System UI/UX
## Prompt Driven Configuration
The following will only happen if you agree on the prompt
- install a gitshots script to take a photo using your camera on every git commit (these go in as a post-commit hook to your .git_template)
- overwrite your /etc/hosts file with a copy from someonewhocares.org (see ./configs/hosts for the file that will be used)
- replace the system wallpaper with `img/wallpaper.jpg`

## SSD-specific tweaks
- Disable local Time Machine snapshots
- Disable hibernation (speeds up entering sleep mode)
- Remove the sleep image file to save disk space
- Set a custom wallpaper image

## Standard System Changes
## General System Changes
- always boot in verbose mode (not MacOS GUI mode)
- allow 'locate' command
- Set standby delay to 24 hours (default is 1 hour)
- Disable the sound effects on boot
- Menu bar: disable transparency
- Menu bar: hide the Time Machine, Volume, User, and Bluetooth icons
Expand All @@ -142,6 +154,8 @@ Here is the current list:
- Increase window resize speed for Cocoa applications
- Expand save panel by default
- Expand print panel by default
- allow 'locate' command
- Set standby delay to 24 hours (default is 1 hour)
- Save to disk (not to iCloud) by default
- Automatically quit printer app once the print jobs complete
- Disable the “Are you sure you want to open this application?” dialog
Expand All @@ -164,7 +178,6 @@ Here is the current list:
- Disable remote apple events
- Disable wake-on modem
- Disable wake-on LAN
- Disable file-sharing via AFP or SMB
- Disable guest account login

## Trackpad, mouse, keyboard, Bluetooth accessories, and input
Expand Down Expand Up @@ -305,27 +318,29 @@ Here is the current list:

# Software Installation

homebrew, fontconfig, git, ruby, nvm (node + npm), and zsh (latest) are all installed inside the `install.sh` as foundational software for running this project.
Additional software is configured in `config.js` and can be customized in your own fork/branch.
homebrew, fontconfig, git, ruby (latest), nvm (node + npm), and zsh (latest) are all installed inside the `install.sh` as foundational software for running this project.
Additional software is configured in `config.js` and can be customized in your own fork/branch (you can change everything in your own fork/brance).
The following is the software that I have set as default:

## Utilities

* coreutils
* moreutils
* findutils
* ack
* ag
* coreutils
* dos2unix
* findutils
* fortune
* gawk
* gifsicle
* gnupg
* gnu-sed
* homebrew/dupes/grep
* imagemagick
* imagesnap
* httpie
* imagemagick (only if gitshots enabled)
* imagesnap (only if gitshots enabled)
* jq
* mas
* moreutils
* nmap
* openconnect
* reattach-to-user-namespace
Expand All @@ -339,25 +354,24 @@ The following is the software that I have set as default:

## Apps
* box-sync
* slack
* gpgtools
* iterm2
* sizeup
* slack
* the-unarchiver
* xquartz

## NPM Global Modules

* antic
* buzzphrase
* esformatter
* eslint
* generator-dockerize
* gulp
* instant-markdown-d
* npm-check
* prettyjson
* trash
* vtop
* yo

## Ruby Gems
* git-up
Expand Down
12 changes: 4 additions & 8 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ module.exports = {
// http://conqueringthecommandline.com/book/ack_ag
'ack',
'ag',
// cmake is required to compile vim bundle YouCompleteMe
'cmake',
// Install GNU core utilities (those that come with OS X are outdated)
// Don’t forget to add `$(brew --prefix coreutils)/libexec/gnubin` to `$PATH`.
'coreutils',
Expand All @@ -23,8 +21,6 @@ module.exports = {
'homebrew/dupes/grep',
// https://github.com/jkbrzt/httpie
'httpie',
'imagemagick',
'imagesnap',
// jq is a sort of JSON grep
'jq',
// Mac App Store CLI: https://github.com/mas-cli/mas
Expand All @@ -49,7 +45,7 @@ module.exports = {
//'adium',
//'amazon-cloud-drive',
//'atom',
'box-sync',
// 'box-sync',
//'comicbooklover',
//'diffmerge',
//'dropbox',
Expand Down Expand Up @@ -77,12 +73,12 @@ module.exports = {
'buzzphrase',
'eslint',
'instant-markdown-d',
'npm-check',
'yo',
'generator-dockerize',
// 'generator-dockerize',
'gulp',
'npm-check',
'prettyjson',
'trash',
'vtop'
// ,'yo'
]
};
Loading

0 comments on commit 78dee9c

Please sign in to comment.