Skip to content

Instantly share code, notes, and snippets.

@brianjang
brianjang / gist:044df539dfc814858b993dfbfae49db4
Last active October 31, 2019 13:10
Git – Config Username and Password (Store Credentials)
git config credential.helper store
git config --global credential.helper store (for globally)
for different repositories on gitlab.com and github.com
git config credential.gitlab.com.useHttpPath true
git config credential.github.com.useHttpPath true
--- or
git config --global credential.gitlab.com.useHttpPath true
git config --global credential.github.com.useHttpPath true
@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'
}, {
@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 / 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
http://www.dashbuttondudes.com/blog/2015/12/11/26-amazon-dash-button-hacks
https://philanthropyuniversity.novoed.com/philanthropy-initiative
http://www.sourcetricks.com/p/design-patterns-using-c.html#.VwyPwvmLRhH
=> design patterns
http://hunkim.github.io/ml/
#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
@brianjang
brianjang / Scipy
Created March 2, 2016 13:02
Scipy
http://www.scipy-lectures.org/
https://git-scm.com/book/ko/v2/