From zero to fully installed and configured, in an hour.
** Overview
*** Quick Start
case "${SHELL}" in (zsh) ;; () chsh -s "$(which zsh)"; exit 1 ;; esac
curl --location --silent \ "https://github.com/ptb/mac-setup/raw/develop/mac-setup.command" | \ source /dev/stdin 0
init && install && config
custom && personalize_all
**** =init=
**** =install=
**** =config=
**** =custom=
*** Features
*** Walkthrough
**** Clone Internal Hard Disk to External Disk
**** Select the External Disk as Startup Disk
**** Download macOS Install from the App Store
=macappstores://itunes.apple.com/app/id1209167288=
**** Open /Applications/Utilities/Terminal.app
diskx="$(diskutil list internal physical | sed '/^\//!d;s/^(.)\ (.):/\1/')"
diskutil zeroDisk $diskx diskutil partitionDisk $diskx 2 GPT \ jhfs+ "Install" 6G \ apfs $(ruby -e "print '$(hostname -s)'.capitalize") R
sudo "/Applications/Install macOS High Sierra.app/Contents/Resources/createinstallmedia" \ --applicationpath "/Applications/Install macOS High Sierra.app" --nointeraction \ --volume "/Volumes/Install"
**** Select the Install Disk as Startup Disk
*** License
Copyright 2017 [[https://github.com/ptb][Peter T Bosse II]]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
** Initialize
*** Initialize New Terminal
if test -z "${1}"; then
osascript - "${0}" << EOF > /dev/null 2>&1
<
**** =new_term.applescript=
on run { _this }
tell app "Terminal" to do script "source " & quoted form of _this & " 0"
end run
*** Define Function =ask=
ask () {
osascript - "${1}" "${2}" "${3}" << EOF 2> /dev/null
<
**** =ask.applescript=
on run { _title, _action, _default }
tell app "System Events" to return text returned of (display dialog _title with title _title buttons { "Cancel", _action } default answer _default)
end run
*** Define Function =ask2=
ask2 () {
osascript - "$1" "$2" "$3" "$4" "$5" "$6" << EOF 2> /dev/null
<
**** =ask2.applescript=
on run { _text, _title, _cancel, _action, _default, _hidden } tell app "Terminal" to return text returned of (display dialog _text with title _title buttons { _cancel, _action } cancel button _cancel default button _action default answer _default hidden answer _hidden) end run
*** Define Function =p=
p () { printf "\n\033[1m\033[34m%s\033[0m\n\n" "${1}" }
*** Define Function =run=
run () {
osascript - "${1}" "${2}" "${3}" << EOF 2> /dev/null
<
**** =run.applescript=
on run { _title, _cancel, _action }
tell app "Terminal" to return button returned of (display dialog _title with title _title buttons { _cancel, _action } cancel button 1 default button 2 giving up after 5)
end run
*** Define Function =init=
init () { init_sudo init_cache init_no_sleep init_hostname init_perms init_maskeep init_updates
config_new_account config_rm_sudoers }
if test "${1}" = 0; then printf "\n$(which init)\n" fi
*** Define Function =init_paths=
init_paths () { test -x "/usr/libexec/path_helper" && \ eval $(/usr/libexec/path_helper -s) }
*** Eliminate Prompts for Password
init_sudo () { printf "%s\n" "%wheel ALL=(ALL) NOPASSWD: ALL" | \ sudo tee "/etc/sudoers.d/wheel" > /dev/null && \ sudo dscl /Local/Default append /Groups/wheel GroupMembership "$(whoami)" }
*** Select Installation Cache Location
init_cache () {
grep -q "CACHES" "/etc/zshenv" 2> /dev/null || \
a=$(osascript << EOF 2> /dev/null
<
grep -q "CACHES" "/etc/zshenv" 2> /dev/null || \ printf "%s\n" \ "export CACHES=\"${a}\"" \ "export HOMEBREW_CACHE=\"${a}/brew\"" \ "export BREWFILE=\"${a}/brew/Brewfile\"" | \ sudo tee -a "/etc/zshenv" > /dev/null . "/etc/zshenv"
if test -d "${CACHES}/upd"; then sudo chown -R "$(whoami)" "/Library/Updates" rsync -a --delay-updates \ "${CACHES}/upd/" "/Library/Updates/" fi }
**** =init_cache.applescript=
on run
return text 1 through -2 of POSIX path of (choose folder with prompt "Select Installation Cache Location")
end run
*** Set Defaults for Sleep
init_no_sleep () { sudo pmset -a sleep 0 sudo pmset -a disksleep 0 }
*** Set Hostname from DNS
init_hostname () { a=$(ask2 "Set Computer Name and Hostname" "Set Hostname" "Cancel" "Set Hostname" $(ruby -e "print '$(hostname -s)'.capitalize") "false") if test -n $a; then sudo scutil --set ComputerName $(ruby -e "print '$a'.capitalize") sudo scutil --set HostName $(ruby -e "print '$a'.downcase") fi }
*** Set Permissions on Install Destinations
init_perms () { printf "%s\n" "${_dest}" | \ while IFS="$(printf '\t')" read d; do test -d "${d}" || sudo mkdir -p "${d}" sudo chgrp -R admin "${d}" sudo chmod -R g+w "${d}" done }
**** _dest
|-----------------+---------------------------| | Location | Install Path | |-----------------+---------------------------| | | /usr/local/bin | | | /Library/Desktop Pictures | | colorpickerdir | /Library/ColorPickers | | fontdir | /Library/Fonts | | input_methoddir | /Library/Input Methods | | prefpanedir | /Library/PreferencePanes | | qlplugindir | /Library/QuickLook | | screen_saverdir | /Library/Screen Savers | | | /Library/User Pictures | |-----------------+---------------------------|
*** Install Developer Tools
init_devtools () { p="${HOMEBREW_CACHE}/Cask/Command Line Tools (macOS High Sierra version 10.13).pkg" i="com.apple.pkg.CLTools_SDK_macOS1013"
if test -f "${p}"; then if ! pkgutil --pkg-info "${i}" > /dev/null 2>&1; then sudo installer -pkg "${p}" -target / fi else xcode-select --install fi }
*** Install Xcode
init_xcode () { if test -f ${HOMEBREW_CACHE}/Cask/xcode.xip; then p "Installing Xcode" dest="${HOMEBREW_CACHE}/Cask/xcode" if ! test -d "$dest"; then pkgutil --expand ${HOMEBREW_CACHE}/Cask/xcode.xip "$dest" curl --location --silent \ "https://gist.githubusercontent.com/pudquick/ff412bcb29c9c1fa4b8d/raw/24b25538ea8df8d0634a2a6189aa581ccc6a5b4b/parse_pbzx2.py" | \ python - "${dest}/Content" find "${dest}" -empty -name ".xz" -type f -print0 | \ xargs -0 -l 1 rm find "${dest}" -name ".xz" -print0 | \ xargs -0 -L 1 gunzip cat ${dest}/Content.part > \ ${dest}/Content.cpio fi cd /Applications && \ sudo cpio -dimu --file=${dest}/Content.cpio for pkg in /Applications/Xcode.app/Contents/Resources/Packages/.pkg; do sudo installer -pkg "$pkg" -target / done x="$(find '/Applications' -maxdepth 1 -regex './Xcode[^ ]*.app' -print -quit)" if test -n "${x}"; then sudo xcode-select -s "${x}" sudo xcodebuild -license accept fi fi }
*** Install macOS Updates
init_updates () { sudo softwareupdate --install --all }
*** Save Mac App Store Packages
sudo lsof -c softwareupdated -F -r 2 | sed '/^n\//!d;/com.apple.SoftwareUpdate/!d;s/^n//' sudo lsof -c storedownloadd -F -r 2 | sed '/^n\//!d;/com.apple.appstore/!d;s/^n//'
init_maskeep () { sudo softwareupdate --reset-ignored > /dev/null
cat << EOF > "/usr/local/bin/maskeep"
<
chmod a+x "/usr/local/bin/maskeep" rehash
config_launchd "/Library/LaunchDaemons/com.github.ptb.maskeep.plist" "$_maskeep_launchd" "sudo" "" }
**** _maskeep_launchd
|---------+--------------------+--------+-----------------------------------------------------------------------------------------------------------------| | Command | Entry | Type | Value | |---------+--------------------+--------+-----------------------------------------------------------------------------------------------------------------| | add | :KeepAlive | bool | false | | add | :Label | string | com.github.ptb.maskeep | | add | :ProcessType | string | Background | | add | :Program | string | /usr/local/bin/maskeep | | add | :RunAtLoad | bool | true | | add | :StandardErrorPath | string | /dev/stderr | | add | :StandardOutPath | string | /dev/stdout | | add | :UserName | string | root | | add | :WatchPaths | array | | | add | :WatchPaths:0 | string | $(sudo find '/private/var/folders' -name 'com.apple.SoftwareUpdate' -type d -user _softwareupdate -print -quit 2> /dev/null) | | add | :WatchPaths:1 | string | $(sudo -u \#501 -- sh -c 'getconf DARWIN_USER_CACHE_DIR' 2> /dev/null)com.apple.appstore | | add | :WatchPaths:2 | string | $(sudo -u \#502 -- sh -c 'getconf DARWIN_USER_CACHE_DIR' 2> /dev/null)com.apple.appstore | | add | :WatchPaths:3 | string | $(sudo -u \#503 -- sh -c 'getconf DARWIN_USER_CACHE_DIR' 2> /dev/null)com.apple.appstore | | add | :WatchPaths:4 | string | /Library/Updates | |---------+--------------------+--------+-----------------------------------------------------------------------------------------------------------------|
**** =/usr/local/bin/maskeep=
asdir="/Library/Caches/storedownloadd" as1="\$(sudo -u \#501 -- sh -c 'getconf DARWIN_USER_CACHE_DIR' 2> /dev/null)com.apple.appstore" as2="\$(sudo -u \#502 -- sh -c 'getconf DARWIN_USER_CACHE_DIR' 2> /dev/null)com.apple.appstore" as3="\$(sudo -u \#503 -- sh -c 'getconf DARWIN_USER_CACHE_DIR' 2> /dev/null)com.apple.appstore" upd="/Library/Updates" sudir="/Library/Caches/softwareupdated" su="\$(sudo find '/private/var/folders' -name 'com.apple.SoftwareUpdate' -type d -user _softwareupdate 2> /dev/null)"
for i in 1 2 3 4 5; do mkdir -m a=rwxt -p "\$asdir" for as in "\$as1" "\$as2" "\$as3" "\$upd"; do test -d "\$as" && \ find "\${as}" -type d -print | \ while read a; do b="\${asdir}/\$(basename \$a)" mkdir -p "\${b}" find "\${a}" -type f -print | \ while read c; do d="\$(basename \$c)" test -e "\${b}/\${d}" || \ ln "\${c}" "\${b}/\${d}" && \ chmod 666 "\${b}/\${d}" done done done
mkdir -m a=rwxt -p "\${sudir}" find "\${su}" -name "*.tmp" -type f -print | \ while read a; do d="\$(basename \$a)" test -e "\${sudir}/\${d}.xar" || ln "\${a}" "\${sudir}/\${d}.xar" && \ chmod 666 "\${sudir}/\${d}.xar" done
sleep 1 done
exit 0
** Install
*** Define Function =install=
install () { install_macos_sw install_node_sw install_perl_sw install_python_sw install_ruby_sw
which config }
*** Install macOS Software with =brew=
install_macos_sw () { p "Installing macOS Software" install_paths install_brew install_brewfile_taps install_brewfile_brew_pkgs install_brewfile_cask_args install_brewfile_cask_pkgs install_brewfile_mas_apps
x=$(find '/Applications' -maxdepth 1 -regex './Xcode[^ ].app' -print -quit) if test -n "$x"; then sudo xcode-select -s "$x" sudo xcodebuild -license accept fi
brew bundle --file="${BREWFILE}"
x=$(find '/Applications' -maxdepth 1 -regex './Xcode[^ ].app' -print -quit) if test -n "$x"; then sudo xcode-select -s "$x" sudo xcodebuild -license accept fi
install_links sudo xattr -rd "com.apple.quarantine" "/Applications" > /dev/null 2>&1 sudo chmod -R go=u-w "/Applications" > /dev/null 2>&1 }
*** Add =/usr/local/bin/sbin= to Default Path
install_paths () { if ! grep -Fq "/usr/local/sbin" /etc/paths; then sudo sed -i "" -e "/\/usr\/sbin/{x;s/$/\/usr\/local\/sbin/;G;}" /etc/paths fi }
*** Install Homebrew Package Manager
install_brew () { if ! which brew > /dev/null; then ruby -e \ "$(curl -Ls 'https://github.com/Homebrew/install/raw/master/install')" \ < /dev/null > /dev/null 2>&1 fi printf "" > "${BREWFILE}" brew analytics off brew update brew doctor brew tap "homebrew/bundle" }
*** Add Homebrew Taps to Brewfile
install_brewfile_taps () { printf "%s\n" "${_taps}" | \ while IFS="$(printf '\t')" read tap; do printf 'tap "%s"\n' "${tap}" >> "${BREWFILE}" done printf "\n" >> "${BREWFILE}" }
**** _taps
|----------------------------+--------------------------------------------------------| | Homebrew Tap Name | Reference URL | |----------------------------+--------------------------------------------------------| | caskroom/cask | https://github.com/caskroom/homebrew-cask | | caskroom/fonts | https://github.com/caskroom/homebrew-fonts | | caskroom/versions | https://github.com/caskroom/homebrew-versions | | homebrew/bundle | https://github.com/Homebrew/homebrew-bundle | | homebrew/command-not-found | https://github.com/Homebrew/homebrew-command-not-found | | homebrew/nginx | https://github.com/Homebrew/homebrew-nginx | | homebrew/php | https://github.com/Homebrew/homebrew-php | | homebrew/services | https://github.com/Homebrew/homebrew-services | | ptb/custom | https://github.com/ptb/homebrew-custom | | railwaycat/emacsmacport | https://github.com/railwaycat/homebrew-emacsmacport | |----------------------------+--------------------------------------------------------|
*** Add Homebrew Packages to Brewfile
install_brewfile_brew_pkgs () { printf "%s\n" "${_pkgs}" | \ while IFS="$(printf '\t')" read pkg; do
printf 'brew "%s"\n' "${pkg}" >> "${BREWFILE}"
done printf "\n" >> "${BREWFILE}" }
**** _pkgs
|------------------------------+-----------------------------------------------------------| | Homebrew Package Name | Reference URL | |------------------------------+-----------------------------------------------------------| | aspell | http://aspell.net/ | | bash | https://www.gnu.org/software/bash/ | | certbot | https://certbot.eff.org/ | | chromedriver | https://sites.google.com/a/chromium.org/chromedriver/ | | coreutils | https://www.gnu.org/software/coreutils/ | | dash | http://gondor.apana.org.au/~herbert/dash/ | | duti | https://github.com/moretension/duti | | e2fsprogs | https://e2fsprogs.sourceforge.io/ | | fasd | https://github.com/clvv/fasd | | fdupes | https://github.com/adrianlopezroche/fdupes | | gawk | https://www.gnu.org/software/gawk/ | | getmail | http://pyropus.ca/software/getmail/ | | git | https://git-scm.com/ | | git-flow | http://nvie.com/posts/a-successful-git-branching-model/ | | git-lfs | https://git-lfs.github.com/ | | gnu-sed | https://www.gnu.org/software/sed/ | | gnupg | https://www.gnupg.org/ | | gpac | https://gpac.wp.imt.fr/ | | httpie | https://httpie.org/ | | hub | https://hub.github.com/ | | ievms | https://xdissent.github.io/ievms/ | | imagemagick | https://www.imagemagick.org/ | | mas | https://github.com/argon/mas | | mercurial | https://www.mercurial-scm.org/ | | mp4v2 | https://code.google.com/archive/p/mp4v2/ | | mtr | https://www.bitwizard.nl/mtr/ | | nmap | https://nmap.org/ | | node | https://nodejs.org/ | | nodenv | https://github.com/nodenv/nodenv | | openssl | https://www.openssl.org/ | | p7zip | http://p7zip.sourceforge.net/ | | perl-build | https://github.com/tokuhirom/Perl-Build | | pinentry-mac | https://github.com/GPGTools/pinentry-mac | | plenv | https://github.com/tokuhirom/plenv | | pyenv | https://github.com/pyenv/pyenv | | rbenv | https://github.com/rbenv/rbenv | | rsync | https://rsync.samba.org/ | | selenium-server-standalone | http://www.seleniumhq.org/ | | shellcheck | https://github.com/koalaman/shellcheck | | sleepwatcher | http://www.bernhard-baehr.de/ | | sqlite | https://sqlite.org | | stow | https://www.gnu.org/software/stow/ | | syncthing | https://syncthing.net/ | | syncthing-inotify | https://github.com/syncthing/syncthing-inotify | | tag | https://github.com/jdberry/tag | | terminal-notifier | https://github.com/julienXX/terminal-notifier | | the_silver_searcher | https://geoff.greer.fm/ag/ | | trash | http://hasseg.org/trash/ | | unrar | http://www.rarlab.com/ | | vcsh | https://github.com/RichiH/vcsh | | vim | https://vim.sourceforge.io/ | | yarn | https://yarnpkg.com/ | | youtube-dl | https://rg3.github.io/youtube-dl/ | | zsh | https://www.zsh.org/ | | zsh-syntax-highlighting | https://github.com/zsh-users/zsh-syntax-highlighting | | zsh-history-substring-search | https://github.com/zsh-users/zsh-history-substring-search | | homebrew/php/php71 | https://github.com/Homebrew/homebrew-php | | ptb/custom/dovecot | | | ptb/custom/ffmpeg | | | sdl2 | | | zimg | | | x265 | | | webp | | | wavpack | | | libvorbis | | | libvidstab | | | two-lame | | | theora | | | tesseract | | | speex | | | libssh | | | libsoxr | | | snappy | | | schroedinger | | | rubberband | | | rtmpdump | | | opus | | | openh264 | | | opencore-amr | | | libmodplug | | | libgsm | | | game-music-emu | | | fontconfig | | | fdk-aac | | | libcaca | | | libbs2b | | | libbluray | | | libass | | | chromaprint | | | ptb/custom/nginx-full | | |------------------------------+-----------------------------------------------------------|
*** Add Caskroom Options to Brewfile
install_brewfile_cask_args () { printf 'cask_args \' >> "${BREWFILE}" printf "%s\n" "${_args}" | \ while IFS="$(printf '\t')" read arg dir; do printf '\n %s: "%s",' "${arg}" "${dir}" >> "${BREWFILE}" done sed -i "" -e '$ s/,/\ /' "${BREWFILE}" }
*** Add Homebrew Casks to Brewfile
install_brewfile_cask_pkgs () { printf "%s\n" "${_casks}" | \ while IFS="$(printf '\t')" read cask; do printf 'cask "%s"\n' "${cask}" >> "${BREWFILE}" done printf "\n" >> "${BREWFILE}" }
**** _casks
|--------------------------------------------------+---------------------------------------------------------------| | Caskroom Package Name | Reference URL | |--------------------------------------------------+---------------------------------------------------------------| | java | https://www.oracle.com/technetwork/java/javase/ | | xquartz | https://www.xquartz.org/ | | adium | https://www.adium.im/ | | alfred | https://www.alfredapp.com/ | | arduino | https://www.arduino.cc/ | | atom | https://atom.io/ | | bbedit | https://www.barebones.com/products/bbedit/ | | betterzip | https://macitbetter.com/ | | bitbar | https://getbitbar.com/ | | caffeine | http://lightheadsw.com/caffeine/ | | carbon-copy-cloner | https://bombich.com/ | | charles | https://www.charlesproxy.com/ | | dash | https://kapeli.com/dash | | dropbox | https://www.dropbox.com/ | | exifrenamer | http://www.qdev.de/?location=mac/exifrenamer | | find-empty-folders | http://www.tempel.org/FindEmptyFolders | | firefox | https://www.mozilla.org/firefox/ | | github-desktop | https://desktop.github.com/ | | gitup | http://gitup.co/ | | google-chrome | https://www.google.com/chrome/ | | hammerspoon | http://www.hammerspoon.org/ | | handbrake | https://handbrake.fr/ | | hermes | http://hermesapp.org/ | | imageoptim | https://imageoptim.com/mac | | inkscape | https://inkscape.org/ | | integrity | http://peacockmedia.software/mac/integrity/ | | istat-menus | https://bjango.com/mac/istatmenus/ | | iterm2 | https://www.iterm2.com/ | | jubler | http://www.jubler.org/ | | little-snitch | https://www.obdev.at/products/littlesnitch/ | | machg | http://jasonfharris.com/machg/ | | menubar-countdown | http://capablehands.net/menubarcountdown | | meteorologist | http://heat-meteo.sourceforge.net/ | | moom | https://manytricks.com/moom/ | | mp4tools | http://www.emmgunn.com/mp4tools-home/ | | musicbrainz-picard | https://picard.musicbrainz.org/ | | namechanger | https://mrrsoftware.com/namechanger/ | | nvalt | http://brettterpstra.com/projects/nvalt/ | | nzbget | https://nzbget.net/ | | nzbvortex | https://www.nzbvortex.com/ | | openemu | http://openemu.org/ | | opera | https://www.opera.com/ | | pacifist | https://www.charlessoft.com/ | | platypus | https://sveinbjorn.org/platypus | | plex-media-server | https://www.plex.tv/ | | qlstephen | https://whomwah.github.io/qlstephen/ | | quitter | https://marco.org/apps#quitter | | radarr | https://radarr.video/ | | rescuetime | https://www.rescuetime.com/ | | resilio-sync | https://www.resilio.com/individuals/ | | scrivener | https://literatureandlatte.com/scrivener.php | | sizeup | https://www.irradiatedsoftware.com/sizeup/ | | sketch | https://www.sketchapp.com/ | | sketchup | https://www.sketchup.com/ | | skitch | https://evernote.com/products/skitch | | skype | https://www.skype.com/ | | slack | https://slack.com/ | | sonarr | https://sonarr.tv/ | | sonarr-menu | https://github.com/jefbarn/Sonarr-Menu | | sourcetree | https://www.sourcetreeapp.com/ | | steermouse | http://plentycom.jp/en/steermouse/ | | subler | https://subler.org/ | | sublime-text | https://www.sublimetext.com/3 | | the-unarchiver | https://theunarchiver.com/ | | time-sink | https://manytricks.com/timesink/ | | torbrowser | https://www.torproject.org/projects/torbrowser.html | | tower | https://www.git-tower.com/ | | unrarx | http://www.unrarx.com/ | | vimr | http://vimr.org/ | | vlc | https://www.videolan.org/vlc/ | | vmware-fusion | https://www.vmware.com/products/fusion.html | | wireshark | https://www.wireshark.org/ | | xld | http://tmkk.undo.jp/xld/index_e.html | | caskroom/fonts/font-inconsolata-lgc | https://github.com/DeLaGuardo/Inconsolata-LGC | | caskroom/versions/transmit4 | https://panic.com/transmit/ | | ptb/custom/adobe-creative-cloud-2014 | https://www.adobe.com/creativecloud.html | | ptb/custom/blankscreen | http://www.wurst-wasser.net/wiki/index.php/Blank_Screen_Saver | | ptb/custom/composer | https://www.jamf.com/products/jamf-composer/ | | ptb/custom/enhanced-dictation | | | ptb/custom/ipmenulet | https://github.com/mcandre/IPMenulet | | ptb/custom/pcalc-3 | http://www.pcalc.com/english/about.html | | ptb/custom/sketchup-pro | https://www.sketchup.com/products/sketchup-pro | | ptb/custom/text-to-speech-alex | | | ptb/custom/text-to-speech-allison | | | ptb/custom/text-to-speech-samantha | | | ptb/custom/text-to-speech-tom | | | railwaycat/emacsmacport/emacs-mac-spacemacs-icon | https://github.com/railwaycat/homebrew-emacsmacport | |--------------------------------------------------+---------------------------------------------------------------|
*** Add App Store Packages to Brewfile
install_brewfile_mas_apps () { open "/Applications/App Store.app" run "Sign in to the App Store with your Apple ID" "Cancel" "OK"
MASDIR="$(getconf DARWIN_USER_CACHE_DIR)com.apple.appstore" sudo chown -R "$(whoami)" "${MASDIR}" rsync -a --delay-updates \ "${CACHES}/mas/" "${MASDIR}/"
printf "%s\n" "${_mas}" | \ while IFS="$(printf '\t')" read app id; do printf 'mas "%s", id: %s\n' "${app}" "${id}" >> "${BREWFILE}" done }
**** _mas
|----------------------------+------------+-------------------------------------------| | App Name | App ID | App Store URL | |----------------------------+------------+-------------------------------------------| | 1Password | 443987910 | https://itunes.apple.com/app/id443987910 | | Affinity Photo | 824183456 | https://itunes.apple.com/app/id824183456 | | Coffitivity | 659901392 | https://itunes.apple.com/app/id659901392 | | Duplicate Photos Fixer Pro | 963642514 | https://itunes.apple.com/app/id963642514 | | Growl | 467939042 | https://itunes.apple.com/app/id467939042 | | HardwareGrowler | 475260933 | https://itunes.apple.com/app/id475260933 | | I Love Stars | 402642760 | https://itunes.apple.com/app/id402642760 | | Icon Slate | 439697913 | https://itunes.apple.com/app/id439697913 | | Justnotes | 511230166 | https://itunes.apple.com/app/id511230166 | | Keynote | 409183694 | https://itunes.apple.com/app/id409183694 | | Metanota Pro | 515250764 | https://itunes.apple.com/app/id515250764 | | Numbers | 409203825 | https://itunes.apple.com/app/id409203825 | | Pages | 409201541 | https://itunes.apple.com/app/id409201541 | | WiFi Explorer | 494803304 | https://itunes.apple.com/app/id494803304 | | Xcode | 497799835 | https://itunes.apple.com/app/id497799835 | | macOS High Sierra | 1209167288 | https://itunes.apple.com/app/id1209167288 | |----------------------------+------------+-------------------------------------------|
*** Link System Utilities to Applications
install_links () { printf "%s\n" "${_links}" | \ while IFS="$(printf '\t')" read link; do find "${link}" -maxdepth 1 -name "*.app" -type d -print0 2> /dev/null | \ xargs -0 -I {} -L 1 ln -s "{}" "/Applications" 2> /dev/null done }
**** _links
-------------------------------------------------------------- | Application Locations | |
---|---|---|
/System/Library/CoreServices/Applications | ||
/Applications/Xcode.app/Contents/Applications | ||
/Applications/Xcode.app/Contents/Developer/Applications | ||
/Applications/Xcode-beta.app/Contents/Applications | ||
/Applications/Xcode-beta.app/Contents/Developer/Applications | ||
-------------------------------------------------------------- |
*** Install Node.js with =nodenv=
install_node_sw () { if which nodenv > /dev/null; then NODENV_ROOT="/usr/local/node" && export NODENV_ROOT
sudo mkdir -p "$NODENV_ROOT"
sudo chown -R "$(whoami):admin" "$NODENV_ROOT"
p "Installing Node.js with nodenv"
git clone https://github.com/nodenv/node-build-update-defs.git \
"$(nodenv root)"/plugins/node-build-update-defs
nodenv update-version-defs > /dev/null
nodenv install --skip-existing 8.7.0
nodenv global 8.7.0
grep -q "${NODENV_ROOT}" "/etc/paths" || \
sudo sed -i "" -e "1i\\
${NODENV_ROOT}/shims " "/etc/paths"
init_paths
rehash
fi
T=$(printf '\t')
printf "%s\n" "$_npm" | \ while IFS="$T" read pkg; do npm install --global "$pkg" done
rehash }
|------------------------+----------------------------------------------------| | NPM Package Name | Reference URL | |------------------------+----------------------------------------------------| | eslint | https://eslint.org/ | | eslint-config-cleanjs | https://github.com/bodil/eslint-config-cleanjs | | eslint-plugin-better | https://github.com/idmitriev/eslint-plugin-better | | eslint-plugin-fp | https://github.com/jfmengels/eslint-plugin-fp | | eslint-plugin-import | https://github.com/benmosher/eslint-plugin-import | | eslint-plugin-json | https://github.com/azeemba/eslint-plugin-json | | eslint-plugin-promise | https://github.com/xjamundx/eslint-plugin-promise | | eslint-plugin-standard | https://github.com/xjamundx/eslint-plugin-standard | | gatsby | | | json | http://trentm.com/json/ | | sort-json | https://github.com/kesla/sort-json | |------------------------+----------------------------------------------------|
*** Install Perl 5 with =plenv=
install_perl_sw () { if which plenv > /dev/null; then PLENV_ROOT="/usr/local/perl" && export PLENV_ROOT
sudo mkdir -p "$PLENV_ROOT"
sudo chown -R "$(whoami):admin" "$PLENV_ROOT"
p "Installing Perl 5 with plenv"
plenv install 5.26.0 > /dev/null 2>&1
plenv global 5.26.0
grep -q "${PLENV_ROOT}" "/etc/paths" || \
sudo sed -i "" -e "1i\\
${PLENV_ROOT}/shims " "/etc/paths"
init_paths
rehash
fi }
*** Install Python with =pyenv=
install_python_sw () { if which pyenv > /dev/null; then CFLAGS="-I$(brew --prefix openssl)/include" && export CFLAGS LDFLAGS="-L$(brew --prefix openssl)/lib" && export LDFLAGS PYENV_ROOT="/usr/local/python" && export PYENV_ROOT
sudo mkdir -p "$PYENV_ROOT"
sudo chown -R "$(whoami):admin" "$PYENV_ROOT"
p "Installing Python 2 with pyenv"
pyenv install --skip-existing 2.7.13
p "Installing Python 3 with pyenv"
pyenv install --skip-existing 3.6.2
pyenv global 2.7.13
grep -q "${PYENV_ROOT}" "/etc/paths" || \
sudo sed -i "" -e "1i\\
${PYENV_ROOT}/shims " "/etc/paths"
init_paths
rehash
pip install --upgrade "pip" "setuptools"
# Reference: https://github.com/mdhiggins/sickbeard_mp4_automator
pip install --upgrade "babelfish" "guessit<2" "qtfaststart" "requests" "stevedore==1.19.1" "subliminal<2"
pip install --upgrade "requests-cache" "requests[security]"
# Reference: https://github.com/pixelb/crudini
pip install --upgrade "crudini"
fi }
*** Install Ruby with =rbenv=
install_ruby_sw () { if which rbenv > /dev/null; then RBENV_ROOT="/usr/local/ruby" && export RBENV_ROOT
sudo mkdir -p "$RBENV_ROOT"
sudo chown -R "$(whoami):admin" "$RBENV_ROOT"
p "Installing Ruby with rbenv"
rbenv install --skip-existing 2.4.2
rbenv global 2.4.2
grep -q "${RBENV_ROOT}" "/etc/paths" || \
sudo sed -i "" -e "1i\\
${RBENV_ROOT}/shims " "/etc/paths"
init_paths
rehash
printf "%s\n" \
"gem: --no-document" | \
tee "${HOME}/.gemrc" > /dev/null
gem update --system > /dev/null
trash "$(which rdoc)"
trash "$(which ri)"
gem update
gem install bundler
fi }
** Configure
*** Define Function =config=
config () { config_admin_req config_bbedit config_certbot config_desktop config_dovecot config_emacs config_environment config_ipmenulet config_istatmenus config_nginx config_openssl config_sysprefs config_zsh config_guest
which custom }
*** Define Function =config_defaults=
config_defaults () { printf "%s\n" "${1}" | \ while IFS="$(printf '\t')" read domain key type value host; do ${2} defaults ${host} write ${domain} "${key}" ${type} "${value}" done }
*** Define Function =config_plist=
T="$(printf '\t')"
config_plist () { printf "%s\n" "$1" | \ while IFS="$T" read command entry type value; do case "$value" in (\$) $4 /usr/libexec/PlistBuddy "$2" \ -c "$command '${3}${entry}' $type '$(eval echo \"$value\")'" 2> /dev/null ;; () $4 /usr/libexec/PlistBuddy "$2" \ -c "$command '${3}${entry}' $type '$value'" 2> /dev/null ;; esac done }
*** Define Function =config_launchd=
config_launchd () { test -d "$(dirname $1)" || \ $3 mkdir -p "$(dirname $1)"
test -f "$1" && \ $3 launchctl unload "$1" && \ $3 rm -f "$1"
config_plist "$2" "$1" "$4" "$3" && \ $3 plutil -convert xml1 "$1" && \ $3 launchctl load "$1" }
*** Mark Applications Requiring Administrator Account
config_admin_req () { printf "%s\n" "${_admin_req}" | \ while IFS="$(printf '\t')" read app; do sudo tag -a "Red, admin" "/Applications/${app}" done }
**** _admin_req
------------------------ | Admin Apps | |
---|---|---|
Carbon Copy Cloner.app | ||
Charles.app | ||
Composer.app | ||
Dropbox.app | ||
iStat Menus.app | ||
Moom.app | ||
VMware Fusion.app | ||
Wireshark.app | ||
------------------------ |
*** Configure BBEdit
config_bbedit () { if test -d "/Applications/BBEdit.app"; then test -f "/usr/local/bin/bbdiff" || \ ln /Applications/BBEdit.app/Contents/Helpers/bbdiff /usr/local/bin/bbdiff && \ ln /Applications/BBEdit.app/Contents/Helpers/bbedit_tool /usr/local/bin/bbedit && \ ln /Applications/BBEdit.app/Contents/Helpers/bbfind /usr/local/bin/bbfind && \ ln /Applications/BBEdit.app/Contents/Helpers/bbresults /usr/local/bin/bbresults fi }
*** Configure Let’s Encrypt
config_certbot () { test -d "/etc/letsencrypt" || \ sudo mkdir -p /etc/letsencrypt
sudo tee "/etc/letsencrypt/cli.ini" << EOF > /dev/null agree-tos = True authenticator = standalone eff-email = True manual-public-ip-logging-ok = True nginx-ctl = $(which nginx) nginx-server-root = /usr/local/etc/nginx preferred-challenges = tls-sni-01 keep-until-expiring = True rsa-key-size = 4096 text = True EOF
if ! test -e "/etc/letsencrypt/.git"; then a=$(ask "Existing Let’s Encrypt Git Repository Path or URL?" "Clone Repository" "") test -n "$a" && \ case "$a" in (/) sudo tee "/etc/letsencrypt/.git" << EOF > /dev/null ;; gitdir: $a EOF () sudo git -C "/etc/letsencrypt" remote add origin "$a" sudo git -C "/etc/letsencrypt" fetch origin master ;; esac sudo git -C "/etc/letsencrypt" reset --hard sudo git checkout -f -b master HEAD fi
sudo launchctl unload /Library/LaunchDaemons/org.nginx.nginx.plist 2> /dev/null sudo certbot renew
while true; do test -n "$1" && server_name="$1" || \ server_name="$(ask 'New SSL Server: Server Name?' 'Create Server' 'example.com')" test -n "$server_name" || break
test -n "$2" && proxy_address="$2" || \
proxy_address="$(ask "Proxy Address for $server_name?" 'Set Address' 'http://127.0.0.1:80')"
sudo certbot certonly --domain $server_name
key1="$(openssl x509 -pubkey < /etc/letsencrypt/live/$server_name/fullchain.pem | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | base64)"
key2="$(curl -s https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem | openssl x509 -pubkey | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | base64)"
key3="$(curl -s https://letsencrypt.org/certs/isrgrootx1.pem | openssl x509 -pubkey | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | base64)"
pkp="$(printf "add_header Public-Key-Pins 'pin-sha256=\"%s\"; pin-sha256=\"%s\"; pin-sha256=\"%s\"; max-age=2592000;';\n" $key1 $key2 $key3)"
cat << EOF > "/usr/local/etc/nginx/servers/$server_name.conf"
<
sudo launchctl load /Library/LaunchDaemons/org.nginx.nginx.plist }
**** =/usr/local/etc/nginx/servers/server_name/server_name.conf=
server { server_name $server_name;
location / { proxy_pass $proxy_address; }
ssl_certificate /etc/letsencrypt/live/$server_name/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/$server_name/privkey.pem; ssl_trusted_certificate /etc/letsencrypt/live/$server_name/chain.pem;
$pkp
add_header Content-Security-Policy "upgrade-insecure-requests;"; add_header Referrer-Policy "strict-origin"; add_header Strict-Transport-Security "max-age=15552000; includeSubDomains; preload" always; add_header X-Content-Type-Options nosniff; add_header X-Frame-Options DENY; add_header X-Robots-Tag none; add_header X-XSS-Protection "1; mode=block";
listen 443 ssl http2; listen [::]:443 ssl http2;
ssl_stapling on; ssl_stapling_verify on;
}
*** Configure Default Apps
config_default_apps () { true }
*** Configure Desktop Picture
config_desktop () { sudo rm -f "/Library/Caches/com.apple.desktop.admin.png"
base64 -D << EOF > "/Library/Desktop Pictures/Solid Colors/Solid Black.png"
<
**** =black.png.b64=
iVBORw0KGgoAAAANSUhEUgAAAIAAAACAAQAAAADrRVxmAAAAGElEQVR4AWOgMxgFo2AUjIJRMApGwSgAAAiAAAH3bJXBAAAAAElFTkSuQmCC
*** Configure Dovecot
config_dovecot () {
if which /usr/local/sbin/dovecot > /dev/null; then
if ! run "Configure Dovecot Email Server?" "Configure Server" "Cancel"; then
sudo tee "/usr/local/etc/dovecot/dovecot.conf" << EOF > /dev/null
<
MAILADM="$(ask 'Email: Postmaster Email?' 'Set Email' "$(whoami)@$(hostname -f | cut -d. -f2-)")"
MAILSVR="$(ask 'Email: Server Hostname for DNS?' 'Set Hostname' "$(hostname -f)")"
sudo certbot certonly --domain $MAILSVR
printf "%s\n" \
"postmaster_address = '${MAILADM}'" \
"ssl_cert = </etc/letsencrypt/live/$MAILSVR/fullchain.pem" \
"ssl_key = </etc/letsencrypt/live/$MAILSVR/privkey.pem" | \
sudo tee -a "/usr/local/etc/dovecot/dovecot.conf" > /dev/null
if test ! -f "/usr/local/etc/dovecot/cram-md5.pwd"; then
while true; do
MAILUSR="$(ask 'New Email Account: User Name?' 'Create Account' "$(whoami)")"
test -n "${MAILUSR}" || break
doveadm pw | \
sed -e "s/^/${MAILUSR}:/" | \
sudo tee -a "/usr/local/etc/dovecot/cram-md5.pwd"
done
sudo chown _dovecot "/usr/local/etc/dovecot/cram-md5.pwd"
sudo chmod go= "/usr/local/etc/dovecot/cram-md5.pwd"
fi
sudo tee "/etc/pam.d/dovecot" << EOF > /dev/null
<
sudo brew services start dovecot
cat << EOF > "/usr/local/bin/imaptimefix.py"
<
**** =/usr/local/etc/dovecot/dovecot.conf=
auth_mechanisms = cram-md5 default_internal_user = _dovecot default_login_user = _dovenull log_path = /dev/stderr mail_location = maildir:~/.mail:INBOX=~/.mail/Inbox:LAYOUT=fs mail_plugins = zlib maildir_copy_with_hardlinks = no namespace { inbox = yes mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Junk { auto = subscribe special_use = \Junk } mailbox Sent { auto = subscribe special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } separator = . type = private } passdb { args = scheme=cram-md5 /usr/local/etc/dovecot/cram-md5.pwd driver = passwd-file
} plugin { sieve = file:/Users/%u/.sieve sieve_plugins = sieve_extprograms zlib_save = bz2 zlib_save_level = 9 } protocols = imap service imap-login { inet_listener imap { port = 0 } } ssl = required ssl_cipher_list = ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS:!AES128 ssl_dh_parameters_length = 4096 ssl_prefer_server_ciphers = yes ssl_protocols = !SSLv2 !SSLv3 userdb { driver = passwd } protocol lda { mail_plugins = sieve zlib }
**** =/etc/pam.d/dovecot=
auth required pam_opendirectory.so try_first_pass account required pam_nologin.so account required pam_opendirectory.so password required pam_opendirectory.so
**** =/usr/local/bin/imaptimefix.py=
from bz2 import BZ2File from email import message_from_string from email.utils import mktime_tz, parsedate_tz from os import rename, utime, walk from os.path import abspath, isdir, isfile, join from re import compile, match from sys import argv
if isdir(argv[1]): e = compile("([0-9]+)(..*$)")
for a, b, c in walk(argv[1]): for d in c: if e.match(d): f = message_from_string(BZ2File(join(a, d)).read()) g = mktime_tz(parsedate_tz(f.get("Date")))
h = 0
for i in f.get_all("Received", []):
j = i.split(";")[-1]
if parsedate_tz(j):
k = mktime_tz(parsedate_tz(j))
if (k - g) > (60*60*24):
continue
h = k
break
if (h < 1):
h = g
l = e.match(d)
if len(l.groups()) == 2:
m = str(int(h)) + l.groups()[1]
if not isfile(join(a, m)):
rename(join(a, d), join(a, m))
utime(join(a, m), (h, h))
*** Configure Emacs
config_emacs () {
test -f "/usr/local/bin/vi" || \
cat << EOF > "/usr/local/bin/vi"
<
chmod a+x /usr/local/bin/vi rehash }
**** =/usr/local/bin/vi=
if [ -e "/Applications/Emacs.app" ]; then t=()
if [ \${#@} -ne 0 ]; then while IFS= read -r file; do [ ! -f "\$file" ] && t+=("\$file") && /usr/bin/touch "\$file" file=\$(echo \$(cd \$(dirname "\$file") && pwd -P)/\$(basename "\$file")) \$(/usr/bin/osascript <<-END if application "Emacs.app" is running then tell application id (id of application "Emacs.app") to open POSIX file "\$file" else tell application ((path to applications folder as text) & "Emacs.app") activate open POSIX file "\$file" end tell end if END ) & # Note: END on the previous line may be indented with tabs but not spaces done <<<"\$(printf '%s\n' "\$@")" fi
if [ ! -z "\$t" ]; then \$(/bin/sleep 10; for file in "\${t[@]}"; do [ ! -s "\$file" ] && /bin/rm "\$file"; done) & fi else vim -No "\$@" fi
*** Configure Environment Variables
config_environment () {
sudo tee "/etc/environment.sh" << 'EOF' > /dev/null
<
la="/Library/LaunchAgents/environment.user" ld="/Library/LaunchDaemons/environment"
sudo mkdir -p "$(dirname $la)" "$(dirname $ld)" sudo launchctl unload "${la}.plist" "${ld}.plist" 2> /dev/null sudo rm -f "${la}.plist" "${ld}.plist"
config_defaults "$_environment_defaults" "sudo" sudo plutil -convert xml1 "${la}.plist" "${ld}.plist" sudo launchctl load "${la}.plist" "${ld}.plist" 2> /dev/null }
**** =/etc/environment.sh=
set -e
if test -x /usr/libexec/path_helper; then
export PATH=""
eval /usr/libexec/path_helper -s
launchctl setenv PATH $PATH
fi
osascript -e 'tell app "Dock" to quit'
**** _environment_defaults
|----------------------------------------+-------------+------------+---------------------+------| | Domain | Key | Type | Value | Host | |----------------------------------------+-------------+------------+---------------------+------| | /Library/LaunchAgents/environment.user | KeepAlive | -bool | false | | | /Library/LaunchAgents/environment.user | Label | -string | environment.user | | | /Library/LaunchAgents/environment.user | ProcessType | -string | Background | | | /Library/LaunchAgents/environment.user | Program | -string | /etc/environment.sh | | | /Library/LaunchAgents/environment.user | RunAtLoad | -bool | true | | | /Library/LaunchAgents/environment.user | WatchPaths | -array-add | /etc/environment.sh | | | /Library/LaunchAgents/environment.user | WatchPaths | -array-add | /etc/paths | | | /Library/LaunchAgents/environment.user | WatchPaths | -array-add | /etc/paths.d | | | /Library/LaunchDaemons/environment | KeepAlive | -bool | false | | | /Library/LaunchDaemons/environment | Label | -string | environment | | | /Library/LaunchDaemons/environment | ProcessType | -string | Background | | | /Library/LaunchDaemons/environment | Program | -string | /etc/environment.sh | | | /Library/LaunchDaemons/environment | RunAtLoad | -bool | true | | | /Library/LaunchDaemons/environment | WatchPaths | -array-add | /etc/environment.sh | | | /Library/LaunchDaemons/environment | WatchPaths | -array-add | /etc/paths | | | /Library/LaunchDaemons/environment | WatchPaths | -array-add | /etc/paths.d | | |----------------------------------------+-------------+------------+---------------------+------|
*** Configure IPMenulet
config_ipmenulet () { _ipm="/Applications/IPMenulet.app/Contents/Resources" if test -d "$_ipm"; then rm "${_ipm}/icon-19x19-black.png" ln "${_ipm}/icon-19x19-white.png" "${_ipm}/icon-19x19-black.png" fi }
*** Configure iStat Menus
config_istatmenus () { test -d "/Applications/iStat Menus.app" && \ open "/Applications/iStat Menus.app" }
**** Notes
client_max_body_size 0;
location / { if ($http_x_plex_device_name = "") { rewrite ^/$ https://$host/web/index.html permanent; } }
*** Configure nginx
config_nginx () {
cat << 'EOF' > /usr/local/etc/nginx/nginx.conf
<
ld="/Library/LaunchDaemons/org.nginx.nginx"
sudo mkdir -p "$(dirname $ld)" sudo launchctl unload "${ld}.plist" 2> /dev/null sudo rm -f "${ld}.plist"
config_defaults "$_nginx_defaults" "sudo" sudo plutil -convert xml1 "${ld}.plist" sudo launchctl load "${ld}.plist" 2> /dev/null }
**** =/usr/local/etc/nginx/nginx.conf=
daemon off;
events { accept_mutex off; worker_connections 8000; }
http { charset utf-8; charset_types application/javascript application/json application/rss+xml application/xhtml+xml application/xml text/css text/plain text/vnd.wap.wml;
default_type application/octet-stream;
error_log /dev/stderr;
gzip on; gzip_comp_level 9; gzip_min_length 256; gzip_proxied any; gzip_static on; gzip_vary on;
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
index index.html index.xhtml;
log_format default '$host $status $body_bytes_sent "$request" "$http_referer"\n' ' $remote_addr "$http_user_agent"';
map $http_upgrade $connection_upgrade { default upgrade; "" close; }
proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off; proxy_redirect off;
sendfile on; sendfile_max_chunk 512k;
server_tokens off;
resolver 8.8.8.8 8.8.4.4 [2001:4860:4860::8888] [2001:4860:4860::8844] valid=300s; resolver_timeout 5s;
ssl_ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS:!AES128;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
ssl_ecdh_curve secp384r1; ssl_prefer_server_ciphers on; ssl_protocols TLSv1.2; ssl_session_cache shared:TLS:10m;
types { application/atom+xml atom; application/font-woff woff; application/font-woff2 woff2; application/java-archive ear jar war; application/javascript js; application/json json map topojson; application/ld+json jsonld; application/mac-binhex40 hqx; application/manifest+json webmanifest; application/msword doc; application/octet-stream bin deb dll dmg exe img iso msi msm msp safariextz; application/pdf pdf; application/postscript ai eps ps; application/rss+xml rss; application/rtf rtf; application/vnd.geo+json geojson; application/vnd.google-earth.kml+xml kml; application/vnd.google-earth.kmz kmz; application/vnd.ms-excel xls; application/vnd.ms-fontobject eot; application/vnd.ms-powerpoint ppt; application/vnd.openxmlformats-officedocument.presentationml.presentation pptx; application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx; application/vnd.openxmlformats-officedocument.wordprocessingml.document docx; application/vnd.wap.wmlc wmlc; application/x-7z-compressed 7z; application/x-bb-appworld bbaw; application/x-bittorrent torrent; application/x-chrome-extension crx; application/x-cocoa cco; application/x-font-ttf ttc ttf; application/x-java-archive-diff jardiff; application/x-java-jnlp-file jnlp; application/x-makeself run; application/x-opera-extension oex; application/x-perl pl pm; application/x-pilot pdb prc; application/x-rar-compressed rar; application/x-redhat-package-manager rpm; application/x-sea sea; application/x-shockwave-flash swf; application/x-stuffit sit; application/x-tcl tcl tk; application/x-web-app-manifest+json webapp; application/x-x509-ca-cert crt der pem; application/x-xpinstall xpi; application/xhtml+xml xhtml; application/xml rdf xml; application/xslt+xml xsl; application/zip zip; audio/midi mid midi kar; audio/mp4 aac f4a f4b m4a; audio/mpeg mp3; audio/ogg oga ogg opus; audio/x-realaudio ra; audio/x-wav wav; font/opentype otf; image/bmp bmp; image/gif gif; image/jpeg jpeg jpg; image/png png; image/svg+xml svg svgz; image/tiff tif tiff; image/vnd.wap.wbmp wbmp; image/webp webp; image/x-icon cur ico; image/x-jng jng; text/cache-manifest appcache; text/css css; text/html htm html shtml; text/mathml mml; text/plain txt; text/vcard vcard vcf; text/vnd.rim.location.xloc xloc; text/vnd.sun.j2me.app-descriptor jad; text/vnd.wap.wml wml; text/vtt vtt; text/x-component htc; video/3gpp 3gp 3gpp; video/mp4 f4p f4v m4v mp4; video/mpeg mpeg mpg; video/ogg ogv; video/quicktime mov; video/webm webm; video/x-flv flv; video/x-mng mng; video/x-ms-asf asf asx; video/x-ms-wmv wmv; video/x-msvideo avi; }
include servers/*.conf; }
worker_processes auto;
**** _nginx_defaults
|----------------------------------------+-------------------+------------+-------------------------------------+------| | Domain | Key | Type | Value | Host | |----------------------------------------+-------------------+------------+-------------------------------------+------| | /Library/LaunchDaemons/org.nginx.nginx | KeepAlive | -bool | true | | | /Library/LaunchDaemons/org.nginx.nginx | Label | -string | org.nginx.nginx | | | /Library/LaunchDaemons/org.nginx.nginx | ProcessType | -string | Background | | | /Library/LaunchDaemons/org.nginx.nginx | Program | -string | /usr/local/bin/nginx | | | /Library/LaunchDaemons/org.nginx.nginx | RunAtLoad | -bool | true | | | /Library/LaunchDaemons/org.nginx.nginx | StandardErrorPath | -string | /usr/local/var/log/nginx/error.log | | | /Library/LaunchDaemons/org.nginx.nginx | StandardOutPath | -string | /usr/local/var/log/nginx/access.log | | | /Library/LaunchDaemons/org.nginx.nginx | UserName | -string | root | | | /Library/LaunchDaemons/org.nginx.nginx | WatchPaths | -array-add | /usr/local/etc/nginx | | |----------------------------------------+-------------------+------------+-------------------------------------+------|
*** Configure OpenSSL Create an intentionally invalid certificate for use with a DNS-based ad blocker, e.g. https://pi-hole.net
config_openssl () { _default="/etc/letsencrypt/live/default" test -d "$_default" || mkdir -p "$_default"
cat << EOF > "${_default}/default.cnf"
<
openssl req -days 1 -new -newkey rsa -x509 \ -config "${_default}/default.cnf" \ -out "${_default}/default.crt"
cat << EOF > "/usr/local/etc/nginx/servers/default.conf"
<
**** =/etc/letsencrypt/live/default/default.cnf=
[ req ] default_bits = 4096 default_keyfile = ${_default}/default.key default_md = sha256 distinguished_name = dn encrypt_key = no prompt = no utf8 = yes x509_extensions = v3_ca
[ dn ] CN = *
[ v3_ca ] subjectKeyIdentifier = hash authorityKeyIdentifier = keyid:always,issuer basicConstraints = CA:true
**** =/usr/local/etc/nginx/servers/default.conf=
server { server_name .$(hostname -f | cut -d. -f2-);
listen 80; listen [::]:80;
return 301 https://\$host\$request_uri; }
server { listen 80 default_server; listen [::]:80 default_server;
listen 443 default_server ssl http2; listen [::]:443 default_server ssl http2;
ssl_certificate ${_default}/default.crt; ssl_certificate_key ${_default}/default.key;
ssl_ciphers NULL;
return 204; }
*** Configure System Preferences
config_sysprefs () { config_energy config_loginwindow config_mas }
**** Configure Energy Saver
config_energy () { printf "%s\n" "${_energy}" | \ while IFS="$(printf '\t')" read flag setting value; do sudo pmset $flag ${setting} ${value} done }
***** _energy
|--------------------------------------------------------------------------------------+------+--------------+-------| | Preference | Flag | Setting | Value | |--------------------------------------------------------------------------------------+------+--------------+-------| | Power: Turn display off after: ~20 min~ | -c | displaysleep | 20 | | Power: ~on~ Prevent computer from sleeping automatically when the display is off | -c | sleep | 0 | | Power: ~60 min~ Put hard disks to sleep when possible | -c | disksleep | 60 | | Power: ~on~ Wake for network access | -c | womp | 1 | | Power: ~on~ Start up automatically after a power failure | -c | autorestart | 1 | | Power: ~on~ Enable Power Nap | -c | powernap | 1 | | UPS: Turn display off after: ~2 min~ | -u | displaysleep | 2 | | UPS: ~on~ Slightly dim the display when using this power source | -u | lessbright | 1 | | UPS: ~on~ Shut down the computer after using the UPS battery for: ~5 min~ | -u | haltafter | 5 | | UPS: ~off~ Shut down the computer when the time remaining on the UPS battery is: | -u | haltremain | -1 | | UPS: ~off~ Shut down the computer when the UPS battery level is below: | -u | haltlevel | -1 | |--------------------------------------------------------------------------------------+------+--------------+-------|
**** Configure Login Window
config_loginwindow () { config_defaults "${_loginwindow}" "sudo" }
**** _loginwindow
|------------------------------------------------+--------------------------------------------+--------------+-------+-------+------| | Preference | Domain | Key | Type | Value | Host | |------------------------------------------------+--------------------------------------------+--------------+-------+-------+------| | Display login window as: ~Name and password~ | /Library/Preferences/com.apple.loginwindow | SHOWFULLNAME | -bool | true | | |------------------------------------------------+--------------------------------------------+--------------+-------+-------+------|
**** Configure App Store
config_mas () { config_defaults "${_swupdate}" "sudo" }
**** _swupdate
|------------------------------+-----------------------------------------+---------------------------+-------+-------+------| | Preference | Domain | Key | Type | Value | Host | |------------------------------+-----------------------------------------+---------------------------+-------+-------+------| | ~on~ Install app updates | /Library/Preferences/com.apple.commerce | AutoUpdate | -bool | true | | | ~on~ Install macOS updates | /Library/Preferences/com.apple.commerce | AutoUpdateRestartRequired | -bool | true | | |------------------------------+-----------------------------------------+---------------------------+-------+-------+------|
*** Configure Z-Shell
config_zsh () { grep -q "$(which zsh)" /etc/shells || print "$(which zsh)\n" | \ sudo tee -a /etc/shells > /dev/null
case "$SHELL" in ($(which zsh)) ;; (*) chsh -s "$(which zsh)" sudo chsh -s $(which zsh) ;; esac
sudo tee -a /etc/zshenv << 'EOF' > /dev/null
<
sudo tee /etc/zshrc << 'EOF' > /dev/null
<
**** =/etc/zshenv=
export \ ZDOTDIR="${HOME}/.zsh" \ MASDIR="$(getconf DARWIN_USER_CACHE_DIR)com.apple.appstore" \ NODENV_ROOT="/usr/local/node" \ PLENV_ROOT="/usr/local/perl" \ PYENV_ROOT="/usr/local/python" \ RBENV_ROOT="/usr/local/ruby" \ EDITOR="vi" \ VISUAL="vi" \ PAGER="less" \ LANG="en_US.UTF-8" \ LESS="-egiMQRS -x2 -z-2" \ LESSHISTFILE="/dev/null" \ HISTSIZE=50000 \ SAVEHIST=50000 \ KEYTIMEOUT=1
test -d "$ZDOTDIR" || \ mkdir -p "$ZDOTDIR"
test -f "${ZDOTDIR}/.zshrc" || \ touch "${ZDOTDIR}/.zshrc"
typeset -gU cdpath fpath mailpath path
**** =/etc/zshrc=
export \ HISTFILE="${ZDOTDIR:-$HOME}/.zhistory"
setopt \ autocd \ autopushd \ cdablevars \ chasedots \ chaselinks \ NO_posixcd \ pushdignoredups \ no_pushdminus \ pushdsilent \ pushdtohome
setopt \ ALWAYSLASTPROMPT \ no_alwaystoend \ AUTOLIST \ AUTOMENU \ autonamedirs \ AUTOPARAMKEYS \ AUTOPARAMSLASH \ AUTOREMOVESLASH \ no_bashautolist \ no_completealiases \ completeinword \ no_globcomplete \ HASHLISTALL \ LISTAMBIGUOUS \ no_LISTBEEP \ no_listpacked \ no_listrowsfirst \ LISTTYPES \ no_menucomplete \ no_recexact
setopt \ BADPATTERN \ BAREGLOBQUAL \ braceccl \ CASEGLOB \ CASEMATCH \ NO_cshnullglob \ EQUALS \ extendedglob \ no_forcefloat \ GLOB \ NO_globassign \ no_globdots \ no_globstarshort \ NO_globsubst \ no_histsubstpattern \ NO_ignorebraces \ no_ignoreclosebraces \ NO_kshglob \ no_magicequalsubst \ no_markdirs \ MULTIBYTE \ NOMATCH \ no_nullglob \ no_numericglobsort \ no_rcexpandparam \ no_rematchpcre \ NO_shglob \ UNSET \ no_warncreateglobal \ no_warnnestedvar
setopt \ APPENDHISTORY \ BANGHIST \ extendedhistory \ no_histallowclobber \ no_HISTBEEP \ histexpiredupsfirst \ no_histfcntllock \ histfindnodups \ histignorealldups \ histignoredups \ histignorespace \ histlexwords \ no_histnofunctions \ no_histnostore \ histreduceblanks \ HISTSAVEBYCOPY \ histsavenodups \ histverify \ incappendhistory \ incappendhistorytime \ sharehistory
setopt \ no_allexport \ GLOBALEXPORT \ GLOBALRCS \ RCS
setopt \ ALIASES \ no_CLOBBER \ no_correct \ no_correctall \ dvorak \ no_FLOWCONTROL \ no_ignoreeof \ NO_interactivecomments \ HASHCMDS \ HASHDIRS \ no_hashexecutablesonly \ no_mailwarning \ pathdirs \ NO_pathscript \ no_printeightbit \ no_printexitvalue \ rcquotes \ NO_rmstarsilent \ no_rmstarwait \ SHORTLOOPS \ no_sunkeyboardhack
setopt \ no_autocontinue \ autoresume \ no_BGNICE \ CHECKJOBS \ no_HUP \ longlistjobs \ MONITOR \ NOTIFY \ NO_posixjobs
setopt \ NO_promptbang \ PROMPTCR \ PROMPTSP \ PROMPTPERCENT \ promptsubst \ transientrprompt
setopt \ NO_aliasfuncdef \ no_cbases \ no_cprecedences \ DEBUGBEFORECMD \ no_errexit \ no_errreturn \ EVALLINENO \ EXEC \ FUNCTIONARGZERO \ no_localloops \ NO_localoptions \ no_localpatterns \ NO_localtraps \ MULTIFUNCDEF \ MULTIOS \ NO_octalzeroes \ no_pipefail \ no_sourcetrace \ no_typesetsilent \ no_verbose \ no_xtrace
setopt \ NO_appendcreate \ no_bashrematch \ NO_bsdecho \ no_continueonerror \ NO_cshjunkiehistory \ NO_cshjunkieloops \ NO_cshjunkiequotes \ NO_cshnullcmd \ NO_ksharrays \ NO_kshautoload \ NO_kshoptionprint \ no_kshtypeset \ no_kshzerosubscript \ NO_posixaliases \ no_posixargzero \ NO_posixbuiltins \ NO_posixidentifiers \ NO_posixstrings \ NO_posixtraps \ NO_shfileexpansion \ NO_shnullcmd \ NO_shoptionletters \ NO_shwordsplit \ no_trapsasync
setopt \ no_BEEP \ combiningchars \ no_overstrike \ NO_singlelinezle
alias \ ll="/bin/ls -aFGHhlOw"
autoload -Uz \ add-zsh-hook \ compaudit \ compinit
compaudit 2> /dev/null | \ xargs -L 1 chmod go-w 2> /dev/null
compinit -u
which nodenv > /dev/null && \ eval "$(nodenv init - zsh)"
which plenv > /dev/null && \ eval "$(plenv init - zsh)"
which pyenv > /dev/null && \ eval "$(pyenv init - zsh)"
which rbenv > /dev/null && \ eval "$(rbenv init - zsh)"
sf () { SetFile -P -d "$1 12:00:00" -m "$1 12:00:00" $argv[2,$] }
ssh-add -A 2> /dev/null
. "$(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
. "$(brew --prefix)/share/zsh-history-substring-search/zsh-history-substring-search.zsh"
HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND="fg=default,underline" && \ export HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND="fg=red,underline" && \ export HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND
zmodload zsh/zle
bindkey -d bindkey -v
for k in "vicmd" "viins"; do bindkey -M $k '\C-A' beginning-of-line bindkey -M $k '\C-E' end-of-line bindkey -M $k '\C-U' kill-whole-line bindkey -M $k '\e[3~' delete-char bindkey -M $k '\e[A' history-substring-search-up bindkey -M $k '\e[B' history-substring-search-down bindkey -M $k '\x7f' backward-delete-char done
for f in \ "zle-keymap-select" \ "zle-line-finish" \ "zle-line-init" do eval "$f () { case \$TERM_PROGRAM in ('Apple_Terminal') test \$KEYMAP = 'vicmd' && \ printf '%b' '\e[4 q' || \ printf '%b' '\e[6 q' ;; ('iTerm.app') test \$KEYMAP = 'vicmd' && \ printf '%b' '\e]Plf27f7f\e\x5c\e[4 q' || \ printf '%b' '\e]Pl99cc99\e\x5c\e[6 q' ;; esac }" zle -N $f done
prompt_ptb_setup () { I="$(printf '%b' '%{\e[3m%}')" i="$(printf '%b' '%{\e[0m%}')" PROMPT="%F{004}$I%d$i %(!.%F{001}.%F{002})%n %B❯%b%f " && \ export PROMPT }
prompt_ptb_setup
prompt_ptb_precmd () { if test "$(uname -s)" = "Darwin"; then print -Pn "\e]7;file://%M\${PWD// /%%20}\a" print -Pn "\e]2;%n@%m\a" print -Pn "\e]1;%~\a" fi
test -n "$(git rev-parse --git-dir 2> /dev/null)" && \ RPROMPT="%F{000}$(git rev-parse --abbrev-ref HEAD 2> /dev/null)%f" && \ export RPROMPT }
add-zsh-hook precmd \ prompt_ptb_precmd
*** Configure New Account
config_new_account () { e="$(ask 'New macOS Account: Email Address?' 'OK' '')" curl --output "/Library/User Pictures/${e}.jpg" --silent \ "https://www.gravatar.com/avatar/$(md5 -qs ${e}).jpg?s=512"
g="$(curl --location --silent \ "https://api.github.com/search/users?q=${e}" | \ sed -n 's/^."url": "(.)".*/\1/p')" g="$(curl --location --silent ${g})"
n="$(printf ${g} | sed -n 's/^."name": "(.)".*/\1/p')" n="$(ask 'New macOS Account: Real Name?' 'OK' ${n})"
u="$(printf ${g} | sed -n 's/^."login": "(.)".*/\1/p')" u="$(ask 'New macOS Account: User Name?' 'OK' ${u})"
sudo defaults write \ "/System/Library/User Template/Non_localized/Library/Preferences/.GlobalPreferences.plist" \ "com.apple.swipescrolldirection" -bool false
sudo sysadminctl -admin -addUser "${u}" -fullName "${n}" -password - \ -shell "$(which zsh)" -picture "/Library/User Pictures/${e}.jpg" }
*** Configure Guest Users
config_guest () { sudo sysadminctl -guestAccount off }
*** Reinstate =sudo= Password
config_rm_sudoers () { sudo -- sh -c \ "rm -f /etc/sudoers.d/wheel; dscl /Local/Default -delete /Groups/wheel GroupMembership $(whoami)"
/usr/bin/read -n 1 -p "Press any key to continue. " -s if run "Log Out Then Log Back In?" "Cancel" "Log Out"; then osascript -e 'tell app "loginwindow" to «event aevtrlgo»' fi }
** Customize
*** Define Function =custom=
custom () { custom_githome custom_atom custom_autoping custom_dropbox custom_duti custom_emacs custom_finder custom_getmail custom_git custom_gnupg custom_istatmenus custom_meteorologist custom_moom custom_mp4_automator custom_nvalt custom_nzbget custom_safari custom_sieve custom_sonarr custom_ssh custom_sysprefs custom_terminal custom_vim custom_vlc
which personalize_all }
*** Customize Home
custom_githome () { git -C "${HOME}" init
test -f "${CACHES}/dbx/.zshenv" && \ mkdir -p "${ZDOTDIR:-$HOME}" && \ cp "${CACHES}/dbx/.zshenv" "${ZDOTDIR:-$HOME}" && \ . "${ZDOTDIR:-$HOME}/.zshenv"
a=$(ask "Existing Git Home Repository Path or URL" "Add Remote" "") if test -n "${a}"; then git -C "${HOME}" remote add origin "${a}" git -C "${HOME}" fetch origin master fi
if run "Encrypt and commit changes to Git and push to GitHub, automatically?" "No" "Add AutoKeep"; then curl --location --silent \ "https://github.com/ptb/autokeep/raw/master/autokeep.command" | \ . /dev/stdin 0
autokeep_remote
autokeep_push
autokeep_gitignore
autokeep_post_commit
autokeep_launchagent
autokeep_crypt
git reset --hard
git checkout -f -b master FETCH_HEAD
fi
chmod -R go= "${HOME}" > /dev/null 2>&1 }
*** Customize Atom
custom_atom () { if which apm > /dev/null; then mkdir -p "${HOME}/.atom/.apm"
cat << EOF > "${HOME}/.atom/.apmrc"
cache = ${CACHES}/apm EOF
cat << EOF > "${HOME}/.atom/.apm/.apmrc"
cache = ${CACHES}/apm EOF
printf "%s\n" "${_atom}" | \
while IFS="$(printf '\t')" read pkg; do
test -d "${HOME}/.atom/packages/${pkg}" ||
apm install "${pkg}"
done
cat << EOF > "${HOME}/.atom/config.cson"
<
cat << EOF > "${HOME}/.atom/packages/tomorrow-night-eighties-syntax/styles/colors.less"
<
**** _atom
|--------------------------------+---------------------------------------------------------| | Atom Package Name | Reference URL | |--------------------------------+---------------------------------------------------------| | atom-beautify | https://atom.io/packages/atom-beautify | | atom-css-comb | https://atom.io/packages/atom-css-comb | | atom-fuzzy-grep | https://atom.io/packages/atom-fuzzy-grep | | atom-jade | https://atom.io/packages/atom-jade | | atom-wallaby | https://atom.io/packages/atom-wallaby | | autoclose-html | https://atom.io/packages/autoclose-html | | autocomplete-python | https://atom.io/packages/autocomplete-python | | busy-signal | https://atom.io/packages/busy-signal | | double-tag | https://atom.io/packages/double-tag | | editorconfig | https://atom.io/packages/editorconfig | | ex-mode | https://atom.io/packages/ex-mode | | file-icons | https://atom.io/packages/file-icons | | git-plus | https://atom.io/packages/git-plus | | git-time-machine | https://atom.io/packages/git-time-machine | | highlight-selected | https://atom.io/packages/highlight-selected | | intentions | https://atom.io/packages/intentions | | language-docker | https://atom.io/packages/language-docker | | language-jade | https://atom.io/packages/language-jade | | language-javascript-jsx | https://atom.io/packages/language-javascript-jsx | | language-lisp | https://atom.io/packages/language-lisp | | language-slim | https://atom.io/packages/language-slim | | linter | https://atom.io/packages/linter | | linter-eslint | https://atom.io/packages/linter-eslint | | linter-rubocop | https://atom.io/packages/linter-rubocop | | linter-shellcheck | https://atom.io/packages/linter-shellcheck | | linter-ui-default | https://atom.io/packages/linter-ui-default | | MagicPython | https://atom.io/packages/MagicPython | | python-yapf | https://atom.io/packages/python-yapf | | react | https://atom.io/packages/react | | riot | https://atom.io/packages/riot | | sort-lines | https://atom.io/packages/sort-lines | | term3 | https://atom.io/packages/term3 | | tomorrow-night-eighties-syntax | https://atom.io/packages/tomorrow-night-eighties-syntax | | tree-view-open-files | https://atom.io/packages/tree-view-open-files | | vim-mode-plus | https://atom.io/packages/vim-mode-plus | | vim-mode-zz | https://atom.io/packages/vim-mode-zz | |--------------------------------+---------------------------------------------------------|
**** =${HOME}/.atom/config.cson=
"*": "autocomplete-python": useKite: false core: telemetryConsent: "limited" themes: [ "one-dark-ui" "tomorrow-night-eighties-syntax" ] editor: fontFamily: "Inconsolata LGC" fontSize: 13 welcome: showOnStartup: false
**** =${HOME}/.atom/packages/tomorrow-night-eighties-syntax/styles/colors.less=
@background: #222222; @current-line: #333333; @selection: #4c4c4c; @foreground: #cccccc; @comment: #999999; @red: #f27f7f; @orange: #ff994c; @yellow: #ffcc66; @green: #99cc99; @aqua: #66cccc; @blue: #6699cc; @purple: #cc99cc;
*** Customize autoping
custom_autoping () { config_defaults "${_autoping}" }
**** _autoping
|----------------------------------+---------------------+----------------------+---------+------------+------| | Preference | Domain | Key | Type | Value | Host | |----------------------------------+---------------------+----------------------+---------+------------+------| | Host to Ping | com.memset.autoping | Hostname | -string | google.com | | | Slow Ping Threshold (ms) ~100~ | com.memset.autoping | SlowPingLowThreshold | -int | 100 | | | Launch at Login ~on~ | com.memset.autoping | LaunchAtLogin | -bool | true | | | Display ~Icon and Text~ | com.memset.autoping | ShowIcon | -bool | true | | | | com.memset.autoping | ShowText | -bool | true | | | Packet Loss Text ~on~ | com.memset.autoping | ShowPacketLossText | -bool | true | | | Connection Up/Down Alerts ~on~ | com.memset.autoping | ShowNotifications | -bool | true | | |----------------------------------+---------------------+----------------------+---------+------------+------|
*** Customize Dropbox
custom_dropbox () { test -d "/Applications/Dropbox.app" && \ open "/Applications/Dropbox.app" }
*** Customize Default UTIs
custom_duti () { if test -x "/usr/local/bin/duti"; then test -f "${HOME}/Library/Preferences/org.duti.plist" && \ rm "${HOME}/Library/Preferences/org.duti.plist"
printf "%s\n" "${_duti}" | \
while IFS="$(printf '\t')" read id uti role; do
defaults write org.duti DUTISettings -array-add \
"{
DUTIBundleIdentifier = '$a';
DUTIUniformTypeIdentifier = '$b';
DUTIRole = '$c';
}"
done
duti "${HOME}/Library/Preferences/org.duti.plist" 2> /dev/null
fi }
**** _duti
|----------------------------+--------------------------------------------------------+--------| | Bundle ID | UTI | Role | |----------------------------+--------------------------------------------------------+--------| | com.apple.DiskImageMounter | com.apple.disk-image | all | | com.apple.DiskImageMounter | public.disk-image | all | | com.apple.DiskImageMounter | public.iso-image | all | | com.apple.QuickTimePlayerX | com.apple.coreaudio-format | all | | com.apple.QuickTimePlayerX | com.apple.quicktime-movie | all | | com.apple.QuickTimePlayerX | com.microsoft.waveform-audio | all | | com.apple.QuickTimePlayerX | public.aifc-audio | all | | com.apple.QuickTimePlayerX | public.aiff-audio | all | | com.apple.QuickTimePlayerX | public.audio | all | | com.apple.QuickTimePlayerX | public.mp3 | all | | com.apple.Safari | com.compuserve.gif | all | | com.apple.Terminal | com.apple.terminal.shell-script | all | | com.apple.iTunes | com.apple.iTunes.audible | all | | com.apple.iTunes | com.apple.iTunes.ipg | all | | com.apple.iTunes | com.apple.iTunes.ipsw | all | | com.apple.iTunes | com.apple.iTunes.ite | all | | com.apple.iTunes | com.apple.iTunes.itlp | all | | com.apple.iTunes | com.apple.iTunes.itms | all | | com.apple.iTunes | com.apple.iTunes.podcast | all | | com.apple.iTunes | com.apple.m4a-audio | all | | com.apple.iTunes | com.apple.mpeg-4-ringtone | all | | com.apple.iTunes | com.apple.protected-mpeg-4-audio | all | | com.apple.iTunes | com.apple.protected-mpeg-4-video | all | | com.apple.iTunes | com.audible.aa-audio | all | | com.apple.iTunes | public.mpeg-4-audio | all | | com.apple.installer | com.apple.installer-package-archive | all | | com.github.atom | com.apple.binary-property-list | editor | | com.github.atom | com.apple.crashreport | editor | | com.github.atom | com.apple.dt.document.ascii-property-list | editor | | com.github.atom | com.apple.dt.document.script-suite-property-list | editor | | com.github.atom | com.apple.dt.document.script-terminology-property-list | editor | | com.github.atom | com.apple.log | editor | | com.github.atom | com.apple.property-list | editor | | com.github.atom | com.apple.rez-source | editor | | com.github.atom | com.apple.symbol-export | editor | | com.github.atom | com.apple.xcode.ada-source | editor | | com.github.atom | com.apple.xcode.bash-script | editor | | com.github.atom | com.apple.xcode.configsettings | editor | | com.github.atom | com.apple.xcode.csh-script | editor | | com.github.atom | com.apple.xcode.fortran-source | editor | | com.github.atom | com.apple.xcode.ksh-script | editor | | com.github.atom | com.apple.xcode.lex-source | editor | | com.github.atom | com.apple.xcode.make-script | editor | | com.github.atom | com.apple.xcode.mig-source | editor | | com.github.atom | com.apple.xcode.pascal-source | editor | | com.github.atom | com.apple.xcode.strings-text | editor | | com.github.atom | com.apple.xcode.tcsh-script | editor | | com.github.atom | com.apple.xcode.yacc-source | editor | | com.github.atom | com.apple.xcode.zsh-script | editor | | com.github.atom | com.apple.xml-property-list | editor | | com.github.atom | com.barebones.bbedit.actionscript-source | editor | | com.github.atom | com.barebones.bbedit.erb-source | editor | | com.github.atom | com.barebones.bbedit.ini-configuration | editor | | com.github.atom | com.barebones.bbedit.javascript-source | editor | | com.github.atom | com.barebones.bbedit.json-source | editor | | com.github.atom | com.barebones.bbedit.jsp-source | editor | | com.github.atom | com.barebones.bbedit.lasso-source | editor | | com.github.atom | com.barebones.bbedit.lua-source | editor | | com.github.atom | com.barebones.bbedit.setext-source | editor | | com.github.atom | com.barebones.bbedit.sql-source | editor | | com.github.atom | com.barebones.bbedit.tcl-source | editor | | com.github.atom | com.barebones.bbedit.tex-source | editor | | com.github.atom | com.barebones.bbedit.textile-source | editor | | com.github.atom | com.barebones.bbedit.vbscript-source | editor | | com.github.atom | com.barebones.bbedit.vectorscript-source | editor | | com.github.atom | com.barebones.bbedit.verilog-hdl-source | editor | | com.github.atom | com.barebones.bbedit.vhdl-source | editor | | com.github.atom | com.barebones.bbedit.yaml-source | editor | | com.github.atom | com.netscape.javascript-source | editor | | com.github.atom | com.sun.java-source | editor | | com.github.atom | dyn.ah62d4rv4ge80255drq | all | | com.github.atom | dyn.ah62d4rv4ge80g55gq3w0n | all | | com.github.atom | dyn.ah62d4rv4ge80g55sq2 | all | | com.github.atom | dyn.ah62d4rv4ge80y2xzrf0gk3pw | all | | com.github.atom | dyn.ah62d4rv4ge81e3dtqq | all | | com.github.atom | dyn.ah62d4rv4ge81e7k | all | | com.github.atom | dyn.ah62d4rv4ge81g25xsq | all | | com.github.atom | dyn.ah62d4rv4ge81g2pxsq | all | | com.github.atom | net.daringfireball.markdown | editor | | com.github.atom | public.assembly-source | editor | | com.github.atom | public.c-header | editor | | com.github.atom | public.c-plus-plus-source | editor | | com.github.atom | public.c-source | editor | | com.github.atom | public.csh-script | editor | | com.github.atom | public.json | editor | | com.github.atom | public.lex-source | editor | | com.github.atom | public.log | editor | | com.github.atom | public.mig-source | editor | | com.github.atom | public.nasm-assembly-source | editor | | com.github.atom | public.objective-c-plus-plus-source | editor | | com.github.atom | public.objective-c-source | editor | | com.github.atom | public.patch-file | editor | | com.github.atom | public.perl-script | editor | | com.github.atom | public.php-script | editor | | com.github.atom | public.plain-text | editor | | com.github.atom | public.precompiled-c-header | editor | | com.github.atom | public.precompiled-c-plus-plus-header | editor | | com.github.atom | public.python-script | editor | | com.github.atom | public.ruby-script | editor | | com.github.atom | public.script | editor | | com.github.atom | public.shell-script | editor | | com.github.atom | public.source-code | editor | | com.github.atom | public.text | editor | | com.github.atom | public.utf16-external-plain-text | editor | | com.github.atom | public.utf16-plain-text | editor | | com.github.atom | public.utf8-plain-text | editor | | com.github.atom | public.xml | editor | | com.kodlian.Icon-Slate | com.apple.icns | all | | com.kodlian.Icon-Slate | com.microsoft.ico | all | | com.microsoft.Word | public.rtf | all | | com.panayotis.jubler | dyn.ah62d4rv4ge81g6xy | all | | com.sketchup.SketchUp.2017 | com.sketchup.skp | all | | com.VortexApps.NZBVortex3 | dyn.ah62d4rv4ge8068xc | all | | com.vmware.fusion | com.microsoft.windows-executable | all | | cx.c3.theunarchiver | com.alcohol-soft.mdf-image | all | | cx.c3.theunarchiver | com.allume.stuffit-archive | all | | cx.c3.theunarchiver | com.altools.alz-archive | all | | cx.c3.theunarchiver | com.amiga.adf-archive | all | | cx.c3.theunarchiver | com.amiga.adz-archive | all | | cx.c3.theunarchiver | com.apple.applesingle-archive | all | | cx.c3.theunarchiver | com.apple.binhex-archive | all | | cx.c3.theunarchiver | com.apple.bom-compressed-cpio | all | | cx.c3.theunarchiver | com.apple.itunes.ipa | all | | cx.c3.theunarchiver | com.apple.macbinary-archive | all | | cx.c3.theunarchiver | com.apple.self-extracting-archive | all | | cx.c3.theunarchiver | com.apple.xar-archive | all | | cx.c3.theunarchiver | com.apple.xip-archive | all | | cx.c3.theunarchiver | com.cyclos.cpt-archive | all | | cx.c3.theunarchiver | com.microsoft.cab-archive | all | | cx.c3.theunarchiver | com.microsoft.msi-installer | all | | cx.c3.theunarchiver | com.nero.nrg-image | all | | cx.c3.theunarchiver | com.network172.pit-archive | all | | cx.c3.theunarchiver | com.nowsoftware.now-archive | all | | cx.c3.theunarchiver | com.nscripter.nsa-archive | all | | cx.c3.theunarchiver | com.padus.cdi-image | all | | cx.c3.theunarchiver | com.pkware.zip-archive | all | | cx.c3.theunarchiver | com.rarlab.rar-archive | all | | cx.c3.theunarchiver | com.redhat.rpm-archive | all | | cx.c3.theunarchiver | com.stuffit.archive.sit | all | | cx.c3.theunarchiver | com.stuffit.archive.sitx | all | | cx.c3.theunarchiver | com.sun.java-archive | all | | cx.c3.theunarchiver | com.symantec.dd-archive | all | | cx.c3.theunarchiver | com.winace.ace-archive | all | | cx.c3.theunarchiver | com.winzip.zipx-archive | all | | cx.c3.theunarchiver | cx.c3.arc-archive | all | | cx.c3.theunarchiver | cx.c3.arj-archive | all | | cx.c3.theunarchiver | cx.c3.dcs-archive | all | | cx.c3.theunarchiver | cx.c3.dms-archive | all | | cx.c3.theunarchiver | cx.c3.ha-archive | all | | cx.c3.theunarchiver | cx.c3.lbr-archive | all | | cx.c3.theunarchiver | cx.c3.lha-archive | all | | cx.c3.theunarchiver | cx.c3.lhf-archive | all | | cx.c3.theunarchiver | cx.c3.lzx-archive | all | | cx.c3.theunarchiver | cx.c3.packdev-archive | all | | cx.c3.theunarchiver | cx.c3.pax-archive | all | | cx.c3.theunarchiver | cx.c3.pma-archive | all | | cx.c3.theunarchiver | cx.c3.pp-archive | all | | cx.c3.theunarchiver | cx.c3.xmash-archive | all | | cx.c3.theunarchiver | cx.c3.zoo-archive | all | | cx.c3.theunarchiver | cx.c3.zoom-archive | all | | cx.c3.theunarchiver | org.7-zip.7-zip-archive | all | | cx.c3.theunarchiver | org.archive.warc-archive | all | | cx.c3.theunarchiver | org.debian.deb-archive | all | | cx.c3.theunarchiver | org.gnu.gnu-tar-archive | all | | cx.c3.theunarchiver | org.gnu.gnu-zip-archive | all | | cx.c3.theunarchiver | org.gnu.gnu-zip-tar-archive | all | | cx.c3.theunarchiver | org.tukaani.lzma-archive | all | | cx.c3.theunarchiver | org.tukaani.xz-archive | all | | cx.c3.theunarchiver | public.bzip2-archive | all | | cx.c3.theunarchiver | public.cpio-archive | all | | cx.c3.theunarchiver | public.tar-archive | all | | cx.c3.theunarchiver | public.tar-bzip2-archive | all | | cx.c3.theunarchiver | public.z-archive | all | | cx.c3.theunarchiver | public.zip-archive | all | | cx.c3.theunarchiver | public.zip-archive.first-part | all | | org.gnu.Emacs | dyn.ah62d4rv4ge8086xh | all | | org.inkscape.Inkscape | public.svg-image | editor | | org.videolan.vlc | com.apple.m4v-video | all | | org.videolan.vlc | com.microsoft.windows-media-wmv | all | | org.videolan.vlc | org.videolan.3gp | all | | org.videolan.vlc | org.videolan.aac | all | | org.videolan.vlc | org.videolan.ac3 | all | | org.videolan.vlc | org.videolan.aiff | all | | org.videolan.vlc | org.videolan.amr | all | | org.videolan.vlc | org.videolan.aob | all | | org.videolan.vlc | org.videolan.ape | all | | org.videolan.vlc | org.videolan.asf | all | | org.videolan.vlc | org.videolan.avi | all | | org.videolan.vlc | org.videolan.axa | all | | org.videolan.vlc | org.videolan.axv | all | | org.videolan.vlc | org.videolan.divx | all | | org.videolan.vlc | org.videolan.dts | all | | org.videolan.vlc | org.videolan.dv | all | | org.videolan.vlc | org.videolan.flac | all | | org.videolan.vlc | org.videolan.flash | all | | org.videolan.vlc | org.videolan.gxf | all | | org.videolan.vlc | org.videolan.it | all | | org.videolan.vlc | org.videolan.mid | all | | org.videolan.vlc | org.videolan.mka | all | | org.videolan.vlc | org.videolan.mkv | all | | org.videolan.vlc | org.videolan.mlp | all | | org.videolan.vlc | org.videolan.mod | all | | org.videolan.vlc | org.videolan.mpc | all | | org.videolan.vlc | org.videolan.mpeg-audio | all | | org.videolan.vlc | org.videolan.mpeg-stream | all | | org.videolan.vlc | org.videolan.mpeg-video | all | | org.videolan.vlc | org.videolan.mxf | all | | org.videolan.vlc | org.videolan.nsv | all | | org.videolan.vlc | org.videolan.nuv | all | | org.videolan.vlc | org.videolan.ogg-audio | all | | org.videolan.vlc | org.videolan.ogg-video | all | | org.videolan.vlc | org.videolan.oma | all | | org.videolan.vlc | org.videolan.opus | all | | org.videolan.vlc | org.videolan.quicktime | all | | org.videolan.vlc | org.videolan.realmedia | all | | org.videolan.vlc | org.videolan.rec | all | | org.videolan.vlc | org.videolan.rmi | all | | org.videolan.vlc | org.videolan.s3m | all | | org.videolan.vlc | org.videolan.spx | all | | org.videolan.vlc | org.videolan.tod | all | | org.videolan.vlc | org.videolan.tta | all | | org.videolan.vlc | org.videolan.vob | all | | org.videolan.vlc | org.videolan.voc | all | | org.videolan.vlc | org.videolan.vqf | all | | org.videolan.vlc | org.videolan.vro | all | | org.videolan.vlc | org.videolan.wav | all | | org.videolan.vlc | org.videolan.webm | all | | org.videolan.vlc | org.videolan.wma | all | | org.videolan.vlc | org.videolan.wmv | all | | org.videolan.vlc | org.videolan.wtv | all | | org.videolan.vlc | org.videolan.wv | all | | org.videolan.vlc | org.videolan.xa | all | | org.videolan.vlc | org.videolan.xesc | all | | org.videolan.vlc | org.videolan.xm | all | | org.videolan.vlc | public.ac3-audio | all | | org.videolan.vlc | public.audiovisual-content | all | | org.videolan.vlc | public.avi | all | | org.videolan.vlc | public.movie | all | | org.videolan.vlc | public.mpeg | all | | org.videolan.vlc | public.mpeg-2-video | all | | org.videolan.vlc | public.mpeg-4 | all | |----------------------------+--------------------------------------------------------+--------|
*** Customize Emacs
custom_emacs () { mkdir -p "${HOME}/.emacs.d" && \ curl --compressed --location --silent \ "https://github.com/syl20bnr/spacemacs/archive/master.tar.gz" | \ tar -C "${HOME}/.emacs.d" --strip-components 1 -xf - mkdir -p "${HOME}/.emacs.d/private/ptb" chmod -R go= "${HOME}/.emacs.d"
cat << EOF > "${HOME}/.spacemacs" <<.spacemacs>> EOF
cat << EOF > "${HOME}/.emacs.d/private/ptb/config.el"
<
cat << EOF > "${HOME}/.emacs.d/private/ptb/funcs.el"
<
cat << EOF > "${HOME}/.emacs.d/private/ptb/keybindings.el"
<
cat << EOF > "${HOME}/.emacs.d/private/ptb/packages.el"
<
**** =~/.spacemacs=
(defun dotspacemacs/layers () (setq-default dotspacemacs-configuration-layers '( auto-completion (colors :variables colors-colorize-identifiers 'variables) dash deft docker emacs-lisp evil-cleverparens git github helm html ibuffer imenu-list javascript markdown nginx (org :variables org-enable-github-support t) (osx :variables osx-use-option-as-meta nil) ptb react ruby ruby-on-rails search-engine semantic shell-scripts (spell-checking :variables spell-checking-enable-by-default nil) syntax-checking (version-control :variables version-control-diff-side 'left) vim-empty-lines ) dotspacemacs-excluded-packages '(org-bullets) ) )
(defun dotspacemacs/init () (setq-default dotspacemacs-startup-banner nil dotspacemacs-startup-lists nil dotspacemacs-scratch-mode 'org-mode dotspacemacs-themes '(sanityinc-tomorrow-eighties) dotspacemacs-default-font '( "Inconsolata LGC" :size 13 :weight normal :width normal :powerline-scale 1.1) dotspacemacs-loading-progress-bar nil dotspacemacs-active-transparency 100 dotspacemacs-inactive-transparency 100 dotspacemacs-line-numbers t dotspacemacs-whitespace-cleanup 'all ) )
(defun dotspacemacs/user-init ()) (defun dotspacemacs/user-config ())
**** =~/.emacs.d/private/ptb/config.el=
(setq default-frame-alist '( (top . 22) (left . 1201) (height . 50) (width . 120) (vertical-scroll-bars . right)) initial-frame-alist (copy-alist default-frame-alist)
deft-directory "~/Dropbox/Notes" focus-follows-mouse t mouse-wheel-follow-mouse t mouse-wheel-scroll-amount '(1 ((shift) . 1)) org-src-preserve-indentation t purpose-display-at-right 20 recentf-max-saved-items 5 scroll-step 1 system-uses-terminfo nil
ibuffer-formats '( (mark modified read-only " " (name 18 18 :left :elide)))
ibuffer-shrink-to-minimum-size t ibuffer-always-show-last-buffer nil ibuffer-sorting-mode 'recency ibuffer-use-header-line nil x-select-enable-clipboard nil)
(global-linum-mode t) (recentf-mode t) (x-focus-frame nil) (with-eval-after-load 'org (org-babel-do-load-languages 'org-babel-load-languages '( (ruby . t) (shell . t) ) ) )
**** =~/.emacs.d/private/ptb/funcs.el=
(defun is-useless-buffer (buffer) (let ((name (buffer-name buffer))) (and (= ? (aref name 0)) (string-match "^\*" name))))
(defun kill-useless-buffers () (interactive) (loop for buffer being the buffers do (and (is-useless-buffer buffer) (kill-buffer buffer))))
(defun org-babel-tangle-hook () (add-hook 'after-save-hook 'org-babel-tangle))
(add-hook 'org-mode-hook #'org-babel-tangle-hook)
(defun ptb/new-untitled-buffer () "Create a new untitled buffer in the current frame." (interactive) (let ((buffer "Untitled-") (count 1)) (while (get-buffer (concat buffer (number-to-string count))) (setq count (1+ count))) (switch-to-buffer (concat buffer (number-to-string count)))) (org-mode))
(defun ptb/previous-buffer () (interactive) (kill-useless-buffers) (previous-buffer))
(defun ptb/next-buffer () (interactive) (kill-useless-buffers) (next-buffer))
(defun ptb/kill-current-buffer () (interactive) (kill-buffer (current-buffer)) (kill-useless-buffers))
**** =~/.emacs.d/private/ptb/keybindings.el=
(define-key evil-insert-state-map (kbd "
(define-key evil-normal-state-map (kbd "s-c") 'clipboard-kill-ring-save) (define-key evil-insert-state-map (kbd "s-c") 'clipboard-kill-ring-save) (define-key evil-visual-state-map (kbd "s-c") 'clipboard-kill-ring-save)
(define-key evil-ex-completion-map (kbd "s-v") 'clipboard-yank) (define-key evil-ex-search-keymap (kbd "s-v") 'clipboard-yank) (define-key evil-insert-state-map (kbd "s-v") 'clipboard-yank)
(define-key evil-normal-state-map (kbd "s-x") 'clipboard-kill-region) (define-key evil-insert-state-map (kbd "s-x") 'clipboard-kill-region) (define-key evil-visual-state-map (kbd "s-x") 'clipboard-kill-region)
(define-key evil-normal-state-map (kbd "
(define-key evil-normal-state-map (kbd "
(global-set-key (kbd "C-l") 'evil-search-highlight-persist-remove-all)
(global-set-key (kbd "s-t") 'make-frame) (global-set-key (kbd "s-n") 'ptb/new-untitled-buffer) (global-set-key (kbd "s-w") 'ptb/kill-current-buffer) (global-set-key (kbd "s-{") 'ptb/previous-buffer) (global-set-key (kbd "s-}") 'ptb/next-buffer)
**** =~/.emacs.d/private/ptb/packages.el=
(setq ptb-packages '(adaptive-wrap auto-indent-mode))
(defun ptb/init-adaptive-wrap () "Load the adaptive wrap package" (use-package adaptive-wrap :init (setq adaptive-wrap-extra-indent 2) :config (progn ;; http://stackoverflow.com/questions/13559061 (when (fboundp 'adaptive-wrap-prefix-mode) (defun ptb/activate-adaptive-wrap-prefix-mode () "Toggle 'visual-line-mode' and 'adaptive-wrap-prefix-mode' simultaneously." (adaptive-wrap-prefix-mode (if visual-line-mode 1 -1))) (add-hook 'visual-line-mode-hook 'ptb/activate-adaptive-wrap-prefix-mode)))))
(defun ptb/init-auto-indent-mode () (use-package auto-indent-mode :init (setq auto-indent-delete-backward-char t auto-indent-fix-org-auto-fill t auto-indent-fix-org-move-beginning-of-line t auto-indent-fix-org-return t auto-indent-fix-org-yank t auto-indent-start-org-indent t ) ) )
*** Customize Finder
custom_finder () { config_defaults "${_finder}" defaults write "com.apple.finder" "NSToolbar Configuration Browser" \ '{ "TB Display Mode" = 2; "TB Item Identifiers" = ( "com.apple.finder.BACK", "com.apple.finder.PATH", "com.apple.finder.SWCH", "com.apple.finder.ARNG", "NSToolbarFlexibleSpaceItem", "com.apple.finder.SRCH", "com.apple.finder.ACTN" ); }' }
**** _finder
|----------------------------------------------------------------+------------------+--------------------------------------+---------+-------------------------+------| | Preference | Domain | Key | Type | Value | Host | |----------------------------------------------------------------+------------------+--------------------------------------+---------+-------------------------+------| | Show these items on the desktop: ~off~ Hard disks | com.apple.finder | ShowHardDrivesOnDesktop | -bool | false | | | Show these items on the desktop: ~off~ External disks | com.apple.finder | ShowExternalHardDrivesOnDesktop | -bool | false | | | Show these items on the desktop: ~on~ CDs, DVDs, and iPods | com.apple.finder | ShowRemovableMediaOnDesktop | -bool | true | | | Show these items on the desktop: ~on~ Connected servers: | com.apple.finder | ShowMountedServersOnDesktop | -bool | true | | | New Finder windows show: ~${HOME}~ | com.apple.finder | NewWindowTarget | -string | PfLo | | | | com.apple.finder | NewWindowTargetPath | -string | file://${HOME}/Dropbox/ | | | ~on~ Show all filename extensions | -globalDomain | AppleShowAllExtensions | -bool | true | | | ~off~ Show warning before changing an extension | com.apple.finder | FXEnableExtensionChangeWarning | -bool | false | | | ~on~ Show warning before removing from iCloud Drive | com.apple.finder | FXEnableRemoveFromICloudDriveWarning | -bool | true | | | ~off~ Show warning before emptying the Trash | com.apple.finder | WarnOnEmptyTrash | -bool | false | | | View ▶ Show Path Bar | com.apple.finder | ShowPathbar | -bool | true | | | View ▶ Show Status Bar | com.apple.finder | ShowStatusBar | -bool | true | | |----------------------------------------------------------------+------------------+--------------------------------------+---------+-------------------------+------|
*** Customize getmail
custom_getmail () { test -d "${HOME}/.getmail" || \ mkdir -m go= "${HOME}/.getmail"
while true; do e=$(ask2 "To configure getmail, enter your email address." "Configure Getmail" "No More Addresses" "Create Configuration" "$(whoami)@$(hostname -f | cut -d. -f2-)" "false") test -n "$e" || break
security find-internet-password -a "$e" -D "getmail password" > /dev/null || \
p=$(ask2 "Enter your password for $e." "Configure Getmail" "Cancel" "Set Password" "" "true") && \
security add-internet-password -a "$e" -s "imap.gmail.com" -r "imap" \
-l "$e" -D "getmail password" -P 993 -w "$p"
if which crudini > /dev/null; then
gm="${HOME}/.getmail/${e}"
printf "%s\n" "${_getmail_ini}" | \
while IFS="$(printf '\t')" read section key value; do
crudini --set "$gm" "$section" "$key" "$value"
done
crudini --set "$gm" "destination" "arguments" "('-c','/usr/local/etc/dovecot/dovecot.conf','-d','$(whoami)')"
crudini --set "$gm" "destination" "path" "$(find '/usr/local/Cellar/dovecot' -name 'dovecot-lda' -print -quit)"
crudini --set "$gm" "retriever" "username" "$e"
fi
la="${HOME}/Library/LaunchAgents/ca.pyropus.getmail.${e}"
test -d "$(dirname $la)" || \
mkdir -p "$(dirname $la)"
launchctl unload "${la}.plist" 2> /dev/null
rm -f "${la}.plist"
config_plist "$_getmail_plist" "${la}.plist"
config_defaults "$(printf "${la}\tLabel\t-string\tca.pyropus.getmail.${e}\t")"
config_defaults "$(printf "${la}\tProgramArguments\t-array-add\t${e}\t")"
config_defaults "$(printf "${la}\tWorkingDirectory\t-string\t${HOME}/.getmail\t")"
plutil -convert xml1 "${la}.plist"
launchctl load "${la}.plist" 2> /dev/null
done }
**** _getmail_ini
|-------------+----------------+------------------------| | Section | Key | Value | |-------------+----------------+------------------------| | destination | ignore_stderr | true | | destination | type | MDA_external | | options | delete | true | | options | delivered_to | false | | options | read_all | false | | options | received | false | | options | verbose | 0 | | retriever | mailboxes | ("[Gmail]/All Mail",) | | retriever | move_on_delete | "[Gmail]/Trash" | | retriever | port | 993 | | retriever | server | imap.gmail.com | | retriever | type | SimpleIMAPSSLRetriever | |-------------+----------------+------------------------|
**** _getmail_plist
|---------+---------------------+---------+------------------------| | Command | Entry | Type | Value | |---------+---------------------+---------+------------------------| | add | :KeepAlive | bool | true | | add | :ProcessType | string | Background | | add | :ProgramArguments | array | | | add | :ProgramArguments:0 | string | /usr/local/bin/getmail | | add | :ProgramArguments:1 | string | --idle | | add | :ProgramArguments:2 | string | [Gmail]/All Mail | | add | :ProgramArguments:3 | string | --rcfile | | add | :RunAtLoad | bool | true | | add | :StandardOutPath | string | getmail.log | | add | :StandardErrorPath | string | getmail.err | |---------+---------------------+---------+------------------------|
*** Customize Git
custom_git () { if ! test -e "${HOME}/.gitconfig"; then true fi }
*** Customize GnuPG
custom_gnupg () { if ! test -d "${HOME}/.gnupg"; then true fi }
*** Customize iStat Menus
custom_istatmenus () { defaults delete com.bjango.istatmenus5.extras Time_MenubarFormat > /dev/null 2>&1 defaults delete com.bjango.istatmenus5.extras Time_DropdownFormat > /dev/null 2>&1 defaults delete com.bjango.istatmenus5.extras Time_Cities > /dev/null 2>&1 config_defaults "${_istatmenus}" }
**** _istatmenus
|------------+-------------------------------+------------------------------------------+------------+---------------------+------| | Preference | Domain | Key | Type | Value | Host | |------------+-------------------------------+------------------------------------------+------------+---------------------+------| | | com.bjango.istatmenus5.extras | MenubarSkinColor | -int | 8 | | | | com.bjango.istatmenus5.extras | MenubarTheme | -int | 0 | | | | com.bjango.istatmenus5.extras | DropdownTheme | -int | 1 | | | | com.bjango.istatmenus5.extras | CPU_MenubarMode | -string | 100,2,0 | | | | com.bjango.istatmenus5.extras | CPU_MenubarTextSize | -int | 14 | | | | com.bjango.istatmenus5.extras | CPU_MenubarGraphShowBackground | -int | 0 | | | | com.bjango.istatmenus5.extras | CPU_MenubarGraphWidth | -int | 32 | | | | com.bjango.istatmenus5.extras | CPU_MenubarGraphBreakdowns | -int | 0 | | | | com.bjango.istatmenus5.extras | CPU_MenubarGraphCustomColors | -int | 0 | | | | com.bjango.istatmenus5.extras | CPU_MenubarGraphOverall | -string | 0.40 0.60 0.40 1.00 | | | | com.bjango.istatmenus5.extras | CPU_MenubarCombineCores | -int | 1 | | | | com.bjango.istatmenus5.extras | CPU_MenubarGroupItems | -int | 0 | | | | com.bjango.istatmenus5.extras | CPU_MenubarSingleHistoryGraph | -int | 0 | | | | com.bjango.istatmenus5.extras | CPU_CombineLogicalCores | -int | 1 | | | | com.bjango.istatmenus5.extras | CPU_AppFormat | -int | 0 | | | | com.bjango.istatmenus5.extras | Memory_MenubarMode | -string | 100,2,6 | | | | com.bjango.istatmenus5.extras | Memory_MenubarPercentageSize | -int | 14 | | | | com.bjango.istatmenus5.extras | Memory_MenubarGraphBreakdowns | -int | 1 | | | | com.bjango.istatmenus5.extras | Memory_MenubarGraphCustomColors | -int | 0 | | | | com.bjango.istatmenus5.extras | Memory_MenubarGraphOverall | -string | 0.40 0.60 0.40 1.00 | | | | com.bjango.istatmenus5.extras | Memory_MenubarGraphWired | -string | 0.40 0.60 0.40 1.00 | | | | com.bjango.istatmenus5.extras | Memory_MenubarGraphActive | -string | 0.47 0.67 0.47 1.00 | | | | com.bjango.istatmenus5.extras | Memory_MenubarGraphCompressed | -string | 0.53 0.73 0.53 1.00 | | | | com.bjango.istatmenus5.extras | Memory_MenubarGraphInactive | -string | 0.60 0.80 0.60 1.00 | | | | com.bjango.istatmenus5.extras | Memory_IgnoreInactive | -int | 0 | | | | com.bjango.istatmenus5.extras | Memory_AppFormat | -int | 0 | | | | com.bjango.istatmenus5.extras | Memory_DisplayFormat | -int | 1 | | | | com.bjango.istatmenus5.extras | Disks_MenubarMode | -string | 100,9,8 | | | | com.bjango.istatmenus5.extras | Disks_MenubarGroupItems | -int | 1 | | | | com.bjango.istatmenus5.extras | Disks_MenubarRWShowLabel | -int | 1 | | | | com.bjango.istatmenus5.extras | Disks_MenubarRWBold | -int | 0 | | | | com.bjango.istatmenus5.extras | Disks_MenubarGraphActivityWidth | -int | 32 | | | | com.bjango.istatmenus5.extras | Disks_MenubarGraphActivityShowBackground | -int | 0 | | | | com.bjango.istatmenus5.extras | Disks_MenubarGraphActivityCustomColors | -int | 0 | | | | com.bjango.istatmenus5.extras | Disks_MenubarGraphActivityRead | -string | 0.60 0.80 0.60 1.00 | | | | com.bjango.istatmenus5.extras | Disks_MenubarGraphActivityWrite | -string | 0.40 0.60 0.40 1.00 | | | | com.bjango.istatmenus5.extras | Disks_SeperateFusion | -int | 1 | | | | com.bjango.istatmenus5.extras | Network_MenubarMode | -string | 4,0,1 | | | | com.bjango.istatmenus5.extras | Network_TextUploadColor-Dark | -string | 1.00 1.00 1.00 1.00 | | | | com.bjango.istatmenus5.extras | Network_TextDownloadColor-Dark | -string | 1.00 1.00 1.00 1.00 | | | | com.bjango.istatmenus5.extras | Network_GraphWidth | -int | 32 | | | | com.bjango.istatmenus5.extras | Network_GraphShowBackground | -int | 0 | | | | com.bjango.istatmenus5.extras | Network_GraphCustomColors | -int | 0 | | | | com.bjango.istatmenus5.extras | Network_GraphUpload | -string | 0.60 0.80 0.60 1.00 | | | | com.bjango.istatmenus5.extras | Network_GraphDownload | -string | 0.40 0.60 0.40 1.00 | | | | com.bjango.istatmenus5.extras | Network_GraphMode | -int | 1 | | | | com.bjango.istatmenus5.extras | Battery_MenubarMode | -string | 5,0 | | | | com.bjango.istatmenus5.extras | Battery_ColorGraphCustomColors | -int | 1 | | | | com.bjango.istatmenus5.extras | Battery_ColorGraphCharged | -string | 0.40 0.60 0.40 1.00 | | | | com.bjango.istatmenus5.extras | Battery_ColorGraphCharging | -string | 0.60 0.80 0.60 1.00 | | | | com.bjango.istatmenus5.extras | Battery_ColorGraphDraining | -string | 1.00 0.60 0.60 1.00 | | | | com.bjango.istatmenus5.extras | Battery_ColorGraphLow | -string | 1.00 0.20 0.20 1.00 | | | | com.bjango.istatmenus5.extras | Battery_PercentageSize | -int | 14 | | | | com.bjango.istatmenus5.extras | Battery_MenubarCustomizeStates | -int | 0 | | | | com.bjango.istatmenus5.extras | Battery_MenubarHideBluetooth | -int | 1 | | | | com.bjango.istatmenus5.extras | Time_MenubarFormat | -array-add | EE | | | | com.bjango.istatmenus5.extras | Time_MenubarFormat | -array-add | \040 | | | | com.bjango.istatmenus5.extras | Time_MenubarFormat | -array-add | MMM | | | | com.bjango.istatmenus5.extras | Time_MenubarFormat | -array-add | \040 | | | | com.bjango.istatmenus5.extras | Time_MenubarFormat | -array-add | d | | | | com.bjango.istatmenus5.extras | Time_MenubarFormat | -array-add | \040 | | | | com.bjango.istatmenus5.extras | Time_MenubarFormat | -array-add | h | | | | com.bjango.istatmenus5.extras | Time_MenubarFormat | -array-add | : | | | | com.bjango.istatmenus5.extras | Time_MenubarFormat | -array-add | mm | | | | com.bjango.istatmenus5.extras | Time_MenubarFormat | -array-add | : | | | | com.bjango.istatmenus5.extras | Time_MenubarFormat | -array-add | ss | | | | com.bjango.istatmenus5.extras | Time_MenubarFormat | -array-add | \040 | | | | com.bjango.istatmenus5.extras | Time_MenubarFormat | -array-add | a | | | | com.bjango.istatmenus5.extras | Time_DropdownFormat | -array-add | EE | | | | com.bjango.istatmenus5.extras | Time_DropdownFormat | -array-add | \040 | | | | com.bjango.istatmenus5.extras | Time_DropdownFormat | -array-add | h | | | | com.bjango.istatmenus5.extras | Time_DropdownFormat | -array-add | : | | | | com.bjango.istatmenus5.extras | Time_DropdownFormat | -array-add | mm | | | | com.bjango.istatmenus5.extras | Time_DropdownFormat | -array-add | \040 | | | | com.bjango.istatmenus5.extras | Time_DropdownFormat | -array-add | a | | | | com.bjango.istatmenus5.extras | Time_DropdownFormat | -array-add | \040\050 | | | | com.bjango.istatmenus5.extras | Time_DropdownFormat | -array-add | zzz | | | | com.bjango.istatmenus5.extras | Time_DropdownFormat | -array-add | \051 | | | | com.bjango.istatmenus5.extras | Time_Cities | -array-add | 4930956 | | | | com.bjango.istatmenus5.extras | Time_Cities | -array-add | 4887398 | | | | com.bjango.istatmenus5.extras | Time_Cities | -array-add | 5419384 | | | | com.bjango.istatmenus5.extras | Time_Cities | -array-add | 5392171 | | | | com.bjango.istatmenus5.extras | Time_Cities | -array-add | 5879400 | | | | com.bjango.istatmenus5.extras | Time_Cities | -array-add | 5856195 | | | | com.bjango.istatmenus5.extras | Time_TextSize | -int | 14 | | |------------+-------------------------------+------------------------------------------+------------+---------------------+------|
*** Customize Meteorologist
custom_meteorologist () { config_defaults "${_meteorologist}" }
**** _meteorologist
|------------+------------------------+----------------------------+---------+-------+------| | Preference | Domain | Key | Type | Value | Host | |------------+------------------------+----------------------------+---------+-------+------| | | com.heat.meteorologist | controlsInSubmenu | -string | 0 | | | | com.heat.meteorologist | currentWeatherInSubmenu | -string | 0 | | | | com.heat.meteorologist | displayCityName | -string | 0 | | | | com.heat.meteorologist | displayHumidity | -string | 0 | | | | com.heat.meteorologist | displayWeatherIcon | -string | 1 | | | | com.heat.meteorologist | extendedForecastIcons | -string | 1 | | | | com.heat.meteorologist | extendedForecastInSubmenu | -string | 0 | | | | com.heat.meteorologist | extendedForecastSingleLine | -string | 1 | | | | com.heat.meteorologist | forecastDays | -int | 8 | | | | com.heat.meteorologist | viewExtendedForecast | -string | 1 | | | | com.heat.meteorologist | weatherSource_1 | -int | 3 | | |------------+------------------------+----------------------------+---------+-------+------|
*** Customize Moom
custom_moom () { killall Moom > /dev/null 2>&1 defaults delete com.manytricks.Moom "Custom Controls" > /dev/null 2>&1 config_defaults "${_moom}" test -d "/Applications/Moom.app" && \ open "/Applications/Moom.app" }
**** _moom
|------------------------------------------------------------------------+---------------------+-------------------------------------------------------+------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------| | Preference | Domain | Key | Type | Value | Host | |------------------------------------------------------------------------+---------------------+-------------------------------------------------------+------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------| | ~on~ Treat drawers as part of their parent windows | com.manytricks.Moom | Allow For Drawers | -bool | true | | | ~on~ Separate windows by ~2~ pt | com.manytricks.Moom | Grid Spacing | -bool | true | | | | com.manytricks.Moom | Grid Spacing: Gap | -int | 2 | | | ~off~ Apply to screen edges | com.manytricks.Moom | Grid Spacing: Apply To Edges | -bool | false | | | Grid/keyboard control highlight: ~25%~ | com.manytricks.Moom | Target Window Highlight | -float | 0.25 | | | ~off~ Show preferences on launch | com.manytricks.Moom | Stealth Mode | -bool | true | | | Run as ~faceless~ application | com.manytricks.Moom | Application Mode | -int | 2 | | | ~on~ Pop up controls when hovering over a Zoom button | com.manytricks.Moom | Mouse Controls | -bool | true | | | Delay: ~0.1~ second | com.manytricks.Moom | Mouse Controls Delay | -float | 0.1 | | | ~on~ Enable ~hexagon~ grid with ~16~ × ~9~ cells | com.manytricks.Moom | Mouse Controls Grid | -bool | true | | | | com.manytricks.Moom | Mouse Controls Grid: Mode | -int | 3 | | | | com.manytricks.Moom | Mouse Controls Grid: Columns | -int | 16 | | | | com.manytricks.Moom | Mouse Controls Grid: Rows | -int | 9 | | | ~on~ Enable access to custom controls | com.manytricks.Moom | Mouse Controls Include Custom Controls | -bool | true | | | ~off~ Show on hover | com.manytricks.Moom | Mouse Controls Include Custom Controls: Show On Hover | -bool | false | | | ~on~ Bring moomed windows to the front automatically | com.manytricks.Moom | Mouse Controls Auto-Activate Window | -bool | true | | | ~off~ Move & Zoom when dragging a window to a display edge or corner | com.manytricks.Moom | Snap | -bool | false | | | ~Move & Zoom~ | com.manytricks.Moom | Custom Controls | -array-add | { Action = 19; "Relative Frame" = "{{0, 0.5}, {0.375, 0.5}}"; } | | | | com.manytricks.Moom | Custom Controls | -array-add | { Action = 19; "Relative Frame" = "{{0, 0}, {0.375, 0.5}}"; } | | | | com.manytricks.Moom | Custom Controls | -array-add | { Action = 19; "Relative Frame" = "{{0, 0}, {0.375, 1}}"; } | | | | com.manytricks.Moom | Custom Controls | -array-add | { Action = 19; "Relative Frame" = "{{0.125, 0}, {0.25, 0.33333}}"; } | | | | com.manytricks.Moom | Custom Controls | -array-add | { Action = 19; "Relative Frame" = "{{0.375, 0.33333}, {0.3125, 0.66666}}"; } | | | | com.manytricks.Moom | Custom Controls | -array-add | { Action = 19; "Relative Frame" = "{{0.375, 0}, {0.3125, 0.33333}}"; } | | | | com.manytricks.Moom | Custom Controls | -array-add | { Action = 19; "Relative Frame" = "{{0.6875, 0.66666}, {0.3125, 0.66666}}"; } | | | | com.manytricks.Moom | Custom Controls | -array-add | { Action = 19; "Relative Frame" = "{{0.6875, 0.33333}, {0.3125, 0.33333}}"; } | | | | com.manytricks.Moom | Custom Controls | -array-add | { Action = 19; "Relative Frame" = "{{0.6875, 0}, {0.3125, 0.33333}}"; } | | | | com.manytricks.Moom | Custom Controls | -array-add | { Action = 1001; "Apply to Overlapping Windows" = 1; Snapshot = ({ "Application Name" = Safari; "Bundle Identifier" = "com.apple.safari"; "Window Frame" = "{{0, 890}, {1199, 888}}"; "Window Subrole" = AXStandardWindow; }, { "Application Name" = Chrome; "Bundle Identifier" = "com.google.chrome"; "Window Frame" = "{{0, 0}, {1199, 888}}"; "Window Subrole" = AXStandardWindow; }, { "Application Name" = Firefox; "Bundle Identifier" = "org.mozilla.firefox"; "Window Frame" = "{{0, 0}, {1199, 888}}"; "Window Subrole" = AXStandardWindow; }, { "Application Name" = Emacs; "Bundle Identifier" = "org.gnu.emacs"; "Window Frame" = "{{1201, 597}, {991, 1181}}"; "Window Subrole" = AXStandardWindow; }, { "Application Name" = Code; "Bundle Identifier" = "com.microsoft.vscode"; "Window Frame" = "{{1201, 594}, {1999, 1184}}"; "Window Subrole" = AXStandardWindow; }, { "Application Name" = Mail; "Bundle Identifier" = "com.apple.mail"; "Window Frame" = "{{2201, 594}, {999, 1184}}"; "Window Subrole" = AXStandardWindow; }, { "Application Name" = nvALT; "Bundle Identifier" = "net.elasticthreads.nv"; "Window Frame" = "{{2201, 989}, {999, 789}}"; "Window Subrole" = AXStandardWindow; }, { "Application Name" = SimpleNote; "Bundle Identifier" = "bogdanf.osx.metanota.pro"; "Window Frame" = "{{2201, 989}, {999, 789}}"; "Window Subrole" = AXStandardWindow; }, { "Application Name" = Finder; "Bundle Identifier" = "com.apple.finder"; "Window Frame" = "{{2401, 1186}, {799, 592}}"; "Window Subrole" = AXStandardWindow; }, { "Application Name" = Messages; "Bundle Identifier" = "com.apple.ichat"; "Window Frame" = "{{401, 0}, {798, 591}}"; "Window Subrole" = AXStandardWindow; }, { "Application Name" = Slack; "Bundle Identifier" = "com.tinyspeck.slackmacgap"; "Window Frame" = "{{0, 0}, {999, 591}}"; "Window Subrole" = AXStandardWindow; }, { "Application Name" = Terminal; "Bundle Identifier" = "com.apple.terminal"; "Window Frame" = "{{1201, 20}, {993, 572}}"; "Window Subrole" = AXStandardWindow; }, { "Application Name" = iTerm2; "Bundle Identifier" = "com.googlecode.iterm2"; "Window Frame" = "{{1201, 17}, {993, 572}}"; "Window Subrole" = AXStandardWindow; }, { "Application Name" = QuickTime; "Bundle Identifier" = "com.apple.quicktimeplayerx"; "Window Frame" = "{{2201, 0}, {999, 592}}"; "Window Subrole" = AXStandardWindow; }, { "Application Name" = VLC; "Bundle Identifier" = "org.videolan.vlc"; "Window Frame" = "{{2201, 0}, {999, 592}}"; "Window Subrole" = AXStandardWindow; }); "Snapshot Screens" = ( "{{0, 0}, {3200, 1800}}" ); } | | | Define window sizes using ~16~ × ~9~ cells | com.manytricks.Moom | Configuration Grid: Columns | -int | 16 | | | | com.manytricks.Moom | Configuration Grid: Rows | -int | 9 | | | ~on~ Check for updates automatically | com.manytricks.Moom | SUEnableAutomaticChecks | -bool | true | | |------------------------------------------------------------------------+---------------------+-------------------------------------------------------+------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------|
*** Customize MP4 Automator
custom_mp4_automator () { mkdir -p "${HOME}/.config/mp4_automator" && \ curl --compressed --location --silent \ "https://github.com/mdhiggins/sickbeard_mp4_automator/archive/master.tar.gz" | \ tar -C "${HOME}/.config/mp4_automator" --strip-components 1 -xf - printf "%s\n" "2.7.13" > "${HOME}/.config/mp4_automator/.python-version"
if which crudini > /dev/null; then printf "%s\n" "${_mp4_automator}" | \ while IFS="$(printf '\t')" read section key value; do crudini --set "${HOME}/.config/mp4_automator/autoProcess.ini" "${section}" "${key}" "${value}" done
open "http://localhost:7878/settings/general"
RADARRAPI="$(ask 'Radarr API Key?' 'Set API Key' '')"
crudini --set "${HOME}/.config/mp4_automator/autoProcess.ini" "Radarr" "apikey" "$RADARRAPI"
open "http://localhost:8989/settings/general"
SONARRAPI="$(ask 'Sonarr API Key?' 'Set API Key' '')"
crudini --set "${HOME}/.config/mp4_automator/autoProcess.ini" "Sonarr" "apikey" "$SONARRAPI"
fi
find "${HOME}/.config/mp4_automator" -name "*.py" -print0 | \ xargs -0 -L 1 sed -i "" -e "s:/usr/bin/env python:/usr/local/python/versions/2.7.13/bin/python:" }
**** _mp4_automator
|------------+---------+------------------------------+-------------------------------------------| | Preference | Section | Key | Value | |------------+---------+------------------------------+-------------------------------------------| | | MP4 | aac_adtstoasc | True | | | MP4 | audio-channel-bitrate | 256 | | | MP4 | audio-codec | ac3,aac | | | MP4 | audio-default-language | eng | | | MP4 | audio-filter | | | | MP4 | audio-language | eng | | | MP4 | convert-mp4 | True | | | MP4 | copy_to | | | | MP4 | delete_original | False | | | MP4 | download-artwork | Poster | | | MP4 | download-subs | True | | | MP4 | embed-subs | True | | | MP4 | ffmpeg | /usr/local/bin/ffmpeg | | | MP4 | ffprobe | /usr/local/bin/ffprobe | | | MP4 | fullpathguess | True | | | MP4 | h264-max-level | 4.1 | | | MP4 | ios-audio | True | | | MP4 | ios-audio-filter | | | | MP4 | ios-first-track-only | True | | | MP4 | max-audio-channels | | | | MP4 | move_to | | | | MP4 | output_directory | | | | MP4 | output_extension | m4v | | | MP4 | output_format | mp4 | | | MP4 | permissions | 0644 | | | MP4 | pix-fmt | | | | MP4 | post-process | False | | | MP4 | postopts | | | | MP4 | preopts | | | | MP4 | relocate_moov | True | | | MP4 | sub-providers | addic7ed,podnapisi,thesubdb,opensubtitles | | | MP4 | subtitle-codec | mov_text | | | MP4 | subtitle-default-language | eng | | | MP4 | subtitle-encoding | | | | MP4 | subtitle-language | eng | | | MP4 | tag-language | eng | | | MP4 | tagfile | True | | | MP4 | threads | auto | | | MP4 | use-qsv-decoder-with-encoder | True | | | MP4 | video-bitrate | | | | MP4 | video-codec | h264,x264 | | | MP4 | video-crf | | | | MP4 | video-max-width | 1920 | | | Plex | host | localhost | | | Plex | port | 32400 | | | Plex | refresh | False | | | Plex | token | | | | Radarr | host | localhost | | | Radarr | port | 7878 | | | Radarr | ssl | False | | | Radarr | web_root | | | | Sonarr | host | localhost | | | Sonarr | port | 8989 | | | Sonarr | ssl | False | | | Sonarr | web_root | | |------------+---------+------------------------------+-------------------------------------------|
*** Customize nvALT
custom_nvalt () { config_defaults "$_nvalt" config_launchd "${HOME}/Library/LaunchAgents/net.elasticthreads.nv.plist" "$_nvalt_launchd" }
**** _nvalt
|----------------------------------------------------------+-----------------------+-----------------------------+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------| | Preference | Domain | Key | Type | Value | Host | |----------------------------------------------------------+-----------------------+-----------------------------+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------| | List Text Size: ~Small~ | net.elasticthreads.nv | TableFontPointSize | -int | 11 | | | Bring-to-Front Hotkey: ~(None)~ | net.elasticthreads.nv | AppActivationKeyCode | -int | -1 | | | | net.elasticthreads.nv | AppActivationModifiers | -int | -1 | | | ~on~ Auto-select notes by title when searching | net.elasticthreads.nv | AutoCompleteSearches | -bool | true | | | ~on~ Confirm note deletion | net.elasticthreads.nv | ConfirmNoteDeletion | -bool | true | | | ~off~ Quit when closing window | net.elasticthreads.nv | QuitWhenClosingMainWindow | -bool | false | | | ~on~ Show menu bar icon | net.elasticthreads.nv | StatusBarItem | -bool | true | | | Hide Dock Icon | net.elasticthreads.nv | ShowDockIcon | -bool | false | | | Styled Text: ~off~ Copy basic styles from other apps | net.elasticthreads.nv | PastePreservesStyle | -bool | false | | | Spelling: ~off~ Check as you type | net.elasticthreads.nv | CheckSpellingInNoteBody | -bool | false | | | Tab Key: ~Indent lines~ | net.elasticthreads.nv | TabKeyIndents | -bool | true | | | ~on~ Soft tabs (spaces) | net.elasticthreads.nv | UseSoftTabs | -bool | true | | | Links: ~on~ Make URLs clickable links | net.elasticthreads.nv | MakeURLsClickable | -bool | true | | | Links: ~off~ Suggest titles for note-links | net.elasticthreads.nv | AutoSuggestLinks | -bool | false | | | URL Import: ~off~ Convert imported URLs to Markdown | net.elasticthreads.nv | UseMarkdownImport | -bool | false | | | URL Import: ~off~ Process with Readability | net.elasticthreads.nv | UseReadability | -bool | false | | | Direction: ~off~ Right-To-Left (RTL) | net.elasticthreads.nv | rtl | -bool | false | | | Auto-pair: ~on~ | net.elasticthreads.nv | UseAutoPairing | -bool | true | | | External Text Editor: ~Emacs.app~ | net.elasticthreads.nv | DefaultEEIdentifier | -string | org.gnu.Emacs | | | | net.elasticthreads.nv | UserEEIdentifiers | -array-add | com.apple.TextEdit | | | | net.elasticthreads.nv | UserEEIdentifiers | -array-add | org.gnu.Emacs | | | Body Font: ~InconsolataLGC 13~ | net.elasticthreads.nv | NoteBodyFont | -data | 040b73747265616d747970656481e803840140848484064e53466f6e741e8484084e534f626a65637400858401692884055b3430635d060000001e000000fffe49006e0063006f006e0073006f006c006100740061004c004700430000008401660d8401630098019800980086 | | | ~on~ Search Highlight: ~#CCFFCC~ | net.elasticthreads.nv | HighlightSearchTerms | -bool | true | | | | net.elasticthreads.nv | SearchTermHighlightColor | -data | 040b73747265616d747970656481e803840140848484074e53436f6c6f72008484084e534f626a65637400858401630184046666666683cdcc4c3f0183cdcc4c3f0186 | | | Foreground Text: ~#CCCCCC~ | net.elasticthreads.nv | ForegroundTextColor | -data | 040b73747265616d747970656481e803840140848484074e53436f6c6f72008484084e534f626a65637400858401630184046666666683cdcc4c3f83cdcc4c3f83cdcc4c3f0186 | | | Background: ~#1A1A1A~ | net.elasticthreads.nv | BackgroundTextColor | -data | 040b73747265616d747970656481e803840140848484074e53436f6c6f72008484084e534f626a65637400858401630184046666666683d1d0d03d83d1d0d03d83d1d0d03d0186 | | | Always Show Grid Lines in Notes List: ~on~ | net.elasticthreads.nv | ShowGrid | -bool | true | | | Alternating Row Colors: ~on~ | net.elasticthreads.nv | AlternatingRows | -bool | true | | | Use nvALT Scrollbars: ~off~ | net.elasticthreads.nv | UseETScrollbarsOnLion | -bool | false | | | Keep Note Body Width Readable: ~on~ | net.elasticthreads.nv | KeepsMaxTextWidth | -bool | true | | | Max. Note Body Width: ~650~ pixels | net.elasticthreads.nv | NoteBodyMaxWidth | -int | 650 | | | View ▶ Switch to Horizontal Layout | net.elasticthreads.nv | HorizontalLayout | -bool | true | | | View ▶ Columns ▶ ~✓ Title~ ~✓ Tags~ | net.elasticthreads.nv | NoteAttributesVisible | -array-add | Title | | | | net.elasticthreads.nv | NoteAttributesVisible | -array-add | Tags | | | View ▶ Sort By ▶︎ ~▼ Date Modified~ | net.elasticthreads.nv | TableIsReverseSorted | -bool | true | | | | net.elasticthreads.nv | TableSortColumn | -string | Date Modified | | | View ▶ Show Note Previews in Title | net.elasticthreads.nv | TableColumnsHaveBodyPreview | -bool | true | | |----------------------------------------------------------+-----------------------+-----------------------------+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------|
**** _nvalt_launchd
|---------+--------------------+--------+----------------------------------------------| | Command | Entry | Type | Value | |---------+--------------------+--------+----------------------------------------------| | add | :KeepAlive | bool | true | | add | :Label | string | net.elasticthreads.nv | | add | :ProcessType | string | Interactive | | add | :Program | string | /Applications/nvALT.app/Contents/MacOS/nvALT | | add | :RunAtLoad | bool | true | |---------+--------------------+--------+----------------------------------------------|
*** Customize NZBGet
custom_nzbget () { f="${HOME}/Library/Application Support/NZBGet/nzbget.conf" mkdir -p "$(dirname $f)" if which crudini > /dev/null; then printf "%s\n" "${_nzbget}" | \ while IFS="$(printf '\t')" read key value; do crudini --set "$f" "" "${key}" "${value}" done fi sed -i "" -e "s/ = /=/g" "$f" }
**** _nzbget
|----------------+----------------------+-----------------------| | Preference | Key | Value | |----------------+----------------------+-----------------------| | Security | ControlIP | 127.0.0.1 | | | ControlPort | 6789 | | | AuthorizedIP | 127.0.0.1 | | News-Servers | Server1.Level | 0 | | Server1 | Server1.Host | ssl.astraweb.com | | | Server1.Port | 443 | | | Server1.Encryption | yes | | | Server1.Connections | 6 | | | Server1.Retention | 3000 | | News-Servers | Server2.Level | 0 | | Server2 | Server2.Host | ssl-us.astraweb.com | | | Server2.Port | 443 | | | Server2.Encryption | yes | | | Server2.Connections | 6 | | | Server2.Retention | 3000 | | News-Servers | Server3.Level | 0 | | Server3 | Server3.Host | ssl-eu.astraweb.com | | | Server3.Port | 443 | | | Server3.Encryption | yes | | | Server3.Connections | 6 | | | Server3.Retention | 3000 | | News-Servers | Server4.Level | 1 | | Server4 | Server4.Host | news.tweaknews.eu | | | Server4.Port | 443 | | | Server4.Encryption | yes | | | Server4.Connections | 40 | | | Server4.Retention | 2500 | | News-Servers | Server5.Level | 2 | | Server5 | Server5.Host | news.newsdemon.com | | | Server5.Port | 563 | | | Server5.Encryption | yes | | | Server5.Connections | 12 | | | Server5.Retention | 3303 | | News-Servers | Server6.Level | 2 | | Server6 | Server6.Host | us.newsdemon.com | | | Server6.Port | 563 | | | Server6.Encryption | yes | | | Server6.Connections | 12 | | | Server6.Retention | 3303 | | News-Servers | Server7.Level | 2 | | Server7 | Server7.Host | eu.newsdemon.com | | | Server7.Port | 563 | | | Server7.Encryption | yes | | | Server7.Connections | 12 | | | Server7.Retention | 3303 | | News-Servers | Server8.Level | 2 | | Server8 | Server8.Host | nl.newsdemon.com | | | Server8.Port | 563 | | | Server8.Encryption | yes | | | Server8.Connections | 12 | | | Server8.Retention | 3303 | | News-Servers | Server9.Level | 2 | | Server9 | Server9.Host | usnews.blocknews.net | | | Server9.Port | 443 | | | Server9.Encryption | yes | | | Server9.Connections | 16 | | | Server9.Retention | 3240 | | News-Servers | Server10.Level | 2 | | Server10 | Server10.Host | eunews.blocknews.net | | | Server10.Port | 443 | | | Server10.Encryption | yes | | | Server10.Connections | 16 | | | Server10.Retention | 3240 | | News-Servers | Server11.Level | 2 | | Server11 | Server11.Host | eunews2.blocknews.net | | | Server11.Port | 443 | | | Server11.Encryption | yes | | | Server11.Connections | 16 | | | Server11.Retention | 3240 | |----------------+----------------------+-----------------------|
*** Customize Safari
custom_safari () { config_defaults "${_safari}" }
**** _safari
|-------------------------------------------------------------------------+-------------------------+----------------------------------------------------------------------------------------+---------+--------+------| | Preference | Domain | Key | Type | Value | Host | |-------------------------------------------------------------------------+-------------------------+----------------------------------------------------------------------------------------+---------+--------+------| | Safari opens with: ~A new window~ | com.apple.Safari | AlwaysRestoreSessionAtLaunch | -bool | false | | | | com.apple.Safari | OpenPrivateWindowWhenNotRestoringSessionAtLaunch | -bool | false | | | New windows open with: ~Empty Page~ | com.apple.Safari | NewWindowBehavior | -int | 1 | | | New tabs open with: ~Empty Page~ | com.apple.Safari | NewTabBehavior | -int | 1 | | | ~off~ Open “safe” files after downloading | com.apple.Safari | AutoOpenSafeDownloads | -bool | false | | | Open pages in tabs instead of windows: ~Always~ | com.apple.Safari | TabCreationPolicy | -int | 2 | | | AutoFill web forms: ~off~ Using info from my contacts | com.apple.Safari | AutoFillFromAddressBook | -bool | false | | | AutoFill web forms: ~on~ User names and passwords | com.apple.Safari | AutoFillPasswords | -bool | true | | | AutoFill web forms: ~off~ Credit cards | com.apple.Safari | AutoFillCreditCardData | -bool | false | | | AutoFill web forms: ~off~ Other forms | com.apple.Safari | AutoFillMiscellaneousForms | -bool | false | | | ~on~ Include search engine suggestions | com.apple.Safari | SuppressSearchSuggestions | -bool | false | | | Smart Search Field: ~off~ Include Safari Suggestions | com.apple.Safari | UniversalSearchEnabled | -bool | false | | | Smart Search Field: ~on~ Enable Quick Website Search | com.apple.Safari | WebsiteSpecificSearchEnabled | -bool | true | | | Smart Search Field: ~on~ Preload Top Hit in the background | com.apple.Safari | PreloadTopHit | -bool | true | | | Smart Search Field: ~off~ Show Favorites | com.apple.Safari | ShowFavoritesUnderSmartSearchField | -bool | false | | | Website use of location services: ~Deny without prompting~ | com.apple.Safari | SafariGeolocationPermissionPolicy | -int | 0 | | | Website tracking: ~on~ Prevent cross-site tracking | com.apple.Safari | BlockStoragePolicy | -int | 2 | | | | com.apple.Safari | WebKitStorageBlockingPolicy | -int | 1 | | | | com.apple.Safari | com.apple.Safari.ContentPageGroupIdentifier.WebKit2StorageBlockingPolicy | -int | 1 | | | Website tracking: ~on~ Ask websites not to track me | com.apple.Safari | SendDoNotTrackHTTPHeader | -bool | true | | | Cookies and website data: ~off~ Block all cookies | com.apple.WebFoundation | NSHTTPAcceptCookies | -string | always | | | Apple Pay: ~on~ Allow websites to check if Apple Pay is set up | com.apple.Safari | com.apple.Safari.ContentPageGroupIdentifier.WebKit2ApplePayCapabilityDisclosureAllowed | -bool | true | | | ~off~ Allow websites to ask for permission to send push notifications | com.apple.Safari | CanPromptForPushNotifications | -bool | false | | | Smart Search Field: ~on~ Show full website address | com.apple.Safari | ShowFullURLInSmartSearchField | -bool | true | | | Default encoding: ~Unicode (UTF-8)~ | com.apple.Safari | WebKitDefaultTextEncodingName | -string | utf-8 | | | | com.apple.Safari | com.apple.Safari.ContentPageGroupIdentifier.WebKit2DefaultTextEncodingName | -string | utf-8 | | | ~on~ Show Develop menu in menu bar | com.apple.Safari | IncludeDevelopMenu | -bool | true | | | | com.apple.Safari | WebKitDeveloperExtrasEnabledPreferenceKey | -bool | true | | | | com.apple.Safari | com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled | -bool | true | | | View ▶ Show Favorites Bar | com.apple.Safari | ShowFavoritesBar-v2 | -bool | true | | | View ▶ Show Tab Bar | com.apple.Safari | AlwaysShowTabBar | -bool | true | | | View ▶ Show Status Bar* | com.apple.Safari | ShowStatusBar | -bool | true | | | | com.apple.Safari | ShowStatusBarInFullScreen | -bool | true | | |-------------------------------------------------------------------------+-------------------------+----------------------------------------------------------------------------------------+---------+--------+------|
*** Customize Sieve
custom_sieve () { cat > "${HOME}/.sieve" << EOF require ["date", "fileinto", "imap4flags", "mailbox", "relational", "variables"];
setflag "\\Seen";
if date :is "date" "year" "1995" { fileinto :create "Archives.1995"; } if date :is "date" "year" "1996" { fileinto :create "Archives.1996"; } if date :is "date" "year" "1997" { fileinto :create "Archives.1997"; } if date :is "date" "year" "1998" { fileinto :create "Archives.1998"; } if date :is "date" "year" "1999" { fileinto :create "Archives.1999"; } if date :is "date" "year" "2000" { fileinto :create "Archives.2000"; } if date :is "date" "year" "2001" { fileinto :create "Archives.2001"; } if date :is "date" "year" "2002" { fileinto :create "Archives.2002"; } if date :is "date" "year" "2003" { fileinto :create "Archives.2003"; } if date :is "date" "year" "2004" { fileinto :create "Archives.2004"; } if date :is "date" "year" "2005" { fileinto :create "Archives.2005"; } if date :is "date" "year" "2006" { fileinto :create "Archives.2006"; } if date :is "date" "year" "2007" { fileinto :create "Archives.2007"; } if date :is "date" "year" "2008" { fileinto :create "Archives.2008"; } if date :is "date" "year" "2009" { fileinto :create "Archives.2009"; } if date :is "date" "year" "2010" { fileinto :create "Archives.2010"; } if date :is "date" "year" "2011" { fileinto :create "Archives.2011"; } if date :is "date" "year" "2012" { fileinto :create "Archives.2012"; } if date :is "date" "year" "2013" { fileinto :create "Archives.2013"; } if date :is "date" "year" "2014" { fileinto :create "Archives.2014"; } if date :is "date" "year" "2015" { fileinto :create "Archives.2015"; } if date :is "date" "year" "2016" { fileinto :create "Archives.2016"; } if date :is "date" "year" "2017" { fileinto :create "Archives.2017"; } if date :is "date" "year" "2018" { fileinto :create "Archives.2018"; } if date :is "date" "year" "2019" { fileinto :create "Archives.2019"; } if date :is "date" "year" "2020" { fileinto :create "Archives.2020"; } EOF }
*** Customize Sonarr
custom_sonarr () { open "http://localhost:7878/settings/mediamanagement" open "http://localhost:8989/settings/mediamanagement" printf "%s" "$_sonarr" | \ while IFS="$(printf '\t')" read pref value; do printf "\033[1m\033[34m%s:\033[0m %s\n" "$pref" "$value" done }
**** _sonarr
|---------------------------------+--------------------------------------------------------------| | Preference | Value | |---------------------------------+--------------------------------------------------------------| | Advanced Settings | Shown | | Rename Episodes | Yes | | Standard Episode Format | {Series Title} - s{season:00}e{episode:00} - {Episode Title} | | Daily Episode Format | {Series Title} - {Air-Date} - {Episode Title} | | Anime Episode Format | {Series Title} - s{season:00}e{episode:00} - {Episode Title} | | Multi-Episode Style | Scene | | Create empty series folders | Yes | | Ignore Deleted Episodes | Yes | | Change File Date | UTC Air Date | | Set Permissions | Yes | | Download Clients | NZBGet | | NZBGet: Name | NZBGet | | NZBGet: Category | Sonarr | | Failed: Remove | No | | Drone Factory Interval | 0 | | Connect: Custom Script | | | postSonarr: Name | postSonarr | | postSonarr: On Grab | No | | postSonarr: On Download | Yes | | postSonarr: On Upgrade | Yes | | postSonarr: On Rename | No | | postSonarr: Path | ${HOME}/.config/mp4_automator/postSonarr.py | | Start-Up: Open browser on start | No | | Security: Authentication | Basic (Browser popup) | |---------------------------------+--------------------------------------------------------------|
*** Customize SSH
custom_ssh () { if ! test -d "${HOME}/.ssh"; then mkdir -m go= "${HOME}/.ssh" e="$(ask 'New SSH Key: Email Address?' 'OK' '')" ssh-keygen -t ed25519 -a 100 -C "$e" cat << EOF > "${HOME}/.ssh/config" Host * AddKeysToAgent yes IdentityFile ~/.ssh/id_ed25519 EOF pbcopy < "${HOME}/.ssh/id_ed25519.pub" open "https://github.com/settings/keys" fi }
*** Customize System Preferences
custom_sysprefs () { custom_general custom_desktop "/Library/Desktop Pictures/Solid Colors/Solid Black.png" custom_screensaver custom_dock custom_dockapps
custom_text custom_dictation custom_mouse custom_trackpad custom_sound custom_loginitems custom_siri custom_clock custom_a11y custom_other }
**** Customize General
custom_general () {
osascript -e 'tell application "System Events" to tell appearance preferences to set dark mode to true'
config_defaults "${_general}"
osascript << EOF
<
**** =recent-items.applescript=
tell application "System Events"
tell appearance preferences
set recent documents limit to 0
set recent applications limit to 0
set recent servers limit to 0
end tell
end tell
**** _general
|----------------------------------------------------------------+--------------------------------------+------------------------------+---------+----------------------------+--------------| | Preference | Domain | Key | Type | Value | Host | |----------------------------------------------------------------+--------------------------------------+------------------------------+---------+----------------------------+--------------| | Appearance: ~Graphite~ For Buttons, Menus, and Windows | -globalDomain | AppleAquaColorVariant | -int | 6 | | | Appearance: ~on~ Use dark menu bar and Dock | -globalDomain | AppleInterfaceStyle | -string | Dark | | | Appearance: ~off~ Automatically hide and show the menu bar | -globalDomain | _HIHideMenuBar | -bool | false | | | Highlight color: ~#99CC99~ ~Other…~ | -globalDomain | AppleHighlightColor | -string | 0.600000 0.800000 0.600000 | | | Sidebar icon size: ~Small~ | -globalDomain | NSTableViewDefaultSizeMode | -int | 1 | | | Show scroll bars: ~Always~ | -globalDomain | AppleShowScrollBars | -string | Always | | | Click in the scroll bar to: ~Jump to the next page~ | -globalDomain | AppleScrollerPagingBehavior | -bool | false | | | ~on~ Ask to keep changes when closing documents | -globalDomain | NSCloseAlwaysConfirmsChanges | -bool | true | | | ~on~ Close windows when quitting an app | -globalDomain | NSQuitAlwaysKeepsWindows | -bool | false | | | ~on~ Allow Handoff between this Mac and your iCloud devices | com.apple.coreservices.useractivityd | ActivityAdvertisingAllowed | -bool | true | -currentHost | | | com.apple.coreservices.useractivityd | ActivityReceivingAllowed | -bool | true | -currentHost | | ~on~ Use LCD font smoothing when available | -globalDomain | AppleFontSmoothing | -int | 1 | -currentHost | |----------------------------------------------------------------+--------------------------------------+------------------------------+---------+----------------------------+--------------|
**** Customize Desktop Picture
custom_desktop () {
osascript - "${1}" << EOF 2> /dev/null
<
**** =custom_desktop.applescript=
on run { _this }
tell app "System Events" to set picture of every desktop to POSIX file _this
end run
**** Customize Screen Saver
custom_screensaver () { if test -e "/Library/Screen Savers/BlankScreen.saver"; then defaults -currentHost write com.apple.screensaver moduleDict \ '{ moduleName = "BlankScreen"; path = "/Library/Screen Savers/BlankScreen.saver"; type = 0; }' fi config_defaults "${_screensaver}" }
**** _screensaver
|-------------------------------------------------------------+-----------------------+--------------------------+---------+---------+--------------| | Preference | Domain | Key | Type | Value | Host | |-------------------------------------------------------------+-----------------------+--------------------------+---------+---------+--------------| | Start after: ~Never~ | com.apple.screensaver | idleTime | -int | 0 | -currentHost | | Hot Corners…: Top Left: ~⌘ Mission Control~ | com.apple.dock | wvous-tl-corner | -int | 2 | | | | com.apple.dock | wvous-tl-modifier | -int | 1048576 | | | Hot Corners…: Bottom Left: ~Put Display to Sleep~ | com.apple.dock | wvous-bl-corner | -int | 10 | | | | com.apple.dock | wvous-bl-modifier | -int | 0 | | |-------------------------------------------------------------+-----------------------+--------------------------+---------+---------+--------------|
**** Customize Dock
custom_dock () { config_defaults "${_dock}" }
**** _dock
|-----------------------------------------------------+----------------+--------------------------+---------+--------+------| | Preference | Domain | Key | Type | Value | Host | |-----------------------------------------------------+----------------+--------------------------+---------+--------+------| | Size: ~32 px~ | com.apple.dock | tilesize | -int | 32 | | | ~off~ Magnification: ~64 px~ | com.apple.dock | magnification | -bool | false | | | | com.apple.dock | largesize | -int | 64 | | | Position on screen: ~Right~ | com.apple.dock | orientation | -string | right | | | Minimize windows using: ~Scale effect~ | com.apple.dock | mineffect | -string | scale | | | Prefer tabs when opening documents: ~Always~ | -globalDomain | AppleWindowTabbingMode | -string | always | | | ~off~ Double-click a window’s title bar to ~None~ | -globalDomain | AppleActionOnDoubleClick | -string | None | | | ~on~ Minimize windows into application icon | com.apple.dock | minimize-to-application | -bool | true | | | ~off~ Animate opening applications | com.apple.dock | launchanim | -bool | false | | | ~on~ Automatically hide and show the Dock | com.apple.dock | autohide | -bool | true | | | ~on~ Show indicators for open applications | com.apple.dock | show-process-indicators | -bool | true | | |-----------------------------------------------------+----------------+--------------------------+---------+--------+------|
**** Customize Dock Apps
custom_dockapps () { defaults write com.apple.dock "autohide-delay" -float 0 defaults write com.apple.dock "autohide-time-modifier" -float 0.5
defaults delete com.apple.dock "persistent-apps"
printf "%s\n" "${_dockapps}" | \
while IFS="$(printf '\t')" read app; do
if test -e "/Applications/${app}.app"; then
defaults write com.apple.dock "persistent-apps" -array-add \
"
defaults delete com.apple.dock "persistent-others"
osascript -e 'tell app "Dock" to quit' }
**** _dockapps
-------------------- | Dock Items | |
---|---|---|
Metanota Pro | ||
Safari | ||
Messages | ||
Emacs | ||
BBEdit | ||
Atom | ||
Utilities/Terminal | ||
iTerm | ||
System Preferences | ||
PCalc | ||
Hermes | ||
iTunes | ||
VLC | ||
-------------------- |
**** Customize Security
custom_security () { config_defaults "${_security}" }
**** _security
|--------------------------------------------------------------------------+-----------------------+---------------------+------+-------+------| | Preference | Domain | Key | Type | Value | Host | |--------------------------------------------------------------------------+-----------------------+---------------------+------+-------+------| | ~on~ Require password ~5 seconds~ after sleep or screen saver begins | com.apple.screensaver | askForPassword | -int | 1 | | | | com.apple.screensaver | askForPasswordDelay | -int | 5 | | |--------------------------------------------------------------------------+-----------------------+---------------------+------+-------+------|
**** Customize Text
custom_text () { config_defaults "${_text}" }
**** _text
|----------------------------------------+---------------+--------------------------------------+-------+-------+------| | Preference | Domain | Key | Type | Value | Host | |----------------------------------------+---------------+--------------------------------------+-------+-------+------| | ~off~ Capitalize words automatically | -globalDomain | NSAutomaticCapitalizationEnabled | -bool | false | | | ~off~ Add period with double-space | -globalDomain | NSAutomaticPeriodSubstitutionEnabled | -bool | false | | | ~off~ Use smart quotes and dashes | -globalDomain | NSAutomaticQuoteSubstitutionEnabled | -bool | false | | |----------------------------------------+---------------+--------------------------------------+-------+-------+------|
**** Customize Dictation
custom_dictation () { config_defaults "${_dictation}" }
**** _dictation
|-------------------+-----------------------------------------------------------+-----------------------------------+-------+-------+------| | Preference | Domain | Key | Type | Value | Host | |-------------------+-----------------------------------------------------------+-----------------------------------+-------+-------+------| | Dictation: ~On~ | com.apple.speech.recognition.AppleSpeechRecognition.prefs | DictationIMMasterDictationEnabled | -bool | true | | |-------------------+-----------------------------------------------------------+-----------------------------------+-------+-------+------|
**** Customize Mouse
custom_mouse () { config_defaults "${_mouse}" }
**** _mouse
|-----------------------------------+---------------+--------------------------------+-------+-------+------| | Preference | Domain | Key | Type | Value | Host | |-----------------------------------+---------------+--------------------------------+-------+-------+------| | ~off~ Scroll direction: Natural | -globalDomain | com.apple.swipescrolldirection | -bool | false | | |-----------------------------------+---------------+--------------------------------+-------+-------+------|
**** Customize Trackpad
custom_trackpad () { config_defaults "${_trackpad}" }
**** _trackpad
|---------------------+----------------------------------------------------+-----------------------------+-------+-------+--------------| | Preference | Domain | Key | Type | Value | Host | |---------------------+----------------------------------------------------+-----------------------------+-------+-------+--------------| | ~on~ Tap to click | com.apple.driver.AppleBluetoothMultitouch.trackpad | Clicking | -bool | true | | | | -globalDomain | com.apple.mouse.tapBehavior | -int | 1 | -currentHost | |---------------------+----------------------------------------------------+-----------------------------+-------+-------+--------------|
**** Customize Sound
custom_sound () { config_defaults "${_sound}" }
**** _sound
|----------------------------------------------+---------------+---------------------------------+---------+------------------------------------+------| | Preference | Domain | Key | Type | Value | Host | |----------------------------------------------+---------------+---------------------------------+---------+------------------------------------+------| | Select an alert sound: ~Sosumi~ | -globalDomain | com.apple.sound.beep.sound | -string | /System/Library/Sounds/Sosumi.aiff | | | ~off~ Play user interface sound effects | -globalDomain | com.apple.sound.uiaudio.enabled | -int | 0 | | | ~off~ Play feedback when volume is changed | -globalDomain | com.apple.sound.beep.feedback | -int | 0 | | |----------------------------------------------+---------------+---------------------------------+---------+------------------------------------+------|
**** Customize Login Items
custom_loginitems () { printf "%s\n" "${_loginitems}" | \ while IFS="$(printf '\t')" read app; do if test -e "$app"; then osascript - "$app" << EOF > /dev/null on run { _app } tell app "System Events" make new login item with properties { hidden: true, path: _app } end tell end run EOF fi done }
**** _loginitems
------------------------------------------------------------------------------------ | Login Items | |
---|---|---|
/Applications/Alfred 3.app | ||
/Applications/autoping.app | ||
/Applications/Caffeine.app | ||
/Applications/Coffitivity.app | ||
/Applications/Dropbox.app | ||
/Applications/HardwareGrowler.app | ||
/Applications/I Love Stars.app | ||
/Applications/IPMenulet.app | ||
/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app | ||
/Applications/Menubar Countdown.app | ||
/Applications/Meteorologist.app | ||
/Applications/Moom.app | ||
/Applications/NZBGet.app | ||
/Applications/Plex Media Server.app | ||
/Applications/Radarr.app | ||
/Applications/Sonarr-Menu.app | ||
/Library/PreferencePanes/SteerMouse.prefPane/Contents/MacOS/SteerMouse Manager.app | ||
------------------------------------------------------------------------------------ |
**** Customize Siri
custom_siri () { defaults write com.apple.assistant.backedup "Output Voice" \ '{ Custom = 1; Footprint = 0; Gender = 1; Language = "en-US"; }' defaults write com.apple.Siri StatusMenuVisible -bool false }
**** Customize Clock
custom_clock () { defaults -currentHost write com.apple.systemuiserver dontAutoLoad \ -array-add "/System/Library/CoreServices/Menu Extras/Clock.menu" defaults write com.apple.menuextra.clock DateFormat \ -string "EEE MMM d h:mm:ss a" }
**** Customize Accessibility
custom_a11y () { config_defaults "${_a11y}"
if test -d "/System/Library/Speech/Voices/Allison.SpeechVoice"; then config_defaults "${_speech}" defaults write com.apple.speech.voice.prefs VisibleIdentifiers \ '{ "com.apple.speech.synthesis.voice.allison.premium" = 1; }' fi }
**** _a11y
|-------------------------------------+------------------------------+----------------------+---------+------------+------| | Preference | Domain | Key | Type | Value | Host | |-------------------------------------+------------------------------+----------------------+---------+------------+------| | Display: ~on~ Reduce transparency | com.apple.universalaccess | reduceTransparency | -bool | true | | | Speech: System Voice: Allison | com.apple.speech.voice.prefs | SelectedVoiceName | -string | Allison | | | | com.apple.speech.voice.prefs | SelectedVoiceCreator | -int | 1886745202 | | | | com.apple.speech.voice.prefs | SelectedVoiceID | -int | 184555197 | | |-------------------------------------+------------------------------+----------------------+---------+------------+------|
**** Customize Other Prefs
custom_other () {
T=$(printf '\t')
printf "%s\n" "$_other_prefs" | \
while IFS="$T" read pane anchor paneid anchorid icon; do
osascript - "$pane" "$anchor" "$paneid" "$anchorid" "$icon" << EOF 2> /dev/null
<
***** =open-syspref.applescript=
on run { _pane, _anchor, _paneid, _anchorid, _icon } tell app "System Events" display dialog "Open the " & _anchor & " pane of " & _pane & " preferences." buttons { "Open " & _pane } default button 1 with icon POSIX file _icon end tell tell app "System Preferences" if not running then run reveal anchor _anchorid of pane id _paneid activate end tell end run
|---------------------+---------------+----------------------------------------+--------------------------+---------------------------------------------------------------------------------------------| | Pane | Anchor | Pane ID | Anchor ID | Icon | |---------------------+---------------+----------------------------------------+--------------------------+---------------------------------------------------------------------------------------------| | Security & Privacy | General | com.apple.preference.security | General | /System/Library/PreferencePanes/Security.prefPane/Contents/Resources/FileVault.icns | | Security & Privacy | FileVault | com.apple.preference.security | FDE | /System/Library/PreferencePanes/Security.prefPane/Contents/Resources/FileVault.icns | | Security & Privacy | Accessibility | com.apple.preference.security | Privacy_Accessibility | /System/Library/PreferencePanes/Security.prefPane/Contents/Resources/FileVault.icns | | Displays | Display | com.apple.preference.displays | displaysDisplayTab | /System/Library/PreferencePanes/Displays.prefPane/Contents/Resources/Displays.icns | | Keyboard | Modifer Keys | com.apple.preference.keyboard | keyboardTab_ModifierKeys | /System/Library/PreferencePanes/Keyboard.prefPane/Contents/Resources/Keyboard.icns | | Keyboard | Text | com.apple.preference.keyboard | Text | /System/Library/PreferencePanes/Keyboard.prefPane/Contents/Resources/Keyboard.icns | | Keyboard | Shortcuts | com.apple.preference.keyboard | shortcutsTab | /System/Library/PreferencePanes/Keyboard.prefPane/Contents/Resources/Keyboard.icns | | Keyboard | Dictation | com.apple.preference.keyboard | Dictation | /System/Library/PreferencePanes/Keyboard.prefPane/Contents/Resources/Keyboard.icns | | Printers & Scanners | Main | com.apple.preference.printfax | print | /System/Library/PreferencePanes/PrintAndScan.prefPane/Contents/Resources/PrintScanPref.icns | | Internet Accounts | Main | com.apple.preferences.internetaccounts | InternetAccounts | /System/Library/PreferencePanes/iCloudPref.prefPane/Contents/Resources/iCloud.icns | | Network | Wi-Fi | com.apple.preference.network | Wi-Fi | /System/Library/PreferencePanes/Network.prefPane/Contents/Resources/Network.icns | | Users & Groups | Login Options | com.apple.preferences.users | loginOptionsPref | /System/Library/PreferencePanes/Accounts.prefPane/Contents/Resources/AccountsPref.icns | | Time Machine | Main | com.apple.prefs.backup | main | /System/Library/PreferencePanes/TimeMachine.prefPane/Contents/Resources/TimeMachine.icns | |---------------------+---------------+----------------------------------------+--------------------------+---------------------------------------------------------------------------------------------|
*** Customize Terminal
custom_terminal () { config_plist "${_term_plist}" \ "${HOME}/Library/Preferences/com.apple.Terminal.plist" \ ":Window Settings:ptb" config_defaults "${_term_defaults}" }
**** _term_plist
|------------+---------+---------------------------------------+---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Preference | Command | Entry | Type | Value |
|------------+---------+---------------------------------------+---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| | delete | | | |
| | add | : | | dict |
| | add | :name | string | ptb |
| | add | :type | string | Window Settings |
| | add | :ProfileCurrentVersion | real | 2.05 |
| | add | :BackgroundColor | data | <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
**** _term_defaults
|------------+--------------------+-------------------------+---------+-------+------| | Preference | Domain | Key | Type | Value | Host | |------------+--------------------+-------------------------+---------+-------+------| | | com.apple.Terminal | Startup Window Settings | -string | ptb | | | | com.apple.Terminal | Default Window Settings | -string | ptb | | |------------+--------------------+-------------------------+---------+-------+------|
*** Customize Vim
custom_vim () { true }
*** Customize VLC
custom_vlc () { config_defaults "${_vlc_defaults}" if which crudini > /dev/null; then test -d "${HOME}/Library/Preferences/org.videolan.vlc" || \ mkdir -p "${HOME}/Library/Preferences/org.videolan.vlc" printf "%s\n" "${_vlcrc}" | \ while IFS="$(printf '\t')" read section key value; do crudini --set "${HOME}/Library/Preferences/org.videolan.vlc/vlcrc" "${section}" "${key}" "${value}" done fi }
**** _vlc_defaults
|--------------------------------------+------------------+-------------------------+-------+-------+------| | Preference | Domain | Key | Type | Value | Host | |--------------------------------------+------------------+-------------------------+-------+-------+------| | ~on~ Automatically check for updates | org.videolan.vlc | SUEnableAutomaticChecks | -bool | true | | | | org.videolan.vlc | SUHasLaunchedBefore | -bool | true | | | | org.videolan.vlc | SUSendProfileInfo | -bool | true | | |--------------------------------------+------------------+-------------------------+-------+-------+------|
**** _vlcrc
|---------------------------------------------------------------------+---------+-----------------------------+---------| | Preference | Section | Key | Value | |---------------------------------------------------------------------+---------+-----------------------------+---------| | Interface: ~on~ Use the native fullscreen mode | macosx | macosx-nativefullscreenmode | 1 | | Interface: ~off~ Resize interface to the native video size | macosx | macosx-video-autoresize | 0 | | Interface: ~off~ Control playback with the Apple Remote | macosx | macosx-appleremote | 0 | | Interface: ~on~ Pause the video playback when minimized | macosx | macosx-pause-minimized | 1 | | Interface: Continue playback ~Always~ | macosx | macosx-continue-playback | 1 | | Interface: ~on~ Allow metadata network access | core | metadata-network-access | 1 | | Audio: ~Always reset audio start level to:~ ~100%~ | core | volume-save | 0 | | Audio: ~on~ Use S/PDIF when available | core | spdif | 1 | | Subtitles / OSD: Preferred subtitle language ~English~ | core | sub-language | English | | Interface: Hotkeys settings: Medium jump length ~30~ | core | medium-jump-size | 30 | | Subtitles / OSD: Default Encoding ~Universal (UTF-8)~ | subsdec | subsdec-encoding | UTF-8 | | Input / Codecs: Hardware Acceleration* ~Video Decode Acceleration~ | avcodec | avcodec-hw | vda | |---------------------------------------------------------------------+---------+-----------------------------+---------|
** Personalize
*** Define Function =personalize=
personalize () { printf "%b" "$(echo "${1}" | openssl enc -aes-256-ecb -a -d -pass "pass:${CRYPTPASS}")" | sh }
*** Define Function =personalize_all=
personalize_all () { personalize_ccc4 personalize_sketchuppro8 personalize_istatmenus5 personalize_littlesnitch4 personalize_meteorologist3 personalize_moom personalize_nzbget personalize_nzbvortex personalize_pacifist personalize_pcalc3 personalize_scrivener personalize_sizeup personalize_steermouse5 personalize_tower2 personalize_transmit4 personalize_tune4mac personalize_vmwarefusion8pro personalize_logout }
*** Personalize Carbon Copy Cloner 4
personalize_ccc4 () { personalize "${_ccc4_crypt}" }
| U2FsdGVkX1/MLZ+EavKN4ODNZY1H0LENk6AnfNBq/JmkRR4f3uSZHoo0c7mZbLdU | | 0V5ygQMCllFVHW0WgAQYyMMeihp6PQ+qjTNZvs05bBCm3ovV2ZJOaR5viJOMQj/v | | aiYazKPPLhR8kNSxWloOS/3xqvENuwCPSjVj9mZxp4U6pSA0swevHhhopr01sube | | 7ay3OykHFZGXAdkkPd64DthTSLTPnF5Yf0GIvLWlJwVJTZxDkb+4tiMRouE1gRPA | | 51Qah/fTE4sFHuvmoCrrAnRBfEuYH5DaWc2FWLWM2srqjd0+TA6N3xIipm0D7jjw | | urcxNanFv0oSBSJpwhYM4YAFGHvSHcbPk/orvtB1URN5+KmYPPjk8Ad2fF10PGBm | | +TlnRloE3sITbYmIzi3MKSdqerw5wf2x69ioNgF/c4xUHZtrVioSIcR2oIwVua8N | | 05OzDNG0XjI9bDo+bsevflV7cSg2YMhJElTlqQa7fUfQLUnP7+QJEeX1Azq2LdF6 | | HpEgFgV9Ruv9XHwHJ2lrJG+/qpYhbv+X2wTmmgnqtQY= |
*** Personalize Sketchup Pro 8
personalize_sketchuppro8 () { personalize "${_sketchuppro8_crypt}" }
| U2FsdGVkX1/CiRi4IbSmF9DMnkgd74TA3yNaILrAIAJ6EkdS9a8eLeWLEGVItc9j | | NWk8T5bIUkT3XCUFeBAFU4hX10smsLoT17MZD/vDevm+Nu1Efo4stPLOzg90pNEb | | B0dn2LLBJV8dhDpBHvoBJYl6hXbu7khPZpfVwOTWUGPrdYULEbutjkbYF9R7j+KO | | cTkFyHqpPMxDGGOEhoFUptifSo++KbX0oZWWK5S+XK4= |
*** Personalize iStat Menus 5
personalize_istatmenus5 () { personalize "${_istatmenus5_crypt}" }
| U2FsdGVkX1+tdI0uAzK7kUWZN9APcwvzte3Q4E1Gr+lOlBTkn55cbHepHjYo0f+W | | FC+v9NBp13EI+owprzVN8qU+Xs9pX69WKgLQuKa45d8ASrX6Pwz9HrYLVfauuh4r | | d8Zd5K8KEsDDZJSmbPq9Xg== |
*** Personalize Little Snitch 4
personalize_littlesnitch4 () { personalize "${_littlesnitch4_crypt}" }
| U2FsdGVkX18thR0gOmvkpKnSlLhcoHYWP4KcJZodKQIv+Epgi/zbNfW25qNYaxGq | | o0/1HUxF+mTw7bsuAJxKM+u1iwLti/BRcicReoLvqSziH/LMvIt3pAEs5UfnHGpy | | Bd/lcdnAVm7Sq+r1T5CsNzPR5z0Wuziju0ie14PmT/V/PpJ47B/k8ScT/b7mfwzv | | 82RqOFdZJjdJ5sK50aiNt9K5h7up6uVwK7cdut44Xf4TDx/UTR46xsUew8jG4I5F | | EAWUUBvoI2N9lSywCXdmes5qm2LQ3gxZlCrJgY3/oXe6fUi5BLdVK8iGL6NVq+PY | | lDx4SOVP+hZ5kjOpVLe91zhw6nVy1yon6P447IJT0VxP9RaJW2F3VkckRU4xFfao | | ShL49pYYhS4yCzxO/sSSHFR+hzaxCMyYGaddDFwN7u5sp4TOiTj+S6HiF6H9c+Uo | | b4p9g/CwMsplzedpm9X/Y/hIQ0Uda42r91T75H0f4kWjGd2/LEBUjSVXzPBzYZ9a | | o9SduxX3XE+506zBBpE5CGb20ndVEFXgJfq8CVnl7uEF87b+L9AxusLeZHycp83M | | G9QbnGiv12M1P8dm6Az0YpOBiF7Xpn0AlQpg+3k9pNQZy7WRlb4symFW2ugUNgLV | | BNkWD7W8D1PiLYoo0ZyDDI/FPNGb1uRwCZ4BfvtbjiMH28XAvxxZwMAySApfP4QV | | y5UyS6L3olWNpUOFZE/Bgdd3tduCR5xllGAZcugUaN10aXh0EUiubn06i7uf9uQ1 |
*** Personalize Meteorologist 3
personalize_meteorologist3 () { personalize "${_meteorologist3_crypt}" }
| U2FsdGVkX19gjPI4DdUhV25638tJvTh2zGck1vrs/MrQJI1ghBVzZu4YK5I3U4fR | | 96YI2iy5YqVws5f9fPWKYPsEy7Y58Ppl10sHLo/QLmYbWWCPR7HU5sHITnAbtnid | | wjgJtltscMlbSyn1ekyUz2yFM18I2bdKHklHo68UZet/1f8LnyJSBUhaL9l7sYVK | | lw1J7xu9A2djc0s7tQYcondLL/sa1OWKXk4kI9IlzD09vTjmmx9U7g+arUV4Z9cB | | uDkvQFd2W92+G5Da7NdgJJTrgV9hYH+uWznGG/rnTeIpPjyBMEZbIDtOtiq5j1m4 | | +K2JieiExcX8CUSKPxBQbH/clmRT8dgr+C9BSDi7iJ2yTIvOU6wRGHvNUN9WrlD4 | | L/0eW8p6B2E74SkvHjmmD7o0UcrWgS1DO0C4dcM8p3FcvZ7Tj1QPwX6i1roTqAQ5 | | SbeZNE8UsDnaAfFeVtZNElaH3g5XpdONa7x3Q/L56rpANFW9x96HRCAe6zvl6sAj |
*** Personalize Moom
personalize_moom () { personalize "${_moom_crypt}" }
| U2FsdGVkX18lU+JpUd5n3lZTfIBCHIyenbkWqcLZDtlQ0xNnzuOnHWEuVzMZTEMO | | n32zp+nIgCBYCQU8cj1CT/jOKfuQ0bYEqMXls05yi5SfsLuHciUfgOZtaZdIo0HI | | xi2ozsQaCX9tbxo9l2+l3AS5yE83TYvtWvg2QlTAkkOdPNnnHY7odDNCNICx+aZK | | u5N9CGeB/Dg9yDtEUUZInmUG6wJ/lgPizNTRVVEfntKrjNGIy23nOHk5wdvuOYZP | | ENnGfaoT3eBC0k1/0Rb4SBATDjP4EJyR1kiBRaV0Km+uNz5tH91e2Ows6gAWJc+e | | InOgKTDVAweXmBLxAy5kRTeJAcIkjkAuluu41suzvlAE6e8SSqZXIoptYhNIoLIb | | TyXgx5Ad16KSxla9HrdMWwCoxKnOwzuZbfmTasOy6g7tP18FdTiawfbwf20ZLdKc | | 67ksIOfctKHToHee9g8R+4CtwS0bztEfgszzUhV5Q8BGsP+fYjCI64v3VlLKlPRh | | /7DxoZ5T6Vf9vMM9B3TbEcupmH98Cq+PgZa8TLtjScFTw5rlGTyNC8AAFiJzfipA | | nDZMcWeyhtep1BhL/LcBcPZja/uwtbNYIMxDwgmQzeyzBqBqzE1AX4St+oM4AQmC | | bB7xmEZekWw8LhO4vGGxEkoaT+FXt7GZI6hvKjd2biMCs0LqW8OWWgArWsR7BjrP | | /otPGFZi6RK655O069cEaeVaizxZJ/9kw8QvvRYElh1OzfiQQSfozRwnVghHuk9X | | u9n8b6MnrRYOojufn9YHltb1UZ6WPEMSk0657TcNZkX5AeWLT6/LF9++/qw37nWr | | Z0+xTMP4+BUrXRG2qVOy9gtRkWVr/m9Ap/xvs2IymM+sGPK8msCm+Sx2bL/QpMf9 | | UunICoL9GHCz5iu47bLTVZPYkG8SAnsDzauHMxWxJcJOVrMNfJwLinc3GmWi7OXo | | 8r/zcFc0vFA6bSym+3+qCgGrWZ3D84Wf4JO15/qej1o3UqvrHZN1XCgGdNoe7QQu | | fuf003HH98R/KYbM7tnWCKTyr/rqbwNG3EzyM9qWABPsUKhhD4xNDSrAETg0gCcU | | 17ZV74vWmXpBD6GEAvXtW0WxTFm4mX+SwoqA1YEkDDkAxhMIsG00T3X3OcdG8U8/ | | NgeKG2PJcPK5ZzdCS1jKWQKh4+oS+UOjdJjH9CvpGnM6Ol/7GtnvjReRBn91qjBs | | fpVhnmdK3+2+lQsiChCfVH8ZV7scGZqmHrT/Z5B80hxFoHXCBzc4aXqhRP3+8Kwc | | 8Vdm8BexgPjn/f1h6mZt7V3J5+kaQFItwJgd8f6VYwU40/HVQWgggkBVfb6DFTq2 | | u+XZ5aZkoM65B4s1HK0bO+Kr8pDxcvcf+O1a53043qPGoAP8l4M2xRHhkKbc2T6Z | | r1dm7UQuLktwMAY2m4B1bg== |
*** Personalize NZBGet
personalize_nzbget () { personalize "${_nzbget_crypt}" }
| U2FsdGVkX18JS7hBuu5P5eeTADOpOz+HabaX/DtndESoj1HX1YElFbxrsrovH9IE | | +m5jXFF9KgPHIt2ZjUw3H5KmHkix0GeO+ElBFwaGps8pGV6eh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AbFrngtJH | | 4H/SgjvuDiocJitIqVUhNBdX5AtasEhByfzCxalZHGIBxEKdqXMugTaLTcj/nB2C | | TfdZnoTMryqJxLlF/pAEZA== |
*** Personalize NZBVortex
personalize_nzbvortex () { personalize "${_nzbvortex_crypt}" }
| U2FsdGVkX1+307HjJGIf7rdVkS4iA3amckwax3cNni3YYdUjVoOa8Dzldh2o4zVc | | Xv7Wt0rUR434pPu+IeYH+vLqSU4KDibBPT2TZNyv3bcLKNot91E1TWmdEPrxiIPx | | ZTw6G9ZJlAUdZPK1PL8SN/32wcuQfRyX6d1NHiQ/rsleIedUvcb1Q2L1MJldD9ZU | | vfIE2TZVQA73h2DQsY/HeZXsGudOVhF1A8S5pFP6goocJ8lgmBF0rS0Z2HZ3h8Po | | eBMXudhMltv6kApIB2bj39GsECL5fbZUilX83o7tjn89x/eMra4EXwPv7aAlz9dg | | qr58SoELeC0BySdYr69KiPD13l3KsHRtQv6FBUKPt7iqlw2Ck9JDtpArSKbPXSfE | | efEfu9JIqd3C0A7nNyzapJhjNx5SQLDsu3HbtXvRvztE4BIj2yjLUywWH7BynEEx | | 74tVEmEKmHcXVpOm11qxtKznkRole4RF97V3FT36juAYQ++2xambRxsd8APDKnQx | | x4+uaXLi4A3X2hkxweE4Aw== |
*** Personalize Pacifist
personalize_pacifist () { personalize "${_pacifist_crypt}" }
| U2FsdGVkX1/wjLIEMp8Q0VgD8rDKDOmWVnoNS0wYicHRoTehfFThWcVNiJT8SvwI | | 0X0pkFgRDq5Le+idSjwfKFIMzmgmKLBZNiMMVbJ6WuWAMaYwl70M5LRfAe4vCvUB | | 4/vRSrH3+OB9k187XLViAgDadJY95T1bZZ/OGuRTiMR6shAe31XMv0DrI4ksNc/2 | | clLLzhlnaekyFeCKUYaoywH+BMl0r3nGysFsT9UTxujXmw5RjhsRWJXS7YodvCT6 | | DVXa9I2B7Q6XV/1KzVZNRg83A6u3oXBqHHKVHi/VWnrRfJf6O095F6EeIr54gzu1 | | EvJ9+a9qvovJZam37q2QrBvpiugbNZcBb0AAVvdscjIVhrdkIpVbdyHiKCO+rugS | | svGkCw28FBdOKIkXgEjudzmj/uXnWQ/9Ru1YFZw0Pv7iFjrubt4Ujgux5CUf5kfr | | xdE02nx6TYRBPH6H6fK5IloX1yMDW48CVR/hVLARoSu7rlJTVqd8U27Sx/HhJ625 | | lcV5Y2kBd7DLKqs3nRIkta90gOxFYCD1G0JYw6dAUSTF7xME9aY5UE8p3ODdmD/8 |
*** Personalize PCalc 3
personalize_pcalc3 () { personalize "${_pcalc3_crypt}" }
| U2FsdGVkX1+j54XVyGcpSm/+sDyrrLvt1XqzSIlDSwvLwh8geuJzNPVKOfRHWZK1 | | bRHEQIavsXUXmCR92vV+JtlV5Un2g29R5hvC0GDieCGghzt41Y5BypUEHP8dzWIB | | QqNrlqPQ+Wx61AQPVhiIu0y4rocctHx36vArgfuiVlvfYE29APOIJa+0nk3rJ5dB | | HsSxwDsaAQAl+psbtzfvixxtCaRa0RrgzGr0Nx1RVZNDgEbTM/mWNQH3TlFE6Vo3 | | jsZIzuUYJwb526KMk8ADC2aKNqh4fufTuWI7nCG+8RXI+t331Ge4KLXjOKsPNdwi | | UQ58r8HS7O2WqOe8Bmqw+/pBlhjLMEsqzsxSmi+KtYzHH5T5s0hOx2DK9fX65pbv | | z1t6035CgWuu+U5FezyjaBQX5XZisv51R0pmLh0akNyYKssRn8KQgeaRDmOztHwz | | Zqfi5MjUUYNPAyYFfY3EUHjzLfnwXKbQz5LNh3LpGq36nsm/NlkgAS4uOsQQuBA7 | | vj729zsRh36+psJUhA63+JiQbx5uMVjVq3pXXU0c/I/uWYwDwRNtzPUvfQIUJfZv | | Jjy9pxDOY+ybPdkmkcY+cUbPIExYCkRZkWbeqKCGIijXsJKXA6d5E/snYPa5/ckC | | zWz2E4RXmOjb3FpL3SL3TTdcpCulVRY47e9kP+P0GHADHOe3YoGEJAdwa0IWzKgC | | Zoo2qHh+59O5YjucIb7xFcHZkXvuVzJ5J1iLL/91GsS8oPCp6fci66knv2bpJyAe | | aPk31wCBIlOcIC8Y1JSyLUwZWL6CSu2OUOoqjNB2FgK50Xp/4Y0MkypLBCrq3upa | | K/jINp0AvPdrQB927lgB6BXkcKfGsRiPySepZ8pYwy1UeN1j58yemjcAtOoKiAYH | | tVjRjCyW3FspyFr0RDcxiZD+mJSG/5dxujUqpW7oGsfBtDCF1krfccVYDu3KJ1GF | | CVflh0fAO5em/3RnEyaarbscbV29bjl3cbnUejC2Y1Ofh5WrIrk8dlDNllsJNAdN | | Zuu6zS4sKFuooMDdzPaVf+YoYgZaOjMhIMTNt5ExsihZOMAr4W4KfGzx02fJHxmC | | w462hd1SC+7pjJFTjMjEWnBjUfxi6OiZFPnpgYi9H9iijFKSBu1Z4QNJj3y6V1sK | | xyWmE3/p5Aov6qPy+e7SUe84TF4oVyPQVugtdUxmeVI= |
*** Personalize Scrivener
personalize_scrivener () { personalize "${_scrivener_crypt}" }
| U2FsdGVkX1/tPt4XjHPDEtcu53cxgt0Q7GDNbNvu1VhXB+/ly+13tuMU9fA1QGm7 | | 7YBXZ89yhLY15/FzumwHY22T7cU6+y4ULRh5O4weZEX/EyOswJiMYd/MD+mNS+Cf | | dk5X6P/Y6OGPbFjL9GjfKcJi96UeZCxjf9Og39k3pqBLjTZ0iSaAUhKsTxVY9QAD | | UPrUmHuzPVrrkVQ5gArcWg== |
*** Personalize SizeUp
personalize_sizeup () { personalize "${_sizeup_crypt}" test -d "/Applications/SizeUp.app" && \ open "/Applications/SizeUp.app" }
| U2FsdGVkX1/5orle7q9WUYhaIgZFfM6G+vKsevlp7WxvCSoL/7VGdaXNfGr8yzjy | | tVfmgCAgnLH1kSGY9Xl90/iTaFJOfITzmRpmirqBzUIQVBojWyANkX9JghEnQaZ/ | | RWP/uZJ/ftxcc+dH1c/crUayobF/vhqHKuEno5IA9WAa9hdjRYvym59+Sbm2dA+3 | | +Dd8c2SawJ5MwxUWWxUn9lIg4tRtNdoh75ls7JQfvSIalINDidTxd+f43mRm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jo7O | | Sq89IECDpn/5kYeYmMGwEG1j4L5U9PcEHjelZfnQEIIcZZbcONQXXVHk8w1zd/fF | | wilkne44R/twnneP4QOmU8MTrX7zo10nZo1Sbxigh0tz4I1HoLAKPYAyIIH+NBqw | | 6FrT8NAo+FQJf87MIYcnftIuX7s/8+9N7mNrVzMeWfWs66L+uNy5yVmYxr1sA2/B | | 6T+GRoKusYmjLe7ZeRVY5M1L7W6/HqWOJmW0ojRFz1yDtaymlqExuGirq2F88UM8 | | 6hnJYMJkeYOj0Yn77JT1MIRx2vVuk6JxwmlxGPQwU58os63JNXbRYlc0jJTLu6yo | | yUFjmw1tO7/oKMbqHoxKCKz4gcm3fWx9PF9ewNgTorbVoAE1vpz8B2EKcJtAkjwk | | n+XJeNEkZsfZi66sDCzAs7TMQsBq67QLhyBqguhK5vQ= |
*** Personalize SteerMouse 5
personalize_steermouse5 () { personalize "${_steermouse5_crypt}" test -d "/Library/PreferencePanes/SteerMouse.prefPane/Contents/MacOS/SteerMouse Manager.app" && \ osascript -e 'tell app "System Preferences" to reveal pane id "jp.plentycom.prefpane.SteerMouse"' > /dev/null && \ osascript -e 'tell app "System Preferences" to activate' }
| U2FsdGVkX19WKTqA4DlNJWTdwr/4bPHnYGl1FxCz1F33OCwXz3zRmV6bj6OLodFR | | y+rhwfvc0OGUB5a95/EM20AEPEL4PwExFI9srsmYiAPPlyF1ZjTwIt9Sj9uwwDXW | | SacPMAZ65W7TMLepPIynFgTIpcTEbnsE8yK5bEZ4VJdLdcKQ7er0aOLk8/nlclqV | | hs/SvrRweQSgJPhe+aqM2vOaPHVMCjrC2toag/B2C7hgAe1tpxYSGGgcsEaT2d4C | | OvgfbpKwVmjMozy5BFcLipMs40VyQLzLo3EzmMHn1MUaamK2QrsYgUtwCY3ARbEW | | P2wQ3lBCN0d5ORKv3+kb4WAK9ZkYOn/P5656GsDtHe9hPqs+R6mf6FWIDQoexKak | | 16WwLTPw0qWRL9tq5Dxv/S4Ox8wYAxAMRJGjOv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C | | hK9Fui0CrHKGHepM3x4vLTyG/lSd9oEEE3/XNILYjbUXElJ45wH0+agUphWV7Lnc | | LGjSYp0FfmH3Er7+N8UQXd1+oSPVXcbsiYSTmNCohr/cX0LzdSyZbwBkqvsHfJAL | | GTLo9rKorwCnYbI7AGjxBRVaTWcz7taRPENBa8i5QKAEuRG4dg1L++wM7Lx+JVvI | | P4zR+YHUjw4/Uc5FOIedzWHCsBzTyAvmY0gsxcUrpLglaDWhMx+GflNZXBhSuUoL | | 9hso0F6k2D8WoRMTl2hVOqrUTwh06CA6Ny0i9fH0u2YBmAhll2T+JUuJhXl2jXIb | | 7BATYCaxJE2DUm7LV8oVlUX0px19IBia13nBToY9EXJq+envayplm/0S3FumAcII | | T/+LQO9AOUBZArtZVJbtww3TcC9sPtCahHrhhatwbrIh94LzmUBYw3ir85SQmsgN | | IuQinagYq95SW+T13pI/cfosYjj+juQkck9OCiITvBxvTl0H/vVkDtTaMZlksAoo | | V3CILqUxY6Xug7Fff/X3mTkJZmuV7ZaSx/nNHwqYe8giPS9+WlcouNm0J53yVZ4c | | fDillLyYFGBKEJwE/fm17ZHFmWHsVF6F0GF8kgb74A07zlTZin5aS/8628d3J6fx | | d/kmgd/2aojEdPacOjS3dIGBn4s6roEmDhkUefbH1xALGRppd3svbNDysUDrBqow | | TMmJ0A7sKQZC5Rs8exfKiW0OoLJtRNgExXsL/QIHlxsOj9tWs3UNE1Yo7sAxxsfn | | TGM0PQpCVar/Nl0UCBlEvP1odrfirBpUsPtHIJVYzbcmhhnRGjmWOWHHg+0I2VAG | | 6aeyN1u5LeU6wpcfYpVKIh6QPcZUT45Z/sKyiILG+3/sOWI+rPurb3ywXkMvDxFV | | n68+whk3hdO2n9p7OEQxuJzpuYeUparQh6h3kdBUJ4NPL3S6likp13hCxXRBVWwW | | HBJb/ugc4Y/lXL5rgR3I0IM7xqI5WZq0iQqf7TRSegbkQbcDmvKkaSR6FtgjIkwv | | yYztM3EWyiiJ8Wi78SzNvjkU5YmlAwX6PB7eFKjgqcIz3XapIGHAxhUttP5Q6oa6 | | n1+fY1+5TyuqonAyvWgLqfWNao1mCJQOyMz5XddD20UiOE8bPnN7YpzPY/6wQdBl | | ryKMY55Lf8rPu7XhlvK/dgbIhyudvC7VFSTKwMOWdCmFwTo4y9Z10CUQAO8dikok | | q4CHI1pc24DHskgHIzLfQgIja9ITDaxtVpAyvTcTjcpTQEQa5FXoAiqk84NRCUe/ | | uz0trd6tSlthMhEmeo+LvYG+vzVQwEh8KVAu/GNvbdv6NGI9ThwtZEm/1yTnBKK3 | | s2may2SMkW9GFdxiQ9DWgU503nFhohXQxEReNifBaqK+4Fx4xCr7AuiuxFKEUROE | | 7dy8EbEdB/eTsRuY9TTa1s7kyr5CAKqTnuZmAU2wQmRZz0GcckWSFntu0Dme2ebG | | Db4uOoDpd6yD2auV/GINzAsdH3qdOsC+XuVLmf7qS6I+DEJT6mUYXMLy7kY8ynE2 | | 91CEsQZnwp7Bz7J7aLfKLpYdpmfiSuM7dV596j+/knmAFrnvC9XMwNHkWjFhgIvT | | dlSQZVgpikorgFshd0OWibXrShQEwYhcV24WD7q57cJuw3i/TeZCDbE/ndCB6eao | | BaurJk+xSlXGVButaTUp522g9aIhFFhVaaM2IYks2BqZl/wnZHrcltWDiSjAxQfX | | yhacfj/unB1C69N5i2Luf2KkD+PhLT0ppIVC+VrVitPjgIvkzSqt6VM2+XSTLUBN | | 8LNnuH06qHB5UucjHQvMZsmORLHn1ZKSozEZMi/MMl/E2vGnylFkfOEBYGAs6HN6 | | AXSVqOgIFRUzZKBVPXCa2q7TX9c4l8cwLC8mib1WUaQq/p57LjyiaDKWofkLd984 | | nXdg8/k0Mv87m+n2k0JXWrGJs9OWqzmwpM6kFr04GFtg1L2ZunqKftFGq558TFdw | | qLixubHnXDme4nlD46i0Phk0zba/9gxqhxzGju9WdbqhGFZlmhbNwP6kGS0w5BEN | | bAkYTWYLia1OXILRw/SOF3KfxdJScFF9viKaq3AuplTkhAXugHFjbHXrvx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/vR | | maNJWww+QajfQchSIgNCNl2XrwLf8vE3lFUBvxN871hVv8ztoFype7y/sPfUWihr | | n3t51FUMxfJlTL6urubZWqkZEJsdcyMXapJzdxhEJFvM7tKAid/NSL2mhiQGD96E | | alaZGQDlewSui0SNbdagSjUJgex6mR56vPiFJ/7eixrqzl876uQ3la9nsQYRriMF | | /YeOz3+yk2J1bxmMdRoLuZc0be709s/e88xBso99299xU7iCZA2Iis9h5JxFvZsC | | itR2r01iaB5xOhwol9mxj1l08LjAaH7/qNJkWj2zPoHwXUYPHIMkhPOt72NF+wd+ | | Ji0kK4X+Si1s1bDqX+5ni6rH8ZQ2TGSxPk4vKlo6Ijc4WXyFc0KEnnkEqoWn7fs6 | | hhOlq7qIT47aqb1/9EakHA1hTgFxDTUkx7CQo+j2oc3i/hL7pOKzP6GfrapIJC/J | | MTXxstXghx8cnA+0TJwaNM2cIBNaOpf8SujfBsGygoacqUTN7brFqfmPSca7UKHS | | eLEg4Sa58iJCpm9ED99L6Uizfu0GKNyakU7h2zH4b+udDdKdRZ/jaGerZIrzdbyQ | | ccFlsGYmXKPOcRohaFMwfAVlfmYJ5/L9BM6Gd5acY+hltx1pW+en9dKINyXWgj0h | | 0Bne/PnY8PFbOvwYjfqNOJlGLVhWoGNscdmIZayoNXlKia0wLKar3tWD3+sJlPVX | | Q16P3J5oA6IUflPtZd315CRGnzeczjig6/UmoFPR/rCL0LmpvR6Zuir8ke2PBTHC | | n+nFjGnxkEEfvLRq1A6PbS24yCzTj0FcP7UVR9Fe016wH5p0W1B0boquW+otubGk | | bg6Ge+drir4z1af7EJ3bj1O2rwUbIsSMXWTioFzHqLvHzRs/i/gebjokP8QNqPHn | | h6AMujdcGsMWZ72oFhlj/8yqguhMsVZlD5toRfanDYxDwsDbvJ/D447Na8F6OrNK | | U7oeheZMH4ZElM8qk9y2pWBqSZl400g9CobFiGb9DLIJpP9V1T0wkLqo2QAX0fW5 | | WetHyE2bQrLpNLcG6G25fM2QzqzQmYmQa30BCq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9/9MaASdLFg8NhMmKfMSMjF2wz8CHKOAHi2zTCJ | | y0f0nFW+AAIb6FYqfqGWBU6OuKoa5YDdnyjYSh6LE700DtEbmVxj9R2AHoJA7Ips | | Rz4cGSo4RxEOKccfdR0MuPUjWb1buyjFfhScnn22BAwRkk2q4ZlyDLz/T909OKCV | | PlofhriFBt1qdY4HAfjqlTnh5/YCbmkVdZACkazsq9MlT2dieUtnaR9A8TOtInua | | tKffkxztgaimEpijJjSyMng1nTpL7EdYiLFyiUoXAxszB+7x9oYysXEJPXwZy8Im | | L60JxddIwTF24QelW1i6PfLkDXZb/W7JmW8lkXtkH9H7ivXukQK25sihinUTrL+n | | 7yjxKuPGwwRH0PPMqKxBTut+AuMPbzA7VFbUnetJ1aDxfMxFyMb80nHj1cb+2BOl | | z+pSVIWAYYxKLvZz4Jl9q4WV8/l1WrKX7INwVvsJQgoR4813psm/UPt7l4ZfOWl/ | | k7AWMJFQyeW+5W39BusG4lL8zMHgkb9DFapJ40XPOeRjK3UJRslD/ypZL9mbHaJ1 | | 7tehyXGJVDWphD3J7ilPCQh+EWSzn17F362X5IPVCVcevX8lSRLkdHLmTIFTGSii | | fTB57eLu/CAhFSEXMR1kxus0Ryo2QmGj/NuCzVc4WJyMS8dViBoxjl5xAcBspael | | LklYzm0XMLkCFF/ndTQJRR1wQe4+VT8nOjdeWgIiTlIrKshNMoGmdEWi4viHEAOf | | sJCxnUaCbiTobA0ktgraBZr4jlLi+7F+FZ3LP8qTsRM6EiiKNK5PtbbnbEWhMojg | | KR6hwpwoV1G3gmOpehv/IR+4nPVsZA//TydE5mrEcIr+MwWHi+TcbsHYGLkZFQG4 | | lSusz+DgEZN3bOx5zdilXiy7td2HPWx7NlPAieFIpVu6xIS23R/dF5gQWoLmFMpq | | PYO6iPSC6yt4dmrX5LTbMf+kxaJpMSWoEsV6axdkioonQuZmyDaXiAHYn/5pfjcW | | BxDLlzAS22C2OVhnq3fROYlD2mpZxRfQXHgIuoh04KaEY9CtLgn14rp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dPizyqsHzwH0RJGQHEHjOGyEpjtSv1FgHq | | qXXuY3Tv7tKzRH4CRN+xblZONKYv68/1diB8/ogl9Llbg0VtqEGppRxR0R5OWBWZ | | CQoeE4iYGE9QoCvVgbT1XIhMTB8hT8W/DP97DLI9NlENjEHh+7Pj5AGOgwjr177l |
*** Personalize Tower 2
personalize_tower2 () { personalize "${_tower2_crypt}" }
| U2FsdGVkX18oq4VX1emauD73227dbXXMGSeLQUmIsPFyU6+6Q8KFCqbqR7GNsucJ | | LXv/OdspHtCJXtDlaWtqZd1NHs+ggn25OjlYUtdMUWKVRPgGlOTyHJdatXs5gB5W | | eAhPiTi2426B/2/EG6oP4yCppBzg2Futx67NPJ+IQjV2FXCA6trV/yFUu8OD4L0G | | naiVi0l2pCF5Wi1TKNOy/lm9s2+NlCHzRVn7UidI3npHbo2qNPDZaZS/OQ5pW45p | | san6ZcVOSQnvpe89Zn7ytuc1ya5ndVppyY8ZNC/CeSrXWvGlXgdv3xOaLAIcl0l7 | | n5DBDW2eKhwcQAc8V5cK1MUHVJpjjChibB5u/XzewMJ5fqB/Foezbppk0C/qB+NG | | Bky5PkBIMGTZxgmSUm015Q0PaaLzypung1wOeUoW3uooW0JXRjHQ+PMz5a7fSwEF | | VJnHS5obu6EpOLALMKeHVNr0pebUrZniblnM/ZYpew4CBLS+Ff90ynwAFXqqMQEd | | SWavfH0nOn6GJGSPaBC7BtsnPP6f8HGzn/zEg2nV4Tdi+2FyKPJGzVpJX/45BGCH | | tqhtNRuuUjBNtgcKq+lKiM0kdKYqIq5178cAQAjSV2CV7MsxpSk3UVgdV0C/lJlc | | dp+IGLgewlA26cZ7mAhmF5rGqnEXwK60GJV/wxiixrzMP2yixNNpejgXku0b+rx5 | | MrIdxFffsNZEEs7Zc9akn1MZpipRSQrwaT89BJ16/plkKiXZPaO4BsLXMqLL3Xui | | AgBH9f/Hw3eskinf78r/nkx7l/Gs/zrJS2gb2huAOj37DJBakIyfsmyEfNfyHW5P | | 2nUMynRGLl4vLl3EBYp9X+nbLDqcLz1qllabMqFYwQ75UWlmiAq3PePKdiY9JnzS | | 3dfX/PCWw1maMxGFmnxjXqNEMwaP9dHypuQKO45WpvZ1lTs0DWysvuMf7TsHmR7B | | N6dmrGKVzxdmVpIndQSsgwcjAoAq1S2shtoKxmd1ew3+yp+SiEui9hvb+VmsAH8w | | l4hZRrJOak5+20xeumVQbk7nwz7xdl9K76/jy9RKBXA/3DB2K4iLhkng/vJzAKGz | | 4w7w9F9bLiZI2j4CSR4Mg9Qs4N2nq3Tr2iON14VXsUtUBmBsDhqCcDneRendQApE | | Q835k9ZGbhHn4jjc3YXjRK0ZQlJOzpr1Cin1q+R63DZYtonqVLXa3JiquxjH0z1e | | 90ZFuIABUyCNkpkb7RSwW0aj3gUvX2uKJ1Jm9PRHFzA0Bb/8bDbqN6U/CabExJXk | | fsMvQhP2ZFamNHARTssD1yL+AQoUjIDFp2FAfID2NwKUazQAMIYDS/zRt7lHVWjn | | /0N3R2fegJAjaUaFvGBPc++meoCmOOv2A9cOTa1B+omVJiTuLQNFbWzegeZ6of2B | | dILRTte1UYE1Z/JIDCH0EnoUyH8YvU9fcC+XpvnCrSwWQTUJNylLUF2gDjXIgIti | | 11rxpV4Hb98TmiwCHJdJeww6ab0qawmU1ScPGH642X7Pwku805gZPuUeVuCunlj7 | | ZZXp9pjCcuK9jMxRBlgXVVVjomYzeF6Qu8Ld+GMGZks= |
*** Personalize Transmit 4
personalize_transmit4 () { personalize "${_transmit4_crypt}" }
| U2FsdGVkX1/A63DIwdmh9ZT09vTHrkKyLuzKUoAwLXVzz8W9KGmBUqIUCw0qBEU7 | | ybcj/Pce96IEQX/T+7dcDuMhZ9+XLFmkgjDWbygTSDyqK1JOf5VSfRbHpFv3IIDT | | UJzgFiz9bchSACQ39qVigQ== |
*** Personalize Tune4mac
personalize_tune4mac () { personalize "${_tune4mac_crypt}" }
| U2FsdGVkX19wxlroNoTkSCFqKoMF+/uM244ExTuMuKN3RtARpy6mL0fDIcsJOA9+ | | UeireHnKQP//WhCYdvUSEeXI51tiqfO05OiasiD0SkqQEY8okh9s5CJ2a8hErUEJ | | rhvPgmlrPMvJkm+w1zabOM/DCUBgpfocCTbaZSmkMAVhWXwGHso1gKuLyxBhswQF | | Mpx+flYNykcvPqr/6/eiB12OgwY2K/GKQJqGslRiO64jrD/mgYx/7tDM6mLwKIxm | | w4DqWY0f63qEwbxb9Ott5CA3RpR5ocV/WHGvKdji6us= |
*** Personalize VMware Fusion 8 Pro
personalize_vmwarefusion8pro () { personalize "${_vmwarefusion8pro_crypt}" }
| U2FsdGVkX1+IJynnb1BXrUDrxe6PnlM3Q+3Yt98PD9wD5kS+fv99OqEGN+DtlGXD | | Ux515tySMPOm+mVfeeJpfxhpU6LWptyWA5nUlPWOo4zO0PWlzTqIfbxiLynLB5KY | | Ks6GqC7oV7cb/wK+zPOFf+YMLAFYlsLcLy02zi46QbyQ1VgNqV0fI68zf9f6VnoC | | +X9OEwjx9bI8JUUCrl0xopZJT/Hk1A8zZuV9NQyWuYgSH6ePcPiPTXOJwNec6Iic | | relOY5a7JKk4Xwq0aQqAcr7c7Gl/Lppa7E2cs74mAQoSy516/pfbANNY4HdkdVQq | | wKx/q1TryX/p2fv0RCZzYHCUr1aLi+cubdeUHlQUstnNpKcaEjnMcjR6wGGsvWTS | | 2WM47kiEoz8gC13VkMT2sZYa9Zroj2k546AE1+EjTVmqipdyuROx8NSdKS0zZlCU | | jy9isvoHKAOLkRIXDjQ6NvD9EY2TfWXq1YVyRcdbfbk/HywHrcEedn75mkI2nlkA | | +5suUKk2+LqMXG31zF020LHfRYUKILl5PJimxSrDcZ7ZXDLnD67uEOexO+WHeY0y | | cbRFbboS5RvR7WuQT6+R6w+Ise9hhWjs3luzbtWYqBPX1jznqOviKELwNf4xe+32 | | EYW2sui5wuLA/ZbLRqmf3gTxnyR8y1QjY2Vv2jEamk/gLErCnRRi8LnRcwFoPY80 | | IwirTfgNcyD/4tcFq7M0Hego5KdIZ1pq/WOT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FIv3fkxwYkwQACKVL15Oo36ZHhUf69+ejM9BVepkj0x+laJFvjR/We/HwBXcVb2 | | yxhSxwDuv09sEVjZ4a4lBM6F1wYNh2uwe34jssQvCQ2+hv9DgySCZU4OptgjnNl4 | | UgqDmjdrp/FNzFvZJUFVP6sFqlk+F1X57CbdZnzblrTpVl1kkCU/XkrBngSVvbZc | | pHA2infKImRWBLxBTkvsCuchWhUeWi/3RvdxpSl9fYKYYrIoMBRlupArYc1rXFXy | | zOqlg36vwdhr3IVrqULfzD1ELfg73smLsQSFw51vOc0= |
*** Log Out Then Log Back In
personalize_logout () { /usr/bin/read -n 1 -p "Press any key to continue. " -s if run "Log Out Then Log Back In?" "Cancel" "Log Out"; then osascript -e 'tell app "loginwindow" to «event aevtrlgo»' fi }