I hereby claim:
- I am getglad on github.
- I am getglad (https://keybase.io/getglad) on keybase.
- I have a public key whose fingerprint is 0246 D276 5693 B6FA B0E0 4B00 DA1C 64DD 33B3 FC87
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# fluentd conf runs in the same host with kube-apiserver | |
# https://github.com/fluent/fluentd/issues/369 | |
# /opt/td-agent/embedded/bin/fluent-gem install fluent-plugin-forest | |
<source> | |
@type tail | |
# audit log path of kube-apiserver | |
path /var/log/k8s/kube-audit | |
pos_file /var/log/k8s/kube-audit.pos | |
format json | |
time_key time |
import pandas as pd | |
import numpy as np | |
def amort_table(principal, rate, annual_periods, term, future_value): | |
rate /= 100 | |
per = np.arange(annual_periods * term) + 1 | |
ipmt = np.ipmt(rate=rate/12, per=per, nper=annual_periods * term, pv=principal, fv=-future_value) | |
ppmt = np.ppmt(rate=rate/12, per=per, nper=annual_periods * term, pv=principal, fv=-future_value) | |
# pmt = np.pmt(rate / 12, num_period * term, principal, fv=-future_value) |