Skip to content

Instantly share code, notes, and snippets.

Learning Machine Learning

Cong vochicong

Learning Machine Learning
Block or report user

Report or block vochicong

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
vochicong /
Created Jul 2, 2019
Install Datalab/gcloud SDK for Mac using brew
brew cask install google-cloud-sdk
gcloud components install datalab
gcloud init
gcloud auth login
export PATH=/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin:$PATH
View .gitignore
# git config --global core.excludesfile ~/.gitignore
# Ignore bundler config.
# Ignore all logfiles and tempfiles.
vochicong /
Last active Jun 14, 2019
Reset/reinstall nvidia driver, CUDA, nvidia docker for Ubuntu
# Stop everything maybe using GPU
sudo systemctl stop gdm.service
microk8s.disable gpu
sudo killall nvidia-persistenced
# Remove all nvidia-*, cuda, libcudnn
sudo apt-get purge docker-ce nvidia-* libnvidia-* cuda libcudnn7
sudo apt autoremove
# Download latest NVIDIA driver from
vochicong / Env.rb
Last active Jan 25, 2019
Rails credentials.yml.encと環境変数の併用 ref:
View Env.rb
class Env
def self.method_missing(name, *default)
ENV[name.to_s] ||
default.first ||
Rails.application.credentials.send(name) ||
def self.respond_to_missing?(*)
vochicong / .Brewfile
Last active Sep 11, 2019
View .Brewfile
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-versions"
tap "homebrew/core"
tap "homebrew/services"
brew "bash"
brew "bash-completion@2"
brew "bash-git-prompt"
brew "docker", link: true
brew "docker-compose", link: true
vochicong / file0.txt
Last active Nov 14, 2018
MacでAlpha ZeroライクのLeela Chess を動かし、lichessでネット対戦 ref:
View file0.txt
$ git clone -b release --recurse-submodules \
$ cd lc0
$ brew install python3 meson ninja
$ ./ # ビルド
$ ./build/release/lc0 # 軽く動作確認
v0.19.0-rc4 built Nov 14 2018
Ctr^C で終了
vochicong / file0.txt
Last active Jun 18, 2018
GCP ConsoleでBitMEXマーケット・メーキングテストボットを動かす手順 ref:
View file0.txt
mkdir -p ~/tmp; cd ~/tmp
curl -s \
sh ~/tmp/ -b -p ~/miniconda3/
echo 'export PATH="~/miniconda3/bin:$PATH"' >> ~/.bashrc
export PATH="~/miniconda3/bin:$PATH"
conda create -n bitmex python=3
費用 PMI会員 一般
PMI会員年会費 $129 ---
PMP資格試験 $405 $555
PMP資格更新 $60 $150
ACP資格試験 $435 $495
ACP資格更新 $60 $150
# Oh My Zshでstatusを表示しない
git config --add oh-my-zsh.hide-status 1
# Oh My Zshでstatusを表示する
git config --add oh-my-zsh.hide-status 0
You can’t perform that action at this time.