View create-vm.sh
#!/bin/bash
WORKSPACE=$HOME/workspace/src/github.com/cloudfoundry
STEMCELL_PATH=${STEMCELL_PATH:-$WORKSPACE/bosh-linux-stemcell-builder/tmp/bosh-stemcell-0000-vsphere-esxi-centos-7-go_agent.tgz}
bosh create-env --recreate dummy.yml \
--state ./state.json \
-o $WORKSPACE/bosh-deployment/virtualbox/cpi.yml \
-o $WORKSPACE/bosh-deployment/virtualbox/outbound-network.yml \
-o <(echo '[{ type: "replace", path: "/resource_pools/name=vms/stemcell?", value: { url: "file://((stemcell_path))" } }]') \
View dpkg_diff_for_dk.diff
+autotools-dev
+chrony
-comerr-dev
+console-setup-linux
-dh-apparmor
+dh-strip-nondeterminism
+distro-info-data
-dmsetup
+icu-devtools
+init
View keybase.md

Keybase proof

I hereby claim:

  • I am luan on github.
  • I am cfcluan (https://keybase.io/cfcluan) on keybase.
  • I have a public key ASCJQQNvCtPNewqirq3DfcD5b9t0dw5-UC6JXOVEQys2pgo

To claim this, I am signing this object:

View bosh-lite-grootfs.yml
- type: replace
path: /releases/-
value:
name: grootfs
version: "0.21.0"
url: https://s3.amazonaws.com/bosh-compiled-release-tarballs/grootfs-0.21.0-ubuntu-trusty-3421.9-20170715-015624-456359848-20170715015628.tgz?versionId=YMly21JNkDvhw0TWefdFtQNE4dz_PHkL
sha1: 752d5a2686dfce0de888864f283f1eab6519ad6d
- type: replace
path: /instance_groups/name=bosh/jobs/name=garden/properties?/garden/image_plugin?
value: /var/vcap/packages/grootfs/bin/grootfs
View compile
#!/bin/bash
# usage: bin/compile <build-dir> <cache-dir> <env-dir>
mkdir -p "$1" "$2"
build=$(cd "$1/" && pwd)
cache=$(cd "$2/" && pwd)
export buildpack=$(dirname $(dirname $0))
# CF Common
export BUILDPACK_PATH=$buildpack
View shell-colors-vim-hybrid.sh
#!/bin/sh
# Shell colors for vim-hybrid - Shell color setup script
# Luan Santos (http://luansantos.com)
if [ "${TERM%%-*}" = 'linux' ]; then
# This script doesn't support linux console (use 'vconsole' template instead)
return 2>/dev/null || exit 0
fi
color017="00/00/5f"
View Hybrid.itermcolors
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Blue Component</key>
<real>0.20179691910743713</real>
<key>Green Component</key>
<real>0.1818026602268219</real>
View git-stories.bash
#!/usr/bin/env bash
function get_story()
{
curl -X GET -H "X-TrackerToken: $TOKEN" "https://www.pivotaltracker.com/services/v5/projects/$PROJECT_ID/stories/$1" 2>/dev/null
}
stories=`git log $1 | egrep -o "\[\w* ?#(\d+)\]" | egrep -o "\d+" | sort -u`
for story_id in $stories; do
echo -n "[#$story_id] - "
View sound_player_view.js
Ember.SoundPlayerManager = Ember.StateManager.extend({
initialState: 'preparing',
preparing: Ember.State.create({
ready: function(manager, context) {
manager.transitionTo('unloaded');
}
}),
unloaded: Ember.State.create({
View sound_player_view_spec.js
describe('Ember.SoundPlayerView', function() {
var player;
beforeEach(function() {
player = Ember.SoundPlayerView.create({ url: '/__spec__/fixtures/song.mp3' });
waitForReady();
});
afterEach(function() {
player.get('sound').stop();