├── .gitignore ├── Apple-ID ├── 01-apple-id-create-account.jpg ├── 02-apple-id-create-account.jpg ├── 03-apple-id-create-account.png └── applie-id.md ├── Docker └── docker-defaults.sh ├── IRC └── IRC-setup.md ├── LICENSE ├── README.md ├── experiments ├── Installations ├── backgroundtest.sh ├── dock │ ├── add-spacer.sh │ ├── hide-unhide-dock.sh │ ├── minimize-suck-animation.sh │ ├── persistent-stacks.sh │ ├── scroll-to-open-expose.sh │ ├── set-dock-back-to-default.sh │ ├── show-hidden.sh │ └── static-only.sh ├── docker.sh ├── runthis.sh └── testing.sh └── starter └── setup-osx.sh /.gitignore: -------------------------------------------------------------------------------- 1 | .DS-Store 2 | 3 | # Logs 4 | logs 5 | *.log 6 | npm-debug.log* 7 | 8 | # Runtime data 9 | pids 10 | *.pid 11 | *.seed 12 | 13 | # Directory for instrumented libs generated by jscoverage/JSCover 14 | lib-cov 15 | 16 | # Coverage directory used by tools like istanbul 17 | coverage 18 | 19 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 20 | .grunt 21 | 22 | # node-waf configuration 23 | .lock-wscript 24 | 25 | # Compiled binary addons (http://nodejs.org/api/addons.html) 26 | build/Release 27 | 28 | # Dependency directory 29 | node_modules 30 | 31 | # Optional npm cache directory 32 | .npm 33 | 34 | # Optional REPL history 35 | .node_repl_history 36 | 37 | *~ 38 | 39 | # temporary files which can be created if a process still has a handle open of a deleted file 40 | .fuse_hidden* 41 | 42 | # KDE directory preferences 43 | .directory 44 | 45 | # Linux trash folder which might appear on any partition or disk 46 | .Trash-* 47 | 48 | ## Ignore Visual Studio temporary files, build results, and 49 | ## files generated by popular Visual Studio add-ons. 50 | 51 | # User-specific files 52 | *.suo 53 | *.user 54 | *.userosscache 55 | *.sln.docstates 56 | 57 | # User-specific files (MonoDevelop/Xamarin Studio) 58 | *.userprefs 59 | 60 | # Build results 61 | [Dd]ebug/ 62 | [Dd]ebugPublic/ 63 | [Rr]elease/ 64 | [Rr]eleases/ 65 | x64/ 66 | x86/ 67 | bld/ 68 | [Bb]in/ 69 | [Oo]bj/ 70 | [Ll]og/ 71 | 72 | # Visual Studio 2015 cache/options directory 73 | .vs/ 74 | # Uncomment if you have tasks that create the project's static files in wwwroot 75 | #wwwroot/ 76 | 77 | # MSTest test Results 78 | [Tt]est[Rr]esult*/ 79 | [Bb]uild[Ll]og.* 80 | 81 | # NUNIT 82 | *.VisualState.xml 83 | TestResult.xml 84 | 85 | # Build Results of an ATL Project 86 | [Dd]ebugPS/ 87 | [Rr]eleasePS/ 88 | dlldata.c 89 | 90 | # DNX 91 | project.lock.json 92 | artifacts/ 93 | 94 | *_i.c 95 | *_p.c 96 | *_i.h 97 | *.ilk 98 | *.meta 99 | *.obj 100 | *.pch 101 | *.pdb 102 | *.pgc 103 | *.pgd 104 | *.rsp 105 | *.sbr 106 | *.tlb 107 | *.tli 108 | *.tlh 109 | *.tmp 110 | *.tmp_proj 111 | *.log 112 | *.vspscc 113 | *.vssscc 114 | .builds 115 | *.pidb 116 | *.svclog 117 | *.scc 118 | 119 | # Chutzpah Test files 120 | _Chutzpah* 121 | 122 | # Visual C++ cache files 123 | ipch/ 124 | *.aps 125 | *.ncb 126 | *.opendb 127 | *.opensdf 128 | *.sdf 129 | *.cachefile 130 | 131 | # Visual Studio profiler 132 | *.psess 133 | *.vsp 134 | *.vspx 135 | *.sap 136 | 137 | # TFS 2012 Local Workspace 138 | $tf/ 139 | 140 | # Guidance Automation Toolkit 141 | *.gpState 142 | 143 | # ReSharper is a .NET coding add-in 144 | _ReSharper*/ 145 | *.[Rr]e[Ss]harper 146 | *.DotSettings.user 147 | 148 | # JustCode is a .NET coding add-in 149 | .JustCode 150 | 151 | # TeamCity is a build add-in 152 | _TeamCity* 153 | 154 | # DotCover is a Code Coverage Tool 155 | *.dotCover 156 | 157 | # NCrunch 158 | _NCrunch_* 159 | .*crunch*.local.xml 160 | nCrunchTemp_* 161 | 162 | # MightyMoose 163 | *.mm.* 164 | AutoTest.Net/ 165 | 166 | # Web workbench (sass) 167 | .sass-cache/ 168 | 169 | # Installshield output folder 170 | [Ee]xpress/ 171 | 172 | # DocProject is a documentation generator add-in 173 | DocProject/buildhelp/ 174 | DocProject/Help/*.HxT 175 | DocProject/Help/*.HxC 176 | DocProject/Help/*.hhc 177 | DocProject/Help/*.hhk 178 | DocProject/Help/*.hhp 179 | DocProject/Help/Html2 180 | DocProject/Help/html 181 | 182 | # Click-Once directory 183 | publish/ 184 | 185 | # Publish Web Output 186 | *.[Pp]ublish.xml 187 | *.azurePubxml 188 | # TODO: Comment the next line if you want to checkin your web deploy settings 189 | # but database connection strings (with potential passwords) will be unencrypted 190 | *.pubxml 191 | *.publishproj 192 | 193 | # NuGet Packages 194 | *.nupkg 195 | # The packages folder can be ignored because of Package Restore 196 | **/packages/* 197 | # except build/, which is used as an MSBuild target. 198 | !**/packages/build/ 199 | # Uncomment if necessary however generally it will be regenerated when needed 200 | #!**/packages/repositories.config 201 | # NuGet v3's project.json files produces more ignoreable files 202 | *.nuget.props 203 | *.nuget.targets 204 | 205 | # Microsoft Azure Build Output 206 | csx/ 207 | *.build.csdef 208 | 209 | # Microsoft Azure Emulator 210 | ecf/ 211 | rcf/ 212 | 213 | # Microsoft Azure ApplicationInsights config file 214 | ApplicationInsights.config 215 | 216 | # Windows Store app package directories and files 217 | AppPackages/ 218 | BundleArtifacts/ 219 | Package.StoreAssociation.xml 220 | _pkginfo.txt 221 | 222 | # Visual Studio cache files 223 | # files ending in .cache can be ignored 224 | *.[Cc]ache 225 | # but keep track of directories ending in .cache 226 | !*.[Cc]ache/ 227 | 228 | # Others 229 | ClientBin/ 230 | ~$* 231 | *~ 232 | *.dbmdl 233 | *.dbproj.schemaview 234 | *.pfx 235 | *.publishsettings 236 | node_modules/ 237 | orleans.codegen.cs 238 | 239 | # Since there are multiple workflows, uncomment next line to ignore bower_components 240 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 241 | #bower_components/ 242 | 243 | # RIA/Silverlight projects 244 | Generated_Code/ 245 | 246 | # Backup & report files from converting an old project file 247 | # to a newer Visual Studio version. Backup files are not needed, 248 | # because we have git ;-) 249 | _UpgradeReport_Files/ 250 | Backup*/ 251 | UpgradeLog*.XML 252 | UpgradeLog*.htm 253 | 254 | # SQL Server files 255 | *.mdf 256 | *.ldf 257 | 258 | # Business Intelligence projects 259 | *.rdl.data 260 | *.bim.layout 261 | *.bim_*.settings 262 | 263 | # Microsoft Fakes 264 | FakesAssemblies/ 265 | 266 | # GhostDoc plugin setting file 267 | *.GhostDoc.xml 268 | 269 | # Node.js Tools for Visual Studio 270 | .ntvs_analysis.dat 271 | 272 | # Visual Studio 6 build log 273 | *.plg 274 | 275 | # Visual Studio 6 workspace options file 276 | *.opt 277 | 278 | # Visual Studio LightSwitch build output 279 | **/*.HTMLClient/GeneratedArtifacts 280 | **/*.DesktopClient/GeneratedArtifacts 281 | **/*.DesktopClient/ModelManifest.xml 282 | **/*.Server/GeneratedArtifacts 283 | **/*.Server/ModelManifest.xml 284 | _Pvt_Extensions 285 | 286 | # Paket dependency manager 287 | .paket/paket.exe 288 | 289 | # FAKE - F# Make 290 | .fake/ 291 | 292 | # JetBrains Rider 293 | .idea/ 294 | *.sln.iml 295 | 296 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm 297 | # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 298 | 299 | # User-specific stuff: 300 | .idea/workspace.xml 301 | .idea/tasks.xml 302 | .idea/dictionaries 303 | .idea/vcs.xml 304 | .idea/jsLibraryMappings.xml 305 | 306 | # Sensitive or high-churn files: 307 | .idea/dataSources.ids 308 | .idea/dataSources.xml 309 | .idea/dataSources.local.xml 310 | .idea/sqlDataSources.xml 311 | .idea/dynamic.xml 312 | .idea/uiDesigner.xml 313 | 314 | # Gradle: 315 | .idea/gradle.xml 316 | .idea/libraries 317 | 318 | # Mongo Explorer plugin: 319 | .idea/mongoSettings.xml 320 | 321 | ## File-based project format: 322 | *.iws 323 | 324 | ## Plugin-specific files: 325 | 326 | # IntelliJ 327 | /out/ 328 | 329 | # mpeltonen/sbt-idea plugin 330 | .idea_modules/ 331 | 332 | # JIRA plugin 333 | atlassian-ide-plugin.xml 334 | 335 | # Crashlytics plugin (for Android Studio and IntelliJ) 336 | com_crashlytics_export_strings.xml 337 | crashlytics.properties 338 | crashlytics-build.properties 339 | fabric.properties 340 | 341 | -------------------------------------------------------------------------------- /Apple-ID/01-apple-id-create-account.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adron/dev-setup-osx/07533f832055b7f9e8a46a1af73c95433717c37b/Apple-ID/01-apple-id-create-account.jpg -------------------------------------------------------------------------------- /Apple-ID/02-apple-id-create-account.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adron/dev-setup-osx/07533f832055b7f9e8a46a1af73c95433717c37b/Apple-ID/02-apple-id-create-account.jpg -------------------------------------------------------------------------------- /Apple-ID/03-apple-id-create-account.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Adron/dev-setup-osx/07533f832055b7f9e8a46a1af73c95433717c37b/Apple-ID/03-apple-id-create-account.png -------------------------------------------------------------------------------- /Apple-ID/applie-id.md: -------------------------------------------------------------------------------- 1 | # Apple ID Registration and Sign Up 2 | 3 | Navigate to https://appleid.apple.com/ and click on the Create Apple ID link on the page. Next fill out the form provided. 4 | 5 | [![Create Apple ID](01-apple-id-create-account.jpg)](01-apple-id-create-account.jpg) 6 | 7 | Once the account is created you'll be shown a status screen as shown. 8 | 9 | [![Create Apple ID Finished Screen](02-apple-id-create-account.jpg)](02-apple-id-create-account.jpg) 10 | 11 | Next you'll need to verify your account by logging into iTunes. On a computer with iTunes, launch the application (install it if you don't currently have access to it, it's preinstalled on any Apple product). Once iTunes is launch click on Store > Sing In on the menu bar. 12 | 13 | There fill out the information shown on this form and click continue. 14 | 15 | [![Apple ID Verification with iTunes](03-apple-id-create-account.png)](03-apple-id-create-account.png) 16 | 17 | All done, now you're all set. Return to the main [docs readme](../README.md). 18 | -------------------------------------------------------------------------------- /Docker/docker-defaults.sh: -------------------------------------------------------------------------------- 1 | echo "Pull Docker image for Zookeeper & Exhibitor."; 2 | echo " Docker Hub Image => https://hub.docker.com/r/adron/systemic-dockzoo/"; 3 | echo " Github Repo => https://github.com/Adron/systemic-dockzoo"; 4 | docker pull adron/systemic-dockzoo; 5 | echo "Starting Docker image as container with ports 8181 for Exhibitor. Navigate to http://192.168.x.y:8181" \ 6 | " to view Exhibitor. Once image is running you can also open Kitematic to view."; 7 | docker run -p 8181:8181 -p 2181:2181 -p 2888:2888 -p 3888:3888 -d adron/systemic-dockzoo; 8 | -------------------------------------------------------------------------------- /IRC/IRC-setup.md: -------------------------------------------------------------------------------- 1 | # IRC Setup 2 | 3 | /msg nickserv register your_email@gmail.com 4 | /msg nickserv verify register 5 | /msg nickserv set enforce on 6 | /msg nickserv set private 7 | 8 | When logging in, be sure to verify the password. 9 | 10 | /msg nickserv identify 11 | 12 | To retrieve the password. 13 | 14 | /msg nickserv sendpass 15 | 16 | On #freenode I'm adron, see ya in virtual space. 17 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright {yyyy} {name of copyright owner} 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Stories in Ready](https://badge.waffle.io/Adron/dev-setup-osx.png?label=ready&title=Ready)](https://waffle.io/Adron/dev-setup-osx) 2 | # dev-setup-osx 3 | 4 | This is a repo of tools that I use to setup a development machine on OS-X. To dive right in, just run this script here however... 5 | 6 | bash <(curl -s https://raw.githubusercontent.com/adron/dev-setup-osx/master/starter/setup-osx.sh) 7 | 8 | I advise following the steps below to insure the best experience. :) 9 | 10 | ## Apple ID [Step 01] 11 | 12 | [Instructions](https://github.com/adron/dev-setup-osx/blob/master/Apple-ID/applie-id.md) 13 | 14 | Setup an Apple ID that can be used for downloads related to patches, updates, Xcode things, Apple Updates, and related content. Create the Apple ID account related to that company to remove yourself from liability for any personal Apple ID content being used on the machine, this insures you're using only company owned products and you're not mistakenly using products that you might have registered on your own Apple ID account. To complete these steps and register an Apple ID follow [these steps](https://github.com/adron/dev-setup-osx/blob/master/Apple-ID/applie-id.md). 15 | 16 | ## Install & Accept The XCode License [Step 02] 17 | 18 | This is needed to get brew to work right and is generally necessary for a whole host of other reasons. The best way to do this, is with the Apple ID created download and install XCode and run it once to accept the license. If anybody knows the installation steps to do this in an automated and scripted fashion, please let me know and I'll be euphoric to add it back to the script. 19 | 20 | ## "The" Script [Step 03] 21 | 22 | This script is designed to install a number of things (listed below). It is also assuming that the OS-X Computer you're about to install all of this on hasn't had a single thing installed on it that didn't come from Apple itself. This script will cleanup and install a number of things specifically for development purposes. To run this script just open a terminal and run the following command (Same as mentioned above). During this command you will be prompted a few times for your password to insure installation succeeds, otherwise it is very low maintenance and one can step away and come back as necessary. 23 | 24 | bash <(curl -s https://raw.githubusercontent.com/adron/dev-setup-osx/master/starter/setup-osx.sh) 25 | 26 | ## Get a "Nick" Registered on IRC [Step 04] 27 | 28 | More info to come. 29 | 30 | ### Tools, IDEs, and Other Software Installed 31 | 32 | * git 33 | * Node.js 4.x and 5.x via NVM. 34 | * python 35 | * wget 36 | * dropbox 37 | * firefox 38 | * google-chrome 39 | * java 8 40 | * Sublime 3 41 | * vagrant 42 | * vagrant-manager 43 | * VMware Fusion 8.1.0 (will require a key upon launch or use 30-day free trial) 44 | * virtualbox 45 | * webstorm 46 | * intellij-idea 47 | * atom 48 | * iterm2 49 | * dockertoolbox w/ default VM created. 50 | 51 | # OS-X References 52 | 53 | * [Google Chrome Mac Shortcut Keys](http://blog.adron.me/docs/Google-Chrome-Mac-Shortcuts/) 54 | * [Mac OS-X Keys ⌘ (Command), ⌥ (Option), and ^ (Control)](http://blog.adron.me/docs/Mac-OS-X-Keyboard-Keys/) 55 | -------------------------------------------------------------------------------- /experiments/Installations: -------------------------------------------------------------------------------- 1 | Installations: 2 | 3 | brew cask install virtualbox 4 | brew cask install vagrant 5 | brew cask install vagrant-manager 6 | 7 | References: 8 | 9 | https://gist.github.com/kevinelliott/3135044 10 | http://sourabhbajaj.com/mac-setup/iTerm/README.html 11 | https://github.com/thoughtbot/laptop 12 | 13 | Install Xcode: 14 | 15 | https://gist.github.com/phs/6505382 16 | 17 | 18 | 19 | https://github.com/donnemartin/dev-setup#bootstrapsh-script 20 | https://github.com/donnemartin/dev-setup#bootstrapsh-script 21 | 22 | 23 | 24 | 25 | Run script from web. 26 | 27 | 28 | https://github.com/chcokr/osx-init/blob/master/install.sh 29 | https://github.com/donnemartin/dev-setup 30 | 31 | 32 | -------------------------------------------------------------------------------- /experiments/backgroundtest.sh: -------------------------------------------------------------------------------- 1 | osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/Library/Desktop Pictures/Antelope Canyon.jpg"'; 2 | 3 | osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/Library/Desktop Pictures/Shapes.jpg"'; 4 | -------------------------------------------------------------------------------- /experiments/dock/add-spacer.sh: -------------------------------------------------------------------------------- 1 | defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock -------------------------------------------------------------------------------- /experiments/dock/hide-unhide-dock.sh: -------------------------------------------------------------------------------- 1 | defaults write com.apple.dock autohide-time-modifier -float 1; killall Dock -------------------------------------------------------------------------------- /experiments/dock/minimize-suck-animation.sh: -------------------------------------------------------------------------------- 1 | defaults write com.apple.dock mineffect suck; killall Dock -------------------------------------------------------------------------------- /experiments/dock/persistent-stacks.sh: -------------------------------------------------------------------------------- 1 | defaults write com.apple.dock persistent-others -array-add '{"tile-data" = {"list-type" = 1;}; "tile-type" = "recents-tile";}'; killall Dock -------------------------------------------------------------------------------- /experiments/dock/scroll-to-open-expose.sh: -------------------------------------------------------------------------------- 1 | defaults write com.apple.dock scroll-to-open -bool TRUE; killall Dock -------------------------------------------------------------------------------- /experiments/dock/set-dock-back-to-default.sh: -------------------------------------------------------------------------------- 1 | defaults delete com.apple.dock; killall Dock -------------------------------------------------------------------------------- /experiments/dock/show-hidden.sh: -------------------------------------------------------------------------------- 1 | defaults write com.apple.dock showhidden -bool TRUE; killall Dock -------------------------------------------------------------------------------- /experiments/dock/static-only.sh: -------------------------------------------------------------------------------- 1 | defaults write com.apple.dock static-only -bool TRUE; killall Dock -------------------------------------------------------------------------------- /experiments/docker.sh: -------------------------------------------------------------------------------- 1 | # Docker Prep 2 | docker-machine create default --driver virtualbox; 3 | docker-machine start default 4 | docker-machine env default; 5 | eval $(docker-machine env default); 6 | # Docker Hub Image => https://hub.docker.com/r/adron/systemic-dockzoo/ 7 | # Github Repo => https://github.com/Adron/systemic-dockzoo 8 | docker pull adron/systemic-dockzoo; 9 | docker run -p 8181:8181 -p 2181:2181 -p 2888:2888 -p 3888:3888 adron/systemic-dockzoo; -------------------------------------------------------------------------------- /experiments/runthis.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | defaults write com.apple.finder AppleShowAllFiles YES; # show hidden files 4 | defaults write com.apple.dock persistent-apps -array; # remove icons in Dock 5 | defaults write com.apple.dock tilesize -int 36; # smaller icon sizes in Dock 6 | defaults write com.apple.dock autohide -bool true; # turn Dock auto-hidng on 7 | defaults write com.apple.dock autohide-delay -float 0; # remove Dock show delay 8 | defaults write com.apple.dock autohide-time-modifier -float 0; # remove Dock show delay 9 | defaults write com.apple.dock orientation left; # place Dock on the left side of screen 10 | defaults write NSGlobalDomain AppleShowAllExtensions -bool true; # show all file extensions 11 | killall Dock 2>/dev/null; 12 | killall Finder 2>/dev/null; 13 | 14 | echo "Setting up ~/.bash_profile..."; 15 | touch ~/.bash_profile; 16 | echo "export PS1=\"\w $ \";" >> ~/.bash_profile; 17 | 18 | # install Xcode Command Line Tools 19 | # https://github.com/timsutton/osx-vm-templates/blob/ce8df8a7468faa7c5312444ece1b977c1b2f77a4/scripts/xcode-cli-tools.sh 20 | touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress; 21 | PROD=$(softwareupdate -l | 22 | grep "\*.*Command Line" | 23 | head -n 1 | awk -F"*" '{print $2}' | 24 | sed -e 's/^ *//' | 25 | tr -d '\n') 26 | softwareupdate -i "$PROD" -v; 27 | 28 | ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"; 29 | brew install \ 30 | boost \ 31 | caskroom/cask/brew-cask \ 32 | cmake \ 33 | git \ 34 | leiningen \ 35 | mongodb \ 36 | mysql \ 37 | nmap \ 38 | node \ 39 | openssl \ 40 | privoxy \ 41 | pssh \ 42 | python \ 43 | redis \ 44 | homebrew/versions/swig304 \ 45 | tor \ 46 | ; 47 | brew tap caskroom/versions; 48 | brew cask install \ 49 | dropbox \ 50 | firefox \ 51 | google-chrome \ 52 | java \ 53 | kindle \ 54 | spotify \ 55 | sublime-text \ 56 | vagrant \ 57 | virtualbox \ 58 | vmware-fusion \ 59 | webstorm \ 60 | intellij-idea 61 | ; 62 | -------------------------------------------------------------------------------- /experiments/testing.sh: -------------------------------------------------------------------------------- 1 | # Referenced from http://compositecode.com/docs/the-latest-best-way-to-install-node-js/ 2 | curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash; 3 | 4 | source ~/.bash_profile 5 | 6 | nvm install 4.3.1; 7 | nvm install stable; 8 | 9 | nvm alias default stable; -------------------------------------------------------------------------------- /starter/setup-osx.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | echo "Setting up ~/.bash_profile..."; 4 | touch ~/.bash_profile; 5 | 6 | osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/Library/Desktop Pictures/Color Burst 2.jpg"'; 7 | 8 | echo "Showing all files, because you'll need that."; 9 | defaults write com.apple.finder AppleShowAllFiles YES; 10 | defaults write NSGlobalDomain AppleShowAllExtensions -bool true; 11 | 12 | echo "Removing junk icons from the dock."; 13 | defaults write com.apple.dock persistent-apps -array; 14 | 15 | echo "Dock tile size set to 36."; 16 | defaults write com.apple.dock tilesize -int 36; 17 | 18 | echo "Dock set to auto-hide."; 19 | defaults write com.apple.dock autohide -bool true; 20 | 21 | echo "Removing dock show delay."; 22 | defaults write com.apple.dock autohide-delay -float 0; 23 | defaults write com.apple.dock autohide-time-modifier -float 0; 24 | 25 | echo "Killing dock and finder so they'll restart." 26 | killall Dock 2>/dev/null; 27 | killall Finder 2>/dev/null; 28 | 29 | ################################################################################ 30 | # Install homebrew and git if they dont' exist 31 | ################################################################################ 32 | function install_package_managers(){ 33 | #install or update homebrew 34 | which -s brew 35 | if [[ $? != 0 ]] ; then 36 | # Install Homebrew 37 | /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"