Skip to content

Instantly share code, notes, and snippets.

View waxim's full-sized avatar
🔨
Building things.

Alan Cole waxim

🔨
Building things.
View GitHub Profile
<?php
$teams = [
'Austria',
'Belgium',
'Croatia',
'Czech Republic',
'Denmark',
'England',
'Finland',
@waxim
waxim / env2eb.sh
Created June 14, 2018 13:29
Take a .env file and sets the elasticbeanstalk environment variables for the attached app. $ ./env2en.sh aws.env
command=""
while IFS='' read -r line || [[ -n "$line" ]]; do
command="$command $line"
echo "Set $line"
done < "$1"
eb setenv $command

Keybase proof

I hereby claim:

  • I am waxim on github.
  • I am alancole (https://keybase.io/alancole) on keybase.
  • I have a public key whose fingerprint is 34B5 4B91 BD28 C93C A6E2 390D EA8B 15F2 C413 4980

To claim this, I am signing this object:

@waxim
waxim / circle.yml
Created June 13, 2016 12:04
Circle YML file
machine:
php:
version: 5.5.11
hosts:
shop.x.uk.dev: 127.0.0.1
dependencies:
override:
- composer install --no-interaction