Skip to content

Instantly share code, notes, and snippets.

View szalansky's full-sized avatar
🎯
Focusing

szalansky

🎯
Focusing
View GitHub Profile

Apple has changed how it distributes OS X Mavericks since its initial release in October 2013. This note was written on May 2, 2014. This affects the instructions you'll find online for how to make a bootable OS X installer.

It used to be that when you downloaded OS X from the App Store, the entire 5GB installer was placed in /Applications/Install OS X Mavericks.app. Now, there is a simple shortcut program placed in /Applications/OS X Mavericks.app. The app file is immediately removed in the event of an error or a successful post-install launch. When the download succeeds, the app file is launched which brings up the traditional install wizard, but this time mounted to /Volumes/Install OS X Mavericks.

I actually discovered this because if you already have a volume mounted of the same name (which I did, because I was trying to update my existing USB installer), the App Store download promptly fails right after finishing its download.

So if you have an empty disk you'd like to use as an installer that'

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0G7bNWK/A5eShY0gkGHo9+/zTIsjiWlFwNhC7oElV7vWt+8yyuR4iAeH19ET8P75nBZ6s5HsoQ803eVP2VjHA11GHeSStGn2IlrEkZMl+rE56zE/BWEjG11oWAeCdGkLS4B2XyhVjyg5FpRqxlBJbCmrqClNUD0ck5Rbf1Vk9WkMEldRyTl7eoCQEvXp8iK8ko+gBMlhWGtBCEzuhjgyyOdlTlhXpmWmN/OUDH2+pbSedsicpcLJYstZPwDrTuA1lKjejsIi962jGKPSWhgh9MsD02AvoUF5tEWx++b13pkyUCGyDJqK7kYrU+O2kMs7Mf4lFd9rJe8RsU4eY+d6t
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDaIXuInNjokrzIcoN1tOrCgTu5n0FrQ2tWT8k/Sx3aiOO5FjXzuGdlbzsoujZFcqvSV/f9OQcGL8PAJJ2cNeoT+dkeN9IWsWlqK+/WTNIxb7E5P3/wDloL3hqPDPFMi1PScLI0nPjgnGEX5qiBIW54nXZL8DWc58mDk7xpv0jRigK1IkgcmhekxOVQPl7GCHtEbqhMqh3H0VOEVyWi/A+bTPIf2WyYWrDAzsRQRaT/iQJE8szHMH7215OVuvX0kVEAHyRzMhLzbf3ouK7NAM1Hh36R3H830gSNIj+h9WJFN2zH/9GF5uzvkWufZXMzUjVI/PRCDeaEgH0/LEzXhZXV [email protected]
@szalansky
szalansky / show_jenkins_errors.bookmark
Last active August 29, 2015 14:26 — forked from christemple/show_jenkins_errors.bookmark
Bookmark: Show the errors in a Jenkins console output easier
javascript:var errors = jQuery('.console-output > span[style*="CD0000"]').clone(); jQuery('.console-output').empty(); jQuery('.console-output').append(errors); jQuery('.console-output > span').append("<br/>");
product = Product.find 123
product.title = “foo”
product.changed? # true
######
product = Product.find 123
product.title = “foo”
@szalansky
szalansky / gist:4610c0f88d4cb3160add
Created December 25, 2015 12:14
fresh os x setup
turn off hibernation (only unibody mbpro)
install iterm2 + thayer
install xcode
install vagrant + virtualbox
create vagrant machines
@szalansky
szalansky / disclaimer.txt
Created April 12, 2016 08:03 — forked from AJFaraday/disclaimer.txt
Email disclaimer
I am not now, nor have I ever been, bound in law
by conditions presented in the footer of communications
from parties with whom I have no verbal, implied, literal
or otherwise contract.
By opening this email you have agreed to provide Mr Andrew
Faraday with your organisations contact database, tangible
assets and outstanding shares free of charge and at your
personal expense.
@szalansky
szalansky / seeyouspacecowboy.sh
Created July 19, 2016 07:24
A shell script to display SEE YOU SPACE COWBOY whenever you logout of your terminal!
#!/usr/bin/env bash
# SEE YOU SPACE COWBOY by DANIEL REHN (danielrehn.com)
# Displays a timeless message in your terminal with cosmic color effects
# Usage: add "sh ~/seeyouspacecowboy.sh; sleep 2" to .bash_logout (or similar) in your home directory
# (adjust the sleep variable to display the message for more seconds)
# Cosmic color sequence
`emacs --daemon` to run in the background.
`emacsclient.emacs24 <filename/dirname>` to open in terminal
NOTE: "M-m and SPC can be used interchangeably".
* Undo - `C-/`
* Redo - `C-?`
* Change case: 1. Camel Case : `M-c`
2. Upper Case : `M-u`
3. Lower Case : `M-l`

Types

A type is a collection of possible values. An integer can have values 0, 1, 2, 3, etc.; a boolean can have values true and false. We can imagine any type we like: for example, a HighFive type that allows the values "hi" or 5, but nothing else. It's not a string and it's not an integer; it's its own, separate type.

Statically typed languages constrain variables' types: the programming language might know, for example, that x is an Integer. In that case, the programmer isn't allowed to say x = true; that would be an invalid program. The compiler will refuse to compile it, so we can't even run it.