Skip to content

Instantly share code, notes, and snippets.

@nimajalali
nimajalali / riak_install.sh
Created August 12, 2019 14:31
Riak 2.2.5 on FreeBSD 12
# /bin/sh
sudo ASSUME_ALWAYS_YES=YES pkg update
sudo ASSUME_ALWAYS_YES=YES pkg install gcc autoconf gmake flex rsync curl git openssl python sudo devel/readline autoconf fop bash
# Install/Configure kerl
curl -O https://raw.githubusercontent.com/spawngrid/kerl/master/kerl
chmod a+x kerl
echo 'KERL_CONFIGURE_OPTIONS="--disable-hipe --enable-smp-support --enable-threads' >> ~/.kerlrc
echo ' --enable-kernel-poll --without-odbc --enable-64bit"' >> ~/.kerlrc
@nimajalali
nimajalali / gist:88affb1b005bd5afd30ca83038a4ab4b
Created April 23, 2018 05:52
terrafrom-provider-triton triton_machine resource timeout
2018/04/22 22:39:48 [INFO] Terraform version: 0.11.7
2018/04/22 22:39:48 [INFO] Go runtime version: go1.10.1
2018/04/22 22:39:48 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.7/bin/terraform", "apply"}
2018/04/22 22:39:48 [DEBUG] Attempting to open CLI config file: /Users/nimajalali/.terraformrc
2018/04/22 22:39:48 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/04/22 22:39:48 [INFO] CLI command args: []string{"apply"}
2018/04/22 22:39:48 [INFO] command: empty terraform config, returning nil
2018/04/22 22:39:48 [DEBUG] command: no data state file found for backend config
2018/04/22 22:39:48 [DEBUG] New state was assigned lineage "23009b7b-6963-8e55-682b-78787c2955c0"
2018/04/22 22:39:48 [INFO] command: backend initialized: <nil>
@nimajalali
nimajalali / README.md
Created October 18, 2017 19:06
README for docker-machine-driver-triton

docker-machine-driver-triton

A Docker Machine driver for Triton.

Requirements

You need a Triton account to use this driver. See this page to create an account on the Triton Public Cloud.