Skip to content

Instantly share code, notes, and snippets.

João Santos jonhy81

Block or report user

Report or block jonhy81

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View aws-c9-provision.sh
touch ../selenium.yml
echo 'version: "3"'>>../selenium.yml
echo 'services:'>>../selenium.yml
echo ' selenium:'>>../selenium.yml
echo ' image: selenium/standalone-chrome'>>../selenium.yml
echo ' ports:'>>../selenium.yml
echo ' - "4444:4444"'>>../selenium.yml
sudo yum update -y
sudo yum -y install php56-pecl-xdebug
sudo sed -i "/^;xdebug.remote_enable/axdebug.remote_enable = 1" /etc/php-5.6.d/15-xdebug.ini
@jonhy81
jonhy81 / aws-c9-toolkit.sh
Last active Jan 16, 2018
AWS Cloud9 basic configuration to EC Toolkit
View aws-c9-toolkit.sh
#!/bin/bash
# Update repository
sudo yum update -y
# Install XDebug
sudo yum -y install php56-pecl-xdebug
sudo sed -i "/^;xdebug.remote_enable/axdebug.remote_enable = 1" /etc/php-5.6.d/15-xdebug.ini
# Update docroot to match with toolkit setup
@jonhy81
jonhy81 / c9-toolkit.sh
Created Nov 23, 2017
Cloud9 configuration to use with ec-europa/toolkit.
View c9-toolkit.sh
# Install phpbrew
sudo apt-get update
sudo apt-get install libmcrypt-dev
curl -L -O https://github.com/phpbrew/phpbrew/raw/master/phpbrew
chmod +x phpbrew
sudo mv phpbrew /usr/local/bin/
phpbrew init
[[ -e ~/.phpbrew/bashrc ]] && source ~/.phpbrew/bashrc
You can’t perform that action at this time.