Skip to content

Instantly share code, notes, and snippets.

git clone https://github.com/angular/quickstart
cd quickstart
npm install
npm start
npm install -g typescript
@SnowMasaya
SnowMasaya / file0.txt
Created March 20, 2017 23:33
Tensorflow XLAによる高速化、メモリ効率化、サイズの最適化によるポータビリティ向上について ref: http://qiita.com/GushiSnow/items/a373b8d5d904566f65fd
Do you wish to build TensorFlow with the XLA just-in-time compiler (experimental)? [y/N]
ssh-keygen -t rsa -b 4096 -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
@SnowMasaya
SnowMasaya / file0.txt
Last active January 21, 2017 02:44
”ゼロから作る Deep Learning”のための環境構築をdockerとVagrantで実現 ref: http://qiita.com/GushiSnow/items/588e2337eafaa9ea4806
git clone https://github.com/SnowMasaya/deep-learning-excerise.git
cd {ダウンロードしたフォルダ}
@SnowMasaya
SnowMasaya / file0.txt
Last active April 16, 2017 00:17
残業したくないあなたに:データ構造とアルゴリズム ref: http://qiita.com/GushiSnow/items/70765a7cae52c0a1b2b8
void Merge(int *data_array, int left, int mid, int right){
int n1 = mid - left;
int n2 = right - mid;
int *L = new int[n1];
int *R = new int[n2];
for(int i = 0; i < n1; i++){
L[i] = data_array[left + i];
}
for(int i = 0; i < n2; i++){
R[i] = data_array[mid + i];
@SnowMasaya
SnowMasaya / file0.txt
Last active December 28, 2016 09:32
Go言語のWEBフレームワークRevelを使用してセキュアなAPIを作成 ref: http://qiita.com/GushiSnow/items/97c1f64c003b27c6b98a
GET / App.Index
GET /get_list Api_Jwt_Mysql.List
@SnowMasaya
SnowMasaya / file0.py
Created November 6, 2016 22:28
AWS Lambda Chat Bot Hackthonに参加して画像検索用のChat Botを作成してみました。 ref: http://qiita.com/GushiSnow/items/3000fd4fc5a94b3e9e72
query = "curl -XGET {your elasticsearch endpoint}:9200/_all/_search?pretty -d\'"
@SnowMasaya
SnowMasaya / file0.txt
Last active March 12, 2016 01:53
Microsoft COCO が提供するデータとAPIを使用すると画像解析が簡単に出来た ref: http://qiita.com/GushiSnow/items/5a4948e07e3f4a77d895
# API Download
git clone https://github.com/pdollar/coco
# API install
cd coco/PythonAPI
python setup.py install
@SnowMasaya
SnowMasaya / file0.py
Last active May 1, 2016 11:02
Chainerで学習した対話用のボットをSlackで使用+Twitterから学習データを取得してファインチューニング ref: http://qiita.com/GushiSnow/items/79ca7deeb976f50126d7
if dec_flag:
if dst["weight_jy"] and child.name == "weight_xi" and self.word2vecFlag:
for a, b in zip(child.namedparams(), dst["weight_jy"].namedparams()):
b[1].data = a[1].data
print('Copy weight_jy')