Skip to content

Instantly share code, notes, and snippets.

View uu64's full-sized avatar

yusuke uu64

View GitHub Profile
@uu64
uu64 / main.js
Last active October 24, 2021 14:13
Comparison of string compression algorithms in nodejs
#!/usr/bin/env node
const { Buffer } = require("buffer")
const {
brotliCompressSync,
deflateSync,
gzipSync,
} = require("zlib")
const toBase64 = (str) => {
import gym
import numpy as np
# parameter
# https://github.com/openai/gym/wiki/BipedalWalker-v2
num_episodes = 2000
num_trials = 1000
num_states = 3
num_actions = 160
num_dizitized = 20
@uu64
uu64 / .zshrc
Last active February 27, 2018 10:44
my .zshrc
###############
# zsh Setting
###############
# プロンプト定義内で変数置換やコマンド置換を扱う
setopt prompt_subst
# directory
## ディレクトリ名だけで cd
setopt auto_cd