Skip to content

Instantly share code, notes, and snippets.

@akagaeng
akagaeng / how-to.md
Created January 22, 2018 08:48 — forked from CheeseStick/how-to.md
Mac OS X에서 OpenCV 설치 및 Xcode Project 설정방법

Mac OS X에서 Open CV 설치 및 Xcode에서 사용하기

1. Homebrew를 통해 openCV 설치

(홈브루가 설치되어 있지 않다면 https://brew.sh/index_ko.html 참고)

brew update
brew install opencv
@akagaeng
akagaeng / Setting up Ubuntu 16.04 LTS container with docker.md
Created December 3, 2018 14:54
Setting up Ubuntu 16.04 LTS container with docker

Setting up Ubuntu 16.04 LTS container with docker

Prerequisite

Run ubuntu 16.04

$ docker run -it -w="/home" --name ubuntu1604 ubuntu:16.04 /bin/bash
@akagaeng
akagaeng / work-with-dotnet-code-and-mssql-from-mac.md
Last active May 31, 2020 07:48
MAC에서 .NET Core / MSSQL 작업하기
@akagaeng
akagaeng / portainer.yaml
Last active May 31, 2020 08:15
Run portainer with docker(docker-compose)
# docker-compose up -f portainer.yaml
version: '2'
portainer:
restart: always
image: portainer/portainer
container_name: "portainer"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
@akagaeng
akagaeng / mongo.yaml
Last active May 31, 2020 08:15
Run mongodb and mongo-express with docker (docker-compose)
# docker-compose up -f mongo.yaml
version: '3.1'
services:
mongo:
image: mongo
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root

Keybase proof

I hereby claim:

  • I am akagaeng on github.
  • I am akagaeng (https://keybase.io/akagaeng) on keybase.
  • I have a public key whose fingerprint is B932 B74C BA09 37A7 1DDA 1015 EFD7 7520 644A 23D3

To claim this, I am signing this object:

@akagaeng
akagaeng / ssh-config.md
Last active June 14, 2021 02:43
Setup SSH alias (~/.ssh/config)

Open config file

vi ~/.ssh/config

Edit config file

Host your_host
HostName x.x.x.x
@akagaeng
akagaeng / git_config_global_local.md
Last active December 15, 2022 02:20
git config global / local
# git config global
git config --global user.name "ksyang"
git config --global user.email akagaeng@gmail.com

# git config local
git config --local user.name "ksyang"
git config --local user.email akagaeng@gmail.com
@akagaeng
akagaeng / sample-curl-post-json.txt
Last active May 20, 2021 00:42
Make a POST requst with cURL
# Make a POST requst with cURL
# POST / JSON
curl -X POST -H "Content-Type: application/json" \
-d '{"videoPath": "samplePath"}' \
http://localhost:4002/viewed
@akagaeng
akagaeng / port-scan-nmap.md
Last active June 21, 2021 07:23
port scan using nmap

Command

brew install nmap

nmap <host ip|domain name>

# nmap -v scanme.nmap.org
# nmap -v scanme.nmap.org --host-timeout 1