Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
func_check_for_root() { | |
if [ ! $( id -u ) -eq 0 ]; then | |
echo "ERROR: $0 Must be run as root, Script terminating" ;exit 7 | |
fi | |
} | |
func_check_for_root | |
#SETUP PARAMS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Inspiration http://lapwinglabs.com/blog/hacker-guide-to-setting-up-your-mac && http://fredkelly.net/articles/2014/10/19/developing_on_yosemite.html | |
#Create alias | |
alias upgrade='sudo softwareupdate --install --all --list' | |
#Enable repeat on keydown | |
defaults write -g ApplePressAndHoldEnabled -bool false | |
#Show Path bar in Finder | |
defaults write com.apple.finder ShowPathbar -bool true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// these code can simply get wwdc2014 videos and pdfs get it into the download tools | |
// https://developer.apple.com/videos/wwdc/2014/ | |
// paset it in chrome or safrari | |
var hds = sds = pdfs = []; | |
function model_session() { | |
var tmp = { | |
title:"", | |
hd : "", | |
sd : "", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://devstreaming.apple.com/videos/wwdc/2014/403xxksrj0qs8c0/403/403_hd_intermediate_swift.mov | |
http://devstreaming.apple.com/videos/wwdc/2014/419xxli6f60a6bs/419/419_hd_advanced_graphics_and_animation_performance.mov | |
http://devstreaming.apple.com/videos/wwdc/2014/101xx36lr6smzjo/101/101_hd.mov | |
http://devstreaming.apple.com/videos/wwdc/2014/236xxwk3fv82sx2/236/236_hd_building_interruptible_and_responsive_interactions.mov | |
http://devstreaming.apple.com/videos/wwdc/2014/306xxjtg7uz13v0/306/306_hd_javascript_for_automation.mov | |
http://devstreaming.apple.com/videos/wwdc/2014/404xxdxsstkaqjb/404/404_hd_advanced_swift.mov | |
http://devstreaming.apple.com/videos/wwdc/2014/701xx8n8ca3aq4j/701/701_hd_designing_accessories_for_ios_and_os_x.mov | |
http://devstreaming.apple.com/videos/wwdc/2014/224xxxlsvigdoc0/224/224_hd_core_os_ios_application_architectural_patterns.mov | |
http://devstreaming.apple.com/videos/wwdc/2014/717xxux5eg6f9v4/717/717_hd_kids_and_apps.mov | |
http://devstreaming.apple.com/videos/wwdc/2014/716xx8q4shlqcp8/716/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Inspiration http://lapwinglabs.com/blog/hacker-guide-to-setting-up-your-mac && http://fredkelly.net/articles/2014/10/19/developing_on_yosemite.html | |
#Create alias | |
alias upgrade='sudo softwareupdate --install --all --list' | |
#Enable repeat on keydown | |
defaults write -g ApplePressAndHoldEnabled -bool false | |
#Show Path bar in Finder | |
defaults write com.apple.finder ShowPathbar -bool true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# _ _ _ _ __ _ | |
# (_)_ __ ___| |_ __ _| | |/ _| ___ ___| |_ | |
# | | '_ \/ __| __/ _` | | | |_ / _ \/ __| __| | |
# | | | | \__ \ || (_| | | | _| __/\__ \ |_ | |
# |_|_| |_|___/\__\__,_|_|_|_| \___||___/\__| | |
# | |
# Installfest Script for development on a Mac | |
# | |
# Author: Phillip Lamplugh, GA Instructor (2014) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ========================================================================== | |
# | |
# Script Name: Install-Programs.ps1 | |
# | |
# Author: Andy Parkhill | |
# | |
# Date Created: 27/03/2014 | |
# | |
# Description: A simple environment setup script for my personal laptop. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-ExecutionPolicy Unrestricted -Force | |
Move-LibraryDirectory "Personal" "$env:UserProfile\skydrive\documents" | |
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Enable-RemoteDesktop | |
# Text Editors | |
#cinst notepad2 | |
cinst notepadplusplus |