Skip to content

Instantly share code, notes, and snippets.

Avatar
😍
Happy Today!

Minho Ryang minhoryang

😍
Happy Today!
View GitHub Profile
@minhoryang
minhoryang / build_dm_awsec2.sh
Last active Aug 12, 2017 — forked from pahud/build_dm_awsec2.sh
build your docker-machine on AWS EC2 instance
View build_dm_awsec2.sh
#!/bin/bash
machine=$(python -c "import uuid;print(uuid.uuid4())")
# NEEDED: AmazonEC2FullAccess, AmazonEC2SpotFleetRole
AWS_ACCESS_KEY_ID=$(aws configure get aws_access_key_id)
AWS_DEFAULT_REGION=$(aws configure get region)
AWS_SECRET_ACCESS_KEY=$(aws configure get aws_secret_access_key)
VPC=$(aws ec2 describe-vpcs | jq -r '.Vpcs[0].VpcId')
@minhoryang
minhoryang / screenshot.sh
Last active Jun 1, 2018 — forked from raphael-riel/screenshot.sh
Screenshot of X11 Window.
View screenshot.sh
#!/bin/bash
import -window $(xwininfo | grep -Po 'Window id: .*? ' | grep -Po '0x.* ') screenshot.jpg
@minhoryang
minhoryang / 0.README.md
Last active Sep 29, 2018 — forked from AilisObrian/0.README.md
Node.JS 개발 환경 구성!
View 0.README.md

최신 Node.js 설치 및 사용

  • $로 시작하는 줄은, 한줄 한줄 복사해서 터미널에서 실행해주셔야합니다.
  • 터미널을 재시작 하여야 할 수도 있습니다.
    • 재시작 후, 현재 작업하는 폴더로 다시 이동해주셔야합니다.
@minhoryang
minhoryang / cloudSettings
Last active Nov 6, 2018 — forked from AilisObrian/cloudSettings
Visual Studio Code Sync Settings Gist
View cloudSettings
{"lastUpload":"2017-08-10T11:51:57.295Z","extensionVersion":"v2.8.2"}
View Time Machine exclusions.command
#!/usr/bin/env bash
{ set +x; } 2>/dev/null
IFS=$'\n'
set "$@" $(find ~ -name ".*" ! -name ".CFUserTextEncoding" ! -type l -mindepth 1 -maxdepth 1) # dotfiles
set "$@" $(find ~ -name "Google *" -mindepth 1 -maxdepth 1) # Google Drive
set "$@" ~/git # store on github/etc :)
set "$@" ~/node_modules
set "$@" ~/Applications # install apps with brew cask