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 ruby | |
simulators = [ | |
{ | |
:name => "iOS 12", | |
:runtime => "com.apple.CoreSimulator.SimRuntime.iOS-12-0", | |
:devices => [ | |
{ | |
:name => "iPhone SE", |
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
This Gist includes my OSX Developer Setup | |
# Dock Setup: | |
defaults write com.apple.dock autohide-time-modifier -float 0.25;killall Dock | |
defaults write com.apple.dock autohide-delay -float 0;killall Dock | |
Setup: | |
# install hack font | |
# http://sourcefoundry.org/hack/ |
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
// | |
// ExampleUsageService.h | |
// ExampleUsage | |
// | |
// Created by Christoph Pageler on 18/03/16. | |
// Copyright © 2016 Christoph Pageler. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
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
sudo apt-get -y update | |
sudo apt-get -y install curl make vim | |
curl -L https://gist.githubusercontent.com/cpageler93/66080d09ded47272116a/raw/ec462b5aca6f8c83f0072ea454533f21df66cec0/chefsolo.sh | bash | |
# make cookbook | |
rsync -r --rsync-path="sudo rsync" . user@ip:/var/chef | |
ssh user@ip "sudo chef-solo -c /var/chef/solo.rb" |
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 | |
sudo apt-get -y update | |
sudo apt-get -y install build-essential zlib1g-dev libssl-dev libyaml-dev | |
cd /tmp | |
wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz | |
tar -xvzf ruby-2.1.2.tar.gz | |
cd ruby-2.1.2/ | |
./configure --prefix=/usr/local | |
sudo make | |
sudo make install |