Skip to content

Instantly share code, notes, and snippets.

View a0s's full-sized avatar
🐒
I'm diving into the frontend

Anton Osenenko a0s

🐒
I'm diving into the frontend
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: