Skip to content

Instantly share code, notes, and snippets.

View a0s's full-sized avatar
🔬
Lets automate everything

Anton Osenenko a0s

🔬
Lets automate everything
View GitHub Profile
# This gist is compatible with Ansible 1.x .
# For Ansible 2.x , please check out:
# - https://gist.github.com/dmsimard/cd706de198c85a8255f6
# - https://github.com/n0ts/ansible-human_log
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
@a0s
a0s / Disk Utility (10.10).sh
Last active June 25, 2016 18:51 — forked from geoff-nixon/Disk Utility (10.10).sh
Continue downloading after interraption
#!/bin/sh -x ## or just ` curl -Ls http://git.io/vRozn | sh `.
## Downloads the Mac OS X 10.10 Recovery Partition update,
## Copy's over the 10.10 version of Disk Utility.app, then
## use git to apply a binary patch so it will run on 10.11+.
cd /tmp
# rm -rf DU1010
mkdir -p DU1010
# Update, upgrade and install development tools:
apt-get update
apt-get -y upgrade
apt-get -y install build-essential
apt-get -y install git-core
# Install rbenv
git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv
# Add rbenv to the path: