This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
const { Buffer } = require("buffer") | |
const { | |
brotliCompressSync, | |
deflateSync, | |
gzipSync, | |
} = require("zlib") | |
const toBase64 = (str) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############### | |
# zsh Setting | |
############### | |
# プロンプト定義内で変数置換やコマンド置換を扱う | |
setopt prompt_subst | |
# directory | |
## ディレクトリ名だけで cd | |
setopt auto_cd |