Skip to content

Instantly share code, notes, and snippets.

1. set-up user name and email
git config --global user.name "Firstname Lastname"
git config --global user.email "[email protected]"
git config --global color.ui auto
2. create ssh
$ ssh-keygen -t rsa -C "[email protected]"
Generating public/private rsa key pair.
https://git-scm.com/book/ko/v2/
@brianjang
brianjang / Scipy
Created March 2, 2016 13:02
Scipy
http://www.scipy-lectures.org/
#observer
http://accu.org/index.php/journals/372
http://www.bogotobogo.com/DesignPatterns/observer.php
http://www.drdobbs.com/cpp/generalizing-observer/184403873?pgno=1
http://hunkim.github.io/ml/
https://philanthropyuniversity.novoed.com/philanthropy-initiative
http://www.sourcetricks.com/p/design-patterns-using-c.html#.VwyPwvmLRhH
=> design patterns
http://www.dashbuttondudes.com/blog/2015/12/11/26-amazon-dash-button-hacks
@brianjang
brianjang / install nginx on ubuntu 16.04
Last active January 4, 2018 05:55
install nginx on ubuntu 16.04
install nginx on ubuntu 16.04
install guide :
https://www.nginx.com/…/wiki/start/topics/tutorials/install/
1. modify /etc/apt/sources.list (add below line)
deb http://nginx.org/packages/ubuntu/ xenial nginx
2. instal nginx
sudo apt-get update
sudo apt-get install nginx
@brianjang
brianjang / pm2 setup with nginx
Created January 4, 2018 05:56
pm2 setup with nginx
pm2 setup with nginx
manual link:
http://pm2.keymetrics.io/docs/tutorials/pm2-nginx-production-setup
http://nginx.org/en/docs/beginners_guide.html#proxy
modify nginx configration file:
/etc/nginx/conf.d/default.conf
@brianjang
brianjang / GaugeChart.js
Created June 11, 2018 10:56 — forked from emiloberg/GaugeChart.js
Gauge Chart with React Recharts (http://recharts.org)
import React from 'react';
import { Sector, Cell, PieChart, Pie } from 'recharts';
const GaugeChart = () => {
const width = 500;
const chartValue = 180;
const colorData = [{
value: 40, // Meaning span is 0 to 40
color: '#663399'
}, {