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
Thu Nov 24 23:27:56 UTC 2016 |
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
--- | |
applications: | |
- name: shocking-go-web-app | |
disk: 512M | |
memory: 512M |
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
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
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
#!/bin/bash | |
set -eux | |
export GOPATH=$PWD/../gopath | |
export PATH=$PWD/../gopath/bin:$PATH | |
export OPSMAN_OVA=$GOPATH/$OPSMAN_OVA | |
go version |
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
platform: linux | |
image_resource: | |
type: docker-image | |
source: {repository: mattcosgrove/wake-me-up-b4u-go-govc, tag: "latest"} | |
inputs: | |
- name: pcf-vsphere | |
- name: pivnet-pcf-opsman | |
- name: govcwrap |
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
--- | |
resource_types: | |
- name: pivnet | |
type: docker-image | |
source: | |
repository: pivotalcf/pivnet-resource | |
tag: latest-final | |
resources: |
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
#!/bin/sh | |
echo ">>>> System update and get minimal required modules to use vboxdrv kernel <<<<" | |
yum update -y | |
yum install -y binutils qt gcc make patch libgomp glibc-headers glibc-devel | |
echo ">>>> Getting kernel headers and DKMS to favour future VirtualBox kernel Updates <<<<" | |
yum install -y kernel-headers kernel-devel dkms | |
repoFile="/etc/yum.repos.d/virtualbox.repo" |
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 update | |
sudo apt install git build-essential python | |
pushd ~ > /dev/null | |
git clone https://github.com/dark/dropbox-filesystem-fix.git | |
pushd ~/dropbox-filesystem-fix > /dev/null | |
make | |
popd > /dev/null | |
wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - |
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 | |
df -hT | |
sudo debugfs -R features /dev/xvda1 | |
cat /etc/fstab | |
echo "Checking pre-requisites..." | |
sudo apt-get -qq update | |
sudo apt -yqq install python |
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 | |
: "${DROPBOX_FOLDER_TO_KEEP:? DROPBOX_FOLDER_TO_KEEP must be set e.g. DROPBOX_FOLDER_TO_KEEP=CapoeiraSubsonicLibrary ./dropbox_cli_selective_sync.sh }" | |
# TODO: avoid ls ---> http://mywiki.wooledge.org/ParsingLs | |
dropbox(){ | |
/usr/local/bin/dropbox.py "$@" | |
} | |
pushd ~/Dropbox > /dev/null | |
while [ "$(ls -1 | grep -v $DROPBOX_FOLDER_TO_KEEP | wc -l)" -ne "0" ] |
OlderNewer