Skip to content

Instantly share code, notes, and snippets.

View poodarchu's full-sized avatar
🎯
Focusing

Benjin ZHU poodarchu

🎯
Focusing
View GitHub Profile
# Coding Rules
---
## 0. Interaction Protocol
0.1 **Language:**
All responses to user: Chinese.
0.2 **Rule Adherence:**
@poodarchu
poodarchu / README.md
Created May 9, 2019 19:47 — forked from tomokishii/README.md
Chainer vs. PyTorch - Linear Regression

Chainer vs. PyTorch Linear Regression

  1. linear_reg_chainer.py (Chainer version)
  2. linear_reg_pytorch.py (PyTorch version)
  • Python 3.5.2 (or 3.5.3)
  • Chainer 2.0.0
  • PyTorch 0.1.12
# Make sure you grab the latest version
curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip
# Unzip
unzip protoc-3.2.0-linux-x86_64.zip -d protoc3
# Move protoc to /usr/local/bin/
sudo mv protoc3/bin/* /usr/local/bin/
# Move protoc3/include to /usr/local/include/
#!/bin/bash
################################################################################
### OpenCV2 Installation Script ###
################################################################################
# Source code at https://github.com/arthurbeggs/scripts #
################################################################################
# #
# Feel free to copy and modify this file. Giving me credit for it is your #
# choice, but please keep references to other people's work, which I don't #
@poodarchu
poodarchu / gist:035263e8e41280094935
Created December 25, 2015 17:43 — forked from euler0/gist:4431640
OS X Cheet Sheets
# To default value
$ defaults delete com.apple.dock springboard-columns
# Arranging Launchpad (http://macnews.tistory.com/633)
$ defaults write com.apple.dock springboard-columns -int 7
$ defaults write com.apple.dock springboard-rows -int 9
$ killall Dock
# Reset Launchpad
$ rm ~/Library/Application\ Support/Dock/*.db