Skip to content

Instantly share code, notes, and snippets.

View ajyey's full-sized avatar
💻

Andrew Leonard ajyey

💻
View GitHub Profile
@ajyey
ajyey / osx_bootstrap.sh
Last active November 29, 2018 04:06 — forked from codeinthehole/osx_bootstrap.sh
Script to install stuff I want on a new OSX machine
#!/usr/bin/env bash
#
# Bootstrap script for setting up a new OSX machine
# check to make sure we are an admin
if ! groups username | grep -q -w admin;
then
echo "You need to have adminsitrative priveleges to run this script"
exit 1
fi
@ajyey
ajyey / sonarqube-mysql-docker-compose.yml
Created October 24, 2018 07:19 — forked from batmat/sonarqube-mysql-docker-compose.yml
Working SonarQube + Mysql Dead Simple Docker Compose file
sonarqube:
image: sonarqube:5.1.1
ports:
- "9000:9000"
- "3306:3306"
environment:
- SONARQUBE_JDBC_USERNAME=sonar
- SONARQUBE_JDBC_PASSWORD=sonar
- SONARQUBE_JDBC_URL=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true