Skip to content

Instantly share code, notes, and snippets.

View edpittol's full-sized avatar
👻
Buuuhhh!!!

Eduardo Pittol edpittol

👻
Buuuhhh!!!
  • Aztec Online Solutions
  • Lajeado, RS, Brasil
  • X @edpittol
View GitHub Profile
@lox
lox / make_docker_great_again.sh
Last active January 19, 2023 07:17
Tweak flush and sync settings for Docker for Mac
#!/bin/bash
set -euo pipefail
# via https://github.com/docker/for-mac/issues/668#issuecomment-284028148
cd ~/Library/Containers/com.docker.docker/Data/database
git config --global user.useconfigonly false
git reset --hard > /dev/null
mkdir -p ./com.docker.driver.amd64-linux/disk
touch ./com.docker.driver.amd64-linux/disk/full-sync-on-flush
@johnpbloch
johnpbloch / composer.json
Created April 18, 2013 13:07
Install PHPUnit globally with composer
{
"name": "phpunit",
"description": "PHPUnit Composer Package",
"require": {
"phpunit/phpunit": "3.7.*"
},
"config": {
"bin-dir": "/usr/local/bin/"
}
}