-
Download zip from Google Drive
-
Unzip
unzip 'Empty Application.xctemplate.zip'
- Copy into Xcode iOS templates directory
#!/usr/bin/env bash | |
mkdir -p "$HOME/.local/bin" | |
curl -s 'https://raw.githubusercontent.com/silas/dot/master/dot' -o "$HOME/.local/bin/dot" | |
chmod 755 "$HOME/.local/bin/dot" | |
"$HOME/.local/bin/dot" install "https://github.com/silas/dotfiles" | |
source "$HOME/.bashrc" |
Download zip from Google Drive
Unzip
unzip 'Empty Application.xctemplate.zip'
docker-clean() { | |
docker rm $( docker ps -a -q ) &>/dev/null | |
docker rmi $( docker images -q --filter dangling=true ) &>/dev/null | |
} |
Clone private
git clone [email protected]:silas/dotfiles.git dotfiles.git
Or public repository
git clone https://github.com/silas/dotfiles.git dotfiles.git
/** | |
* Koa middleware for Swagger Framework. | |
*/ | |
'use strict'; | |
/** | |
* Initialize a new `Koa`. | |
* | |
* @param {Framework} framework |
# vi: set ft=ruby | |
Vagrant.configure('2') do |config| | |
config.vm.box = 'centos6' | |
config.vm.box_url = 'http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-puppet.box' | |
config.vm.network :forwarded_port, :host => 8153, :guest => 8153 | |
config.vm.provision :shell, inline: <<-eof | |
yum clean all |
require 'formula' | |
class RockRuntimeNode010 < Formula | |
homepage 'http://nodejs.org/' | |
url 'http://nodejs.org/dist/v0.10.26/node-v0.10.26.tar.gz' | |
sha1 '2340ec2dce1794f1ca1c685b56840dd515a271b2' | |
keg_only 'rock' | |
def install |
var swagger = require('swagger-framework'); | |
var api = swagger.Api({ | |
path: '/pet', | |
description: 'Manage pets', | |
consumes: [ | |
'application/json', | |
], | |
produces: [ | |
'application/json', |
#!/usr/bin/env bash | |
set -o errexit | |
yum install -y createrepo curl fedora-packager mock python-pip vim-enhanced | |
pip install ops | |
echo '#!/usr/bin/env python' > /usr/local/bin/brpm |