I hereby claim:
- I am harto on github.
- I am harto (https://keybase.io/harto) on keybase.
- I have a public key whose fingerprint is C7BB 1865 8EFF 2331 E11F CE59 35D0 32C6 F5E4 0AC2
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # Check a partial Mapbox style expression using gl-style-validate | |
| # (https://github.com/mapbox/mapbox-gl-js/tree/master/src/style-spec). | |
| # | |
| # To install gl-style-validate: | |
| # $ npm install @mapbox/mapbox-gl-style-spec --global | |
| # | |
| # Usage: |
| 'use strict'; | |
| describe('mocha before hooks', function () { | |
| before(() => console.log('*** top-level before()')); | |
| beforeEach(() => console.log('*** top-level beforeEach()')); | |
| describe('nesting', function () { | |
| before(() => console.log('*** nested before()')); | |
| beforeEach(() => console.log('*** nested beforeEach()')); | |
| it('is a nested spec', () => true); | |
| }); |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| absolutize() { | |
| local path=$1 | |
| if [[ -d $path ]]; then | |
| (cd $path; pwd -P) | |
| else | |
| echo $(cd $(dirname $path); pwd -P)/$(basename $path) | |
| fi |
| npm-activate() { | |
| npm-deactivate | |
| export __NPM_PROJECT_BINS=$(__npm-project-bins $1) | |
| export PATH=$__NPM_PROJECT_BINS:$PATH | |
| } | |
| npm-deactivate() { | |
| if [[ -n $__NPM_PROJECT_BINS ]]; then | |
| export PATH=${PATH#$__NPM_PROJECT_BINS:} | |
| fi |
| PROFILES_DIR="$HOME/.aws/profiles.d" | |
| CREDENTIALS="$HOME/.aws/credentials" | |
| aws-profile() { | |
| local profile="$1" | |
| if [[ -z $profile ]]; then | |
| __aws-profile-usage >&2 | |
| else | |
| __aws-switch-profile $profile |
| #!/bin/bash | |
| set -euo pipefail | |
| ISSUE=bundler-path-source-conflict | |
| TMPDIR="/tmp/${ISSUE}" | |
| mkdir -p "$TMPDIR" | |
| cd "$TMPDIR" |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # Test 42-layer image on EC2. | |
| # | |
| # Relevant info: | |
| # | |
| # ubuntu@domU-12-31-38-04-C2-78:~/layer-test$ docker info | |
| # Containers: 145 | |
| # Images: 798 | |
| # Storage Driver: aufs |
| #!/bin/bash | |
| set -e | |
| set -x | |
| # Install Buildbox Ruby agent as a service | |
| if [ -z "$BUILDBOX_API_TOKEN" ]; then | |
| echo "Must specify BUILDBOX_API_TOKEN env" | |
| exit 1 |
| #!/bin/bash | |
| set -e | |
| set -x | |
| # Install Docker package | |
| apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
| sh -c 'echo deb https://get.docker.io/ubuntu docker main >/etc/apt/sources.list.d/docker.list' | |
| apt-get -y update |