As configured in my dotfiles.
start new:
tmux
start new with session name:
# Import required libraries | |
import numpy as np | |
import matplotlib.pyplot as plt | |
from scipy.stats import multivariate_normal | |
from mpl_toolkits.mplot3d import Axes3D | |
import warnings | |
warnings.filterwarnings('ignore') | |
# Define GP Class |
As configured in my dotfiles.
start new:
tmux
start new with session name:
def hist_match(im_src, im_tar, n_bins): | |
# normalize both images | |
src_max = im_src.max() | |
im_src_n = min_max_norm(im_src) | |
im_tar_n = min_max_norm(im_tar) | |
# Get histogram | |
hist_src, bins = np.histogram(im_src_n.flatten(), n_bins) | |
hist_tar, bins = np.histogram(im_tar_n.flatten(), n_bins) |
I hereby claim:
To claim this, I am signing this object:
This is a not official recommendations for Linux based pool nodes.
This, is my node's config which runs on Ubuntu 18.04.3 LTS (Bionic Beaver) server
(/w Jormungandr v0.8.4) and does not have any issues at all, since the changes.
Before the change of the settings to these below, my node was struggling and missed almost all of the leaders' time due to the forks that caused by not having the latest tip/blocks.
After, I changed the settings, I have not missed any schedule for creating blocks.
class Semigroup a => Monoid a where | |
mempty :: m -- 항등원 | |
mappend :: m -> m -> m -- 이항연산 | |
mconcat :: [m] -> m | |
mconcat :: foldr mappend mempty |
USER_NUMBER = 100 | |
NEW_RATE = 0.05 | |
SALE_RATE = 0.1 | |
SOLDOUT_RATE = 0.03 | |
SET_RATE = 0.01 | |
PICKED_RATE = 0.05 | |
PRICE_VOLATILITY = 0.03 | |
LIKED_PRODUCT_RATIO = 0.15 | |
MAX_LIKE_COUNT = 125 |
class KakaoAuth: | |
REST_API_KEY = KAKAO_REST_API_KEY | |
REDIRECTION_URI = API_HOST_ADDRESS + "/users/signin/kakao/callback" | |
OAUTH_API_ENDPOINT = "https://kauth.kakao.com/oauth" | |
AUTH_API_ENDPOINT = OAUTH_API_ENDPOINT + "/authorize" | |
TOKEN_API_ENDPOINT = OAUTH_API_ENDPOINT + "/token" | |
@classmethod | |
def get_auth_redirection_url(cls): |
export const deliveryProviderList = [ | |
{name: 'CJ대한통운', code: 04}, | |
{name: '한진택배', code: 05}, | |
{name: '롯데택배', code: 08}, | |
{name: '우체국택배', code: 01}, | |
{name: '로젠택배', code: 06}, | |
{name: '일양로지스', code: 11}, | |
{name: '한덱스', code: 20}, | |
{name: '대신택배', code: 22}, | |
{name: '경동택배', code: 23}, |