Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Requirement: GitHub Client (gh) is required && macOS
# Usage:
# - Without argument, it will check against current directory and branch
# - If pull request number is given, it will check against $REPO's pull
# request
# - If pull request number is given and REPO environment variable is set,
# it will query pull-request of the given repository.
#!/usr/bin/env gnuplot
# vim: fileencoding=utf-8 tabstop=2 softtabstop=2 shiftwidth=2 expandtab
set datafile sep ","
# 전체
#set term svg size 1024,768 name "monthly_tax_and_deductions"
#set output 'tax-all.svg'
set term pngcairo size 1024,768
set output 'tax-all.png'
@reinkim
reinkim / tax-simulation-2021.csv
Created May 20, 2021 05:22
그래프 그리는데 사용한 데이터 파일
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 9 columns, instead of 10. in line 1.
# 연봉,소득세,지방소득세,국민연금,건강보험료,장기요양보험료,고용보험료,공제액합계,실효세율
22000000,0,0,78000,59450,6840,13860,66290,158150,8.63%
24000000,0,0,85500,65160,7500,15200,72660,173360,8.67%
26000000,0,0,93000,70880,8160,16530,79040,188570,8.70%
28000000,1040,100,100500,76600,8820,17860,85420,204920,8.78%
30000000,4410,440,108000,82320,9480,19200,91800,223850,8.95%
32000000,7670,760,115490,88030,10140,20530,98170,242620,9.10%
34000000,11280,1120,123000,93750,10800,21860,104550,261810,9.24%
36000000,14880,1480,130500,99460,11450,23200,110910,280970,9.37%
38000000,18380,1830,138000,105180,12110,24530,117290,300030,9.47%
@reinkim
reinkim / gist:903f45f751052deb16af
Created February 22, 2016 00:58
Fetch upstream and the build & copy binary packge to host (w/ slack notification)
#!/bin/bash
CHANNEL=${CHANNEL:-"build"}
SLACK_DOMAIN=${SLACK_DOMAIN:-"your-project"}
SLACK_TOKEN=${SLACK_TOKEN:-"some-slack-token"}
BOT=${BOT:-"buildbot"}
REPOSITORY=${REPOSITORY:-"https://github.com/github/hello-world"}
DEST_HOST=${DEV_HOST:-"dest.example.com"}