jasonyao / deprecated-dotfiles Goto Github PK
View Code? Open in Web Editor NEWDotfiles to run upon a clean install of a system
License: GNU General Public License v3.0
Dotfiles to run upon a clean install of a system
License: GNU General Public License v3.0
Language added all Traditional Chinese inputs, but should have only added pinyin and handwriting.
It also removed US as a valid keyboard input, so it had t be manually re-added.
Basically stick:
Host *
ServerAliveInterval 60
into ~/.ssh/config
if it isn't there already
xcode-select -p
Jasons-MacBook-Pro:.dotfiles jason$ ./start
Password:
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
[FAIL] Xcode: Command-line tools failed to be installed
Jasons-MacBook-Pro:.dotfiles jason$ ./start
Password:
[ OK ] Xcode: Command-line tools successfully installed
[ OK ] Initial Install: Dotfiles are already installed
[ .. ] OS: MacOS was detected, running MacOS setup script now
[ .. ] Installing dotfiles
[ OK ] Linked /Users/jason/.dotfiles/osx/bash_profile.symlink to /Users/jason/.bash_profile
[ OK ] Linked /Users/jason/.dotfiles/unix/profile.symlink to /Users/jason/.profile
[ OK ] Linked /Users/jason/.dotfiles/common/gitconfig.symlink to /Users/jason/.gitconfig
[ OK ] Linked /Users/jason/.dotfiles/common/servers.symlink to /Users/jason/.servers
[ OK ] Linked /Users/jason/.dotfiles/common/colour.symlink to /Users/jason/.colour
[ OK ] Linked /Users/jason/.dotfiles/common/specific.symlink to /Users/jason/.specific
[ OK ] Linked /Users/jason/.dotfiles/common/iterm2_shell_integration.bash.symlink to /Users/jason/.iterm2_shell_integration.bash
[ OK ] Linked /Users/jason/.dotfiles/common/vimrc.symlink to /Users/jason/.vimrc
[ OK ] Linked /Users/jason/.dotfiles/common/motd.symlink to /Users/jason/.motd
[ OK ] Linked /Users/jason/.dotfiles/common/inputrc.symlink to /Users/jason/.inputrc
[ OK ] Linked /Users/jason/.dotfiles/common/bashrc.symlink to /Users/jason/.bashrc
[ OK ] Linked /Users/jason/.dotfiles/common/env.symlink to /Users/jason/.env
[ OK ] Linked /Users/jason/.dotfiles/common/utilities.symlink to /Users/jason/.utilities
[ OK ] MotD: Symlink is now installed
[ OK ] Keyboard: Press & hold is now disabled
[ OK ] Keyboard: 0-delay key repeat is now enabled
[ OK ] Keyboard: 0-delay initial key repeat is now enabled
[ OK ] Finder: Show hard drives on desktop is now enabled
[ OK ] Finder: Show external hard drives on desktop is already enabled
[ OK ] Finder: Show removable media on desktop is already been enabled
[ OK ] Battery: Show percent battery is now enabled
[ OK ] Trackpad: Tracking speed is now set to max
[ OK ] Trackpad: Natural scrolling is now disabled
[ OK ] Trackpad: Show app expose gesture is now enabled
[ OK ] iCloud: Default save location is now set to the local drive
[ OK ] iCloud: .DS_Store file writing is now disabled on network drives
[ .. ] Dock: Recent applications stack is not installed, installing now
[ OK ] Dock: Recent applications stack is now installed
[ .. ] Dock: Autohiding is not enabled, enabling now
[ OK ] Dock: Autohiding is now enabled
[ .. ] Dock: Magnification is not enabled, enabling now
[ OK ] Dock: Magnification is now enabled
[ .. ] Dock: Tilesize is not correctly set
[ OK ] Dock: Tilesize is now correctly set
[ .. ] Dock: Magnification tilesize is not correctly set
[ OK ] Dock: Magnification tilesize is now correctly set
[ OK ] Dock: Recent applications stack is already installed
[ .. ] Dock: Contains non-default applications, killing off now
[ OK ] Dock: All non-default applications are now sanitised
[ .. ] Dock: Checking for all default app existences
2017-11-25 12:43:50.824 defaults[1228:46584]
The domain/default pair of (com.apple.Dock, persistent-apps) does not exist
[ .. ] Dock: Launchpad is not set on the dock, setting now
[ OK ] Dock: Launchpad is now set on the dock
[ .. ] Dock: Notes is not set on the dock, setting now
[ OK ] Dock: Notes is now set on the dock
[ .. ] Dock: iTunes is not set on the dock, setting now
[ OK ] Dock: iTunes is now set on the dock
[ .. ] Dock: App Store is not set on the dock, setting now
[ OK ] Dock: App Store is now set on the dock
[ .. ] Dock: System Preferences is not set on the dock, setting now
[ OK ] Dock: System Preferences is now set on the dock
[ .. ] Dock: Firefox is not set on the dock, setting now
[ OK ] Dock: Firefox is now set on the dock
[ OK ] Dock: All default apps are in place
[ .. ] Dock: Application folder not found, adding now
[ .. ] Dock: Applications folder is not set on the dock, setting now
[ OK ] Dock: Applications folder is now set on the dock
[ OK ] Bluetooth: BT is now disabled
No matching processes belonging to you were found
/System/Library/LaunchDaemons/com.apple.blued.plist: No such file or directory
/System/Library/LaunchDaemons/com.apple.blued.plist: No such file or directory
[WARN] User: Guest account disabling is currently disabled for Sierra+ until bugfixed
2017-11-25 12:43:51.180 defaults[1269:46717]
The domain/default pair of (com.apple.HIToolbox.plist, AppleEnabledInputSources) does not exist
[ .. ] Languages: Adding Mandarin Pinyin input
[ OK ] Languages: Traditional Chinese input via pinyin is now installed
[ .. ] Languages: Traditional Chinese input via hand writing is not installed, installing now
[ OK ] Languages: Traditional Chinese input via hand writing is now installed
[ .. ] Languages: Adding US keyboard input
[ OK ] Languages: Traditional Chinese input via pinyin is now installed
[ .. ] Languages: Text input switcher is not enabled, enabling now
[ OK ] Languages: Text input switcher is now enabled
[WARN] Theme: Dark mode is now enabled, but requires a re-login for the menubar to reset
No matching processes belonging to you were found
[ OK ] Spotlight: External disk indexing is now disabled
[ OK ] Spotlight: Bootcamp partition has been excluded from normal indexing
[ OK ] Mission Control: Automatic rearranging spaces is now disabled
[ OK ] Firewall: Successfully set default to deny incoming traffic
[ OK ] Firewall: Stealth mode has already been set
[ OK ] Firewall: Traffic logging has already been set
[ OK ] Firewall: Firewall has already been set
[ OK ] Firewall: Allowing signed binaries has already been set
[ OK ] OSX: Sane defaults installed
[ .. ] Homebrew: Checking brew status
[ .. ] Homebrew: Not found, installing now
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The following new directories will be created:
/usr/local/Cellar
/usr/local/Homebrew
/usr/local/Frameworks
/usr/local/bin
/usr/local/etc
/usr/local/include
/usr/local/lib
/usr/local/opt
/usr/local/sbin
/usr/local/share
/usr/local/share/zsh
/usr/local/share/zsh/site-functions
/usr/local/var
==> /usr/bin/sudo /bin/mkdir -p /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var
==> /usr/bin/sudo /bin/chmod 755 /usr/local/share/zsh /usr/local/share/zsh/site-functions
==> /usr/bin/sudo /usr/sbin/chown jason /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var
==> /usr/bin/sudo /bin/mkdir -p /Users/jason/Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Users/jason/Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown jason /Users/jason/Library/Caches/Homebrew
==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown jason /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
remote: Counting objects: 94457, done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 94457 (delta 18), reused 28 (delta 13), pack-reused 94413
Receiving objects: 100% (94457/94457), 21.61 MiB | 13.48 MiB/s, done.
Resolving deltas: 100% (68572/68572), done.
From https://github.com/Homebrew/brew
* [new branch] master -> origin/master
* [new tag] 0.1 -> 0.1
* [new tag] 0.2 -> 0.2
* [new tag] 0.3 -> 0.3
* [new tag] 0.4 -> 0.4
* [new tag] 0.5 -> 0.5
* [new tag] 0.6 -> 0.6
* [new tag] 0.7 -> 0.7
* [new tag] 0.7.1 -> 0.7.1
* [new tag] 0.8 -> 0.8
* [new tag] 0.8.1 -> 0.8.1
* [new tag] 0.9 -> 0.9
* [new tag] 0.9.1 -> 0.9.1
* [new tag] 0.9.2 -> 0.9.2
* [new tag] 0.9.3 -> 0.9.3
* [new tag] 0.9.4 -> 0.9.4
* [new tag] 0.9.5 -> 0.9.5
* [new tag] 0.9.8 -> 0.9.8
* [new tag] 0.9.9 -> 0.9.9
* [new tag] 1.0.0 -> 1.0.0
* [new tag] 1.0.1 -> 1.0.1
* [new tag] 1.0.2 -> 1.0.2
* [new tag] 1.0.3 -> 1.0.3
* [new tag] 1.0.4 -> 1.0.4
* [new tag] 1.0.5 -> 1.0.5
* [new tag] 1.0.6 -> 1.0.6
* [new tag] 1.0.7 -> 1.0.7
* [new tag] 1.0.8 -> 1.0.8
* [new tag] 1.0.9 -> 1.0.9
* [new tag] 1.1.0 -> 1.1.0
* [new tag] 1.1.1 -> 1.1.1
* [new tag] 1.1.10 -> 1.1.10
* [new tag] 1.1.11 -> 1.1.11
* [new tag] 1.1.12 -> 1.1.12
* [new tag] 1.1.13 -> 1.1.13
* [new tag] 1.1.2 -> 1.1.2
* [new tag] 1.1.3 -> 1.1.3
* [new tag] 1.1.4 -> 1.1.4
* [new tag] 1.1.5 -> 1.1.5
* [new tag] 1.1.6 -> 1.1.6
* [new tag] 1.1.7 -> 1.1.7
* [new tag] 1.1.8 -> 1.1.8
* [new tag] 1.1.9 -> 1.1.9
* [new tag] 1.2.0 -> 1.2.0
* [new tag] 1.2.1 -> 1.2.1
* [new tag] 1.2.2 -> 1.2.2
* [new tag] 1.2.3 -> 1.2.3
* [new tag] 1.2.4 -> 1.2.4
* [new tag] 1.2.5 -> 1.2.5
* [new tag] 1.2.6 -> 1.2.6
* [new tag] 1.3.0 -> 1.3.0
* [new tag] 1.3.1 -> 1.3.1
* [new tag] 1.3.2 -> 1.3.2
* [new tag] 1.3.3 -> 1.3.3
* [new tag] 1.3.4 -> 1.3.4
* [new tag] 1.3.5 -> 1.3.5
* [new tag] 1.3.6 -> 1.3.6
* [new tag] 1.3.7 -> 1.3.7
* [new tag] 1.3.8 -> 1.3.8
HEAD is now at 86305f7d8 Merge pull request #3470 from sjackman/analytics
==> Tapping homebrew/core
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...
remote: Counting objects: 4642, done.
remote: Compressing objects: 100% (4422/4422), done.
remote: Total 4642 (delta 36), reused 322 (delta 10), pack-reused 0
Receiving objects: 100% (4642/4642), 3.83 MiB | 14.33 MiB/s, done.
Resolving deltas: 100% (36/36), done.
Tapped 4417 formulae (4,689 files, 12.0MB)
==> Cleaning up /Library/Caches/Homebrew...
==> Migrating /Library/Caches/Homebrew to /Users/jason/Library/Caches/Homebrew..
==> Deleting /Library/Caches/Homebrew...
Already up-to-date.
==> Installation successful!
==> Homebrew has enabled anonymous aggregate user behaviour analytics.
Read the analytics documentation (and how to opt-out) here:
https://docs.brew.sh/Analytics.html
==> Next steps:
- Run `brew help` to get started
- Further documentation:
https://docs.brew.sh
[ OK ] Homebrew: Package manager is now successfully installed
[ .. ] Homebrew: Installing latest bash now
==> Installing dependencies for bash: readline
==> Installing bash dependency: readline
==> Downloading https://homebrew.bintray.com/bottles/readline-7.0.3_1.high_sierr
######################################################################## 100.0%
==> Pouring readline-7.0.3_1.high_sierra.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only..
For compilers to find this software you may need to set:
LDFLAGS: -L/usr/local/opt/readline/lib
CPPFLAGS: -I/usr/local/opt/readline/include
==> Summary
๐บ /usr/local/Cellar/readline/7.0.3_1: 46 files, 1.5MB
==> Installing bash
==> Downloading https://homebrew.bintray.com/bottles/bash-4.4.12.high_sierra.bot
######################################################################## 100.0%
==> Pouring bash-4.4.12.high_sierra.bottle.tar.gz
==> Caveats
In order to use this build of bash as your login shell,
it must be added to /etc/shells.
==> Summary
๐บ /usr/local/Cellar/bash/4.4.12: 146 files, 8.8MB
[ OK ] Homebrew: Latest bash is now installed
[ .. ] Homebrew: Checking dependencies status
[ .. ] Homebrew: Updating brews now
Already up-to-date.
[ OK ] Homebrew: Brews have been updated
[ .. ] Homebrew: Upgrading brews now
[ OK ] Homebrew: Brews have been upgraded
[ .. ] Homebrew: Checking installed packages
[ .. ] Homebrew: Package coreutils has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
==> Tapping homebrew/dupes
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-dupes'...
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 0), reused 3 (delta 0), pack-reused 0
Unpacking objects: 100% (5/5), done.
Tapped 0 formulae (30 files, 23.5KB)
[ OK ] Homebrew: Package coreutils is now installed
[ .. ] Homebrew: Package wget has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package wget is now installed
[ .. ] Homebrew: Package autoconf has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package autoconf is now installed
[ .. ] Homebrew: Package automake has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package automake is now installed
[ OK ] Homebrew: Package make is already installed
[ .. ] Homebrew: Package nano has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package nano is now installed
[ OK ] Homebrew: Package openssl is already installed
[ .. ] Homebrew: Package pyenv has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package pyenv is now installed
[ .. ] Homebrew: Package pyenv-virtualenv has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package pyenv-virtualenv is now installed
[ .. ] Homebrew: Package jenv has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package jenv is now installed
[ .. ] Homebrew: Package mmv has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package mmv is now installed
[ .. ] Homebrew: Package cmake has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package cmake is now installed
[ .. ] Homebrew: Package rbenv has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package rbenv is now installed
[ OK ] Homebrew: Package bash is already installed
[ OK ] Homebrew: Package readline is already installed
[ .. ] Homebrew: Package diff-so-fancy has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package diff-so-fancy is now installed
[ .. ] Homebrew: Package unrar has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package unrar is now installed
[ .. ] Homebrew: Package grep has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package grep is now installed
[ .. ] Homebrew: Package gnu-tar has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package gnu-tar is now installed
[ .. ] Homebrew: Package gnu-sed has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package gnu-sed is now installed
[ .. ] Homebrew: Package gawk has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package gawk is now installed
[ .. ] Homebrew: Package gzip has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package gzip is now installed
[ .. ] Homebrew: Package shellcheck has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package shellcheck is now installed
[ .. ] Homebrew: Package vim has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package vim is now installed
[ .. ] Homebrew: Package node has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package node is now installed
[ .. ] Homebrew: Package tree has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package tree is now installed
[ .. ] Homebrew: Package nmap has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package nmap is now installed
[ .. ] Homebrew: Package tmux has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package tmux is now installed
[ .. ] Homebrew: Package go has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package go is now installed
[ .. ] Homebrew: Package curl has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package curl is now installed
[ .. ] Homebrew: Package webp has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew: Package webp is now installed
[ OK ] Homebrew: All dependencies are installed
[ .. ] Homebrew Casks: Checking cask applications status
[ .. ] Homebrew Casks: Updating brews now
Already up-to-date.
[ OK ] Homebrew Casks: Brews have been updated
[ .. ] Homebrew Casks: Checking application statuses
Cloning into '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask'...
remote: Counting objects: 3938, done.
remote: Compressing objects: 100% (3898/3898), done.
remote: Total 3938 (delta 47), reused 520 (delta 36), pack-reused 0
Receiving objects: 100% (3938/3938), 1.34 MiB | 12.84 MiB/s, done.
Resolving deltas: 100% (47/47), done.
Password:
[ .. ] Homebrew-Cask: Application smcfancontrol has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew Casks: Application smcfancontrol is now installed
[ .. ] Homebrew-Cask: Application synergy has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew Casks: Application synergy is now installed
[ .. ] Homebrew-Cask: Application filezilla has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew Casks: Application filezilla is now installed
[ .. ] Homebrew-Cask: Application torguard has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew Casks: Application torguard is now installed
[ .. ] Homebrew-Cask: Application flux has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew Casks: Application flux is now installed
[ .. ] Homebrew-Cask: Application little-snitch has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew Casks: Application little-snitch is now installed
[ .. ] Homebrew-Cask: Application micro-snitch has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew Casks: Application micro-snitch is now installed
[ .. ] Homebrew-Cask: Application atom has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew Casks: Application atom is now installed
[ .. ] Homebrew-Cask: Application jetbrains-toolbox has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew Casks: Application jetbrains-toolbox is now installed
[ .. ] Homebrew-Cask: Application google-chrome has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew Casks: Application google-chrome is now installed
[ .. ] Homebrew-Cask: Application firefox has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew Casks: Application firefox is now installed
[ .. ] Homebrew-Cask: Application vlc has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew Casks: Application vlc is now installed
[ .. ] Homebrew-Cask: Application qbittorrent has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew Casks: Application qbittorrent is now installed
[ .. ] Homebrew-Cask: Application mactex has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
Password:
[ OK ] Homebrew Casks: Application mactex is now installed
[ .. ] Homebrew-Cask: Application texmaker has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew Casks: Application texmaker is now installed
[ .. ] Homebrew-Cask: Application discord has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
[ OK ] Homebrew Casks: Application discord is now installed
[ .. ] Homebrew-Cask: Application java has not been installed yet, installing now
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
Password:
[ OK ] Homebrew Casks: Application java is now installed
[ OK ] Homebrew Casks: All cask applications are installed
[ .. ] Dev Environment: Checking environment status
[ .. ] Pyenv: Python version 3.6.1 is not installed yet, installing now
[ .. ] Pyenv: Checking for python version 3.6.1
[ OK ] Pyenv: Python version 3.6.1 was found
[ .. ] Pyenv: Attempting normal install
[WARN] Pyenv: Python version 3.6.1 failed to install, attempting to run with CFlags
[FAIL] Pyenv: Python version 3.6.1 failed to install
[FAIL] Dev Environment: Failed to install some environments correctly
[FAIL] MacOS: Some MacOS-specific configurations failed to be set
[FAIL] Initial Install: Dotfiles failed to be configured, please try again
Jasons-MacBook-Pro:.dotfiles jason$ pyenv which
Usage: pyenv which <command>
Jasons-MacBook-Pro:.dotfiles jason$ pyenv versions
* system (set by /Users/jason/.pyenv/version)
Jasons-MacBook-Pro:.dotfiles jason$ pyenv install 3.6.3
Downloading Python-3.6.3.tgz...
-> https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz
Installing Python-3.6.3...
BUILD FAILED (OS X 10.13.1 using python-build 20160602)
Inspect or clean up the working tree at /var/folders/40/v1mw8_jj3g3gjfsnnm2_pn080000gn/T/python-build.20171125132958.5530
Results logged to /var/folders/40/v1mw8_jj3g3gjfsnnm2_pn080000gn/T/python-build.20171125132958.5530.log
Last 10 log lines:
File "/private/var/folders/40/v1mw8_jj3g3gjfsnnm2_pn080000gn/T/python-build.20171125132958.5530/Python-3.6.3/Lib/ensurepip/__main__.py", line 4, in <module>
ensurepip._main()
File "/private/var/folders/40/v1mw8_jj3g3gjfsnnm2_pn080000gn/T/python-build.20171125132958.5530/Python-3.6.3/Lib/ensurepip/__init__.py", line 189, in _main
default_pip=args.default_pip,
File "/private/var/folders/40/v1mw8_jj3g3gjfsnnm2_pn080000gn/T/python-build.20171125132958.5530/Python-3.6.3/Lib/ensurepip/__init__.py", line 102, in bootstrap
_run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
File "/private/var/folders/40/v1mw8_jj3g3gjfsnnm2_pn080000gn/T/python-build.20171125132958.5530/Python-3.6.3/Lib/ensurepip/__init__.py", line 27, in _run_pip
import pip
zipimport.ZipImportError: can't decompress data; zlib not available
make: *** [install] Error 1
Jasons-MacBook-Pro:.dotfiles jason$
Automatically add
[ OK ] All unnecessary packages removed
grep: root: No such file or directory
grep: daemon: No such file or directory
grep: bin: No such file or directory
grep: sys: No such file or directory
grep: sync: No such file or directory
grep: games: No such file or directory
grep: man: No such file or directory
grep: lp: No such file or directory
grep: mail: No such file or directory
grep: news: No such file or directory
grep: uucp: No such file or directory
grep: proxy: No such file or directory
grep: www-data: No such file or directory
grep: backup: No such file or directory
grep: list: No such file or directory
grep: irc: No such file or directory
grep: gnats: No such file or directory
grep: nobody: No such file or directory
grep: systemd-timesync: No such file or directory
grep: systemd-network: No such file or directory
grep: systemd-resolve: No such file or directory
grep: systemd-bus-proxy: No such file or directory
grep: syslog: No such file or directory
grep: _apt: No such file or directory
grep: messagebus: No such file or directory
grep: lxd: No such file or directory
grep: dnsmasq: No such file or directory
grep: sshd: No such file or directory
grep: pollinate: No such file or directory
grep: uuidd: No such file or directory
[ OK ] Created user jason
[ OK ] User jason has been added to the sudo group
Make it so that the computer never turns off on battery or on charge
Setup nano settings:
colour syntax for C, java, python, sh on both OSX and unix
I'll stick the new code in a new repo and mark this one as deprecated when I'm done.
Basically, this is to list out what I'm trying to do for my new set of dotfiles
With that in mind, one way to do it would be as a python package that I'd publish to pypi. It'd have the extra benefit of teaching me everything i need to publish my own python libraries in general, and have it be widely available whenever I need it.
The question really is what to do about applications and libraries that need to be installed. Possible way to break it down:
Commands to contain:
~/.dotfiles/config.ini
init
bash script. This should install the bare basics that only need to be installed once (x-code tools, brew, etc.). After setting up foundational stuff, it should install the modern-dotfiles
(or whatever the python package is called) into the laptop-3.6.3
pyenv environment, and then call dotfiles install --all
[OSX] Homebrew
[OSX] add to the sidebar:
com.apple.finder
nor com.apple.sidebarlists
, since .finder keeps a list of ALL
drives that've been opened before, and appears to be using actual x- and y-positions. This means insertion/deletion of folders does not appear possible programmatically in a non-fugly way.Currently the dotfiles assumes any unix environment is a server, which is incorrect. CIMS is an example of a foreign unix environment that I can't use any server change commands to. Thus, comes the need to refactor.
This one is split into osx and unix.
This one is just currently unix, though if .NET becomes a thing for me (so far it's just ewww), then I'll add that in later.
Same command with differing number of flags.
1st flag: username
2nd flag: password
3rd flag: isServer
// iff 1 argument: isServer
if [ "$#" == 1 ];
// iff 2 arguments: setting up a new user with the passed in password (unix)
if [ "$#" == 2 ];
// iff 3 arguments: Set up a new user with the passed in password, and setup secure server defaults (unix)
if [ "$#" == 3 ];
Spotlight doesn't actually add the bootcamp partition to its ignore list of things to ignore while indexing.
The normal osascript to create only the number of spaces that is input is buggy, and will instead create an infinite amount of spaces
osx required new bash before running due to associative arrays, so do a check first
Use git hooks to download, install, and run a vagrant environment for testing, or using Travis CI.
Should be easy to test on Ubuntu 16.04, though testing on OS X would have to stay manual
End user use case should be able to run the following commands globally:
dot
dot help
dot -h
Displays a help menu showing the available commands
dot update
Updates the dotfiles to the latest version
dot upgrade
Upgrades the dotfiles to the latest version
dot -v
dot version
Displays the dotfiles version
Have the dotfiles automatically set my DNS to point to 8.8.8.8
and 8.8.4.4
, and have search point to .local
You can provide them in /Users/jyao/.stack/config.yaml, like this:
templates:
params:
author-email: value
author-name: value
category: value
copyright: value
github-username: value
brew install gpg
Based off of the dot-unix file, will need to automate setup based off of systemd (ubuntu 15.10 & above), in preparation for ubuntu server 16.04 release on 21st April, 2016.
For testing purposes, utilise the 15.10 since it also utilises systemd for pid 1.
Bluetooth isn't actually turned off
Add bluetooth icon to the menu bar
2016-10-13 09:45:29.401 defaults[53585:459334]
Domain -g ApplePressAndHoldEnabled does not exist
[ OK ] Keyboard: Press & hold has been disabled
2016-10-13 09:45:29.448 defaults[53587:459352]
Domain NSGlobalDomain KeyRepeat does not exist
[ OK ] Keyboard: 0-delay key repeat has been enabled
2016-10-13 09:45:29.493 defaults[53589:459363]
Domain NSGlobalDomain InitialKeyRepeat does not exist
[ OK ] Keyboard: 0-delay initial key repeat is now enabled
2016-10-13 09:45:29.540 defaults[53591:459371]
Domain com.apple.finder ShowHardDrivesOnDesktop does not exist
[ OK ] Finder: Show hard drives on desktop is now enabled
2016-10-13 09:45:29.614 defaults[53593:459380]
Domain com.apple.finder ShowExternalHardDrivesOnDesktop does not exist
[ OK ] Finder: Show external hard drives on desktop is now enabled
2016-10-13 09:45:29.692 defaults[53595:459388]
Domain com.apple.finder ShowRemovableMediaOnDesktop does not exist
[ OK ] Finder: Show removable media on desktop is now enabled
2016-10-13 09:45:29.764 defaults[53597:459396]
Domain com.apple.finder EmptyTrashSecurely does not exist
[ OK ] Finder: Secure trash delete is now enabled
2016-10-13 09:45:29.840 defaults[53599:459404]
Domain com.apple.menuextra.battery ShowPercent does not exist
[ OK ] Battery: Show percent battery is now enabled
2016-10-13 09:45:29.910 defaults[53601:459412]
Domain -g com.apple.trackpad.scaling does not exist
[ OK ] Trackpad: Tracking speed is now set to max
2016-10-13 09:45:29.960 defaults[53603:459420]
Domain -g com.apple.swipescrolldirection does not exist
[ OK ] Trackpad: Natural scrolling is now disabled
2016-10-13 09:45:30.006 defaults[53605:459428]
Domain com.apple.Dock showAppExposeGestureEnabled does not exist
[ OK ] Trackpad: Show app expose gesture is now enabled
2016-10-13 09:45:30.081 defaults[53607:459436]
Domain NSGlobalDomain NSDocumentSaveNewDocumentsToCloud does not exist
[ OK ] iCloud: Default save location is now set to the local drive
2016-10-13 09:45:30.126 defaults[53609:459444]
Domain com.apple.desktopservices DSDontWriteNetworkStores does not exist
[ OK ] iCloud: .DS_Store file writing is now disabled on network drives
[ OK ] Dock: Recent applications stack is already installed
[ .. ] Dock: Autohiding is not enabled, enabling now
[ OK ] Dock: Autohiding is now enabled
[ .. ] Dock: Magnification is not enabled, enabling now
[ OK ] Dock: Magnification is now enabled
[ OK ] Dock: Tilesize is already correctly set
[ .. ] Dock: Magnification tilesize is not correctly set
[ OK ] Dock: Magnification tilesize is now correctly set
[ OK ] Dock: Recent applications stack is already installed
[ OK ] Dock: All non-default applications already sanitised
[ .. ] Dock: Checking for all default app existences
[ OK ] Dock: Launchpad is already set on the dock
[ OK ] Dock: Notes is already set on the dock
[ OK ] Dock: iTunes is already set on the dock
[ OK ] Dock: App Store is already set on the dock
[ OK ] Dock: System Preferences is already set on the dock
[ OK ] Dock: Firefox is already set on the dock
[ OK ] Dock: All default apps are in place
[ OK ] Dock: Application folder is already on the dock
[ OK ] Trackpad: Show app expose gesture is already enabled
2016-10-13 09:45:30.992 defaults[53667:459659]
Domain com.apple.Bluetooth.plist ControllerPowerState does not exist
[ OK ] Bluetooth: BT is now disabled
2016-10-13 09:45:31.065 defaults[53669:459667]
Domain com.apple.loginwindow.plist GuestEnabled does not exist
Splits off from #7, since security hardening contains a lot of moving parts.
[Unix] Harden default security settings
Completed:
TODO:
Don't need to do:
Guest account disabling is normally fine, but requires one last configuration to make it consistent, finding how to disable parental management via the command line.
Taking the good from https://github.com/JasonYao/oldDotfiles without all the surrounding crud
Symlink management may be better by using a GNU tool, of which GNU Stow appears to fit the bill. Replacing Holman's linking function with this will thus future proof the script, and lower dependencies on outside code.
gem install bundler
npm install -g jsonlint
npm install -g lighthouse
Magnification and hiding don't work
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.