Skip to content

Instantly share code, notes, and snippets.

View alanclyeh's full-sized avatar

CLY alanclyeh

  • Taichung City, Taiwan
  • 22:22 (UTC +08:00)
View GitHub Profile
@alanclyeh
alanclyeh / docker-macos-terraform.md
Last active April 5, 2018 14:26 — forked from brianshumate/docker-macos-terraform.md
The Simplest Terraform with Docker on macOS

If you'd like to experiment with Terraform on macOS locally, a great provider for doing so is the Docker provider. You can get set up in a few simple steps, like so:

㡳下說明怎麼在 macOS 上測試 Terraform 開啟一個 Docker 的 Nginx Container.

1. Install Docker

@alanclyeh
alanclyeh / iterm2.md
Created December 26, 2016 09:51
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
Previous Tab + Left Arrow
Next Tab + Right Arrow
Go to Tab + Number
Go to Window + Option + Number
Go to Split Pane by Direction + Option + Arrow
Go to Split Pane by Order of Use + ] , + [
@alanclyeh
alanclyeh / gist:d357b5edeb69fb8e77cc668a53a80f3a
Last active June 21, 2016 06:09
Install S3FS on Ubuntu 14.04 EC2 Instance
#!/bin/bash
#
# This script based on https://www.robusta-hosting.eu/en/blog/development/2015/04/install-s3fs-ubuntu-1404-lts.
#
# Install S3FS
S3FS_VERSION="1.80"
S3FS_DIR="s3fs-fuse-$S3FS_VERSION"
S3FS_PWD_FILE="/etc/passwd-s3fs"