Skip to content

Instantly share code, notes, and snippets.

View benburton's full-sized avatar
👨‍💻
Content-Type: application/person

Ben Burton benburton

👨‍💻
Content-Type: application/person
View GitHub Profile
@DomT4
DomT4 / gist:7e08b84dfb6022b96ed0
Last active August 29, 2015 14:02
OS X 10.10 Bootable USB

Twitter user Jaroneko published some instructions on how to create a bootable USB for OS X 10.10 the other day.

This is a revised edition tweaked by me to address a couple of the errors terminal was spewing out in response to Jaroneko's instructions, as well as improving the clarity of the process with exercising the verbose option.

If OS X 10.10 Developer Preview.app is in /Downloads:

  • defaults write com.apple.finder AppleShowAllFiles TRUE
  • killall Finder
  • sudo hdiutil attach ~/Downloads/Install\ OS\ X\ 10.10\ Developer\ Preview.app/Contents/SharedSupport/InstallESD.dmg
  • diskutil list (Find the /dev/disk corrosponding to your USB stick).
@lstoll
lstoll / JettyLauncher.scala
Created September 11, 2011 07:13
Scalatra on Heroku
/*
* Starts jetty for scalatra programatically
*
* Replace YourApplicationEndpointFilter with the filter in your application
*/
import org.eclipse.jetty.server.Server
import org.eclipse.jetty.servlet.{DefaultServlet, ServletContextHandler}
object JettyLauncher {
def main(args: Array[String]) {