Skip to content

Instantly share code, notes, and snippets.

View achin's full-sized avatar

Alex Chin achin

  • Anthem Engineering
View GitHub Profile

Keybase proof

I hereby claim:

  • I am achin on github.
  • I am alexbachin (https://keybase.io/alexbachin) on keybase.
  • I have a public key whose fingerprint is 5C6A EF2C 2AE2 A7B9 32AC 8D95 E6EB 8BBB E520 0D7F

To claim this, I am signing this object:

(def add
{[\0 \0 \0] \0
[\0 \0 \1] \1
[\0 \1 \0] \1
[\0 \1 \1] \0
[\1 \0 \0] \1
[\1 \0 \1] \0
[\1 \1 \0] \0
[\1 \1 \1] \1})
achin@42Six-00183 govfoundry-puppet (puppet-lint)$ puppet-lint --with-filename --no-2sp_soft_tabs-check --no-80chars-check .
./manifests/classes/hosts.pp - ERROR: hosts not in autoload module layout on line 2
./manifests/classes/ntp.pp - ERROR: ntp not in autoload module layout on line 1
./manifests/classes/ntp.pp - WARNING: class not documented on line 1
./manifests/classes/puppet.pp - ERROR: puppet not in autoload module layout on line 1
./manifests/classes/puppet.pp - WARNING: class not documented on line 1
./manifests/classes/sshd.pp - ERROR: sshd not in autoload module layout on line 1
./manifests/classes/sshd.pp - WARNING: class not documented on line 1
./manifests/classes/users.pp - ERROR: users not in autoload module layout on line 1
./manifests/classes/users.pp - WARNING: class not documented on line 1
function mvn_eval () {
local pom="$1"
local expression="$2"
mvn help:evaluate -f "${pom}" -Dexpression="${expression}" | grep -Ev '^\[INFO\]|\[WARNING\]'
}
function parent_url () {
local pom="$1"
local repository="$2"
# abort script on any command that exit with a non zero value
set -e
apt-get -q -y install libcap-dev libbz2-dev
tar xvf genisoimage/cdrkit-1.1.11.tar.gz
cd cdrkit-1.1.11
make
cp -a build/genisoimage/genisoimage $BOSH_INSTALL_TARGET
import Data.List
nums = map (Just . show) [1..]
fizz = cycle [Nothing, Nothing, Just "Fizz"]
buzz = cycle [Nothing, Nothing, Nothing, Nothing, Just "Buzz"]
fb n f b = case (n, f, b) of
(_, Just x, Just y) -> x ++ y
(_, Just x, Nothing) -> x
(_, Nothing, Just y) -> y
source 'http://rubygems.org'
gem 'bosh_cli'
gem 'bosh_deployer'