Skip to content

Instantly share code, notes, and snippets.

View chie8842's full-sized avatar

chie8842 chie8842

  • Tokyo, Japan
View GitHub Profile
@chie8842
chie8842 / gist:5882714354b53c2fd2681bf4fb628175
Last active September 21, 2019 16:56
elasticsearchのエラー
[2019-09-21T16:04:54,497][INFO ][o.e.c.m.MetaDataCreateIndexService] [n01] [locations] creating index, cause [auto(bulk api)], templates [locations_template], shards [3]/[1], mappings [_doc]
[2019-09-21T16:05:10,498][DEBUG][o.e.a.a.i.t.p.TransportPutIndexTemplateAction] [n01] failed to put template [products_template]
java.lang.IllegalArgumentException: failed to build synonyms
at org.elasticsearch.analysis.common.SynonymTokenFilterFactory.buildSynonyms(SynonymTokenFilterFactory.java:138) ~[?:?]
at org.elasticsearch.analysis.common.SynonymTokenFilterFactory.getChainAwareTokenFilterFactory(SynonymTokenFilterFactory.java:90) ~[?:?]
at org.elasticsearch.index.analysis.AnalyzerComponents.createComponents(AnalyzerComponents.java:84) ~[elasticsearch-7.3.2.jar:7.3.2]
at org.elasticsearch.index.analysis.CustomAnalyzerProvider.create(CustomAnalyzerProvider.java:63) ~[elasticsearch-7.3.2.jar:7.3.2]
at org.elasticsearch.index.analysis.CustomAnalyzerProvider.build(CustomAnalyzerPro
@chie8842
chie8842 / Dockerfile
Last active October 11, 2018 07:24
Dockerfile for autokeras
FROM nvidia/cuda:9.0-cudnn7-runtime-ubuntu16.04
MAINTAINER Chie HAYASHIDA <chie-hayashida@cookpad.com>
# Install packages
RUN apt-get update && apt-get install -y \
git \
vim \
wget \
sudo \
software-properties-common \
@chie8842
chie8842 / presentation_checklist.md
Last active September 10, 2017 11:08
プレゼンを行うときに気をつけることまとめ

運営側に事前に確認すること

  • モニタの入力端子の種類(VGA/DVI/HDMI/Display-portなど)
  • PCの設置があるか
  • インターネットの接続環境
  • 音響設備
  • マイク(手持ちか固定かハンズフリーか)

当日の持ち物

@chie8842
chie8842 / rubyインストール
Last active August 29, 2015 14:04
ubuntuへのruby最新版(2.2.0-dev)インストール
UbuntuのEC2インスタンス上に、Ruby on Rails開発環境を構築する。
プロンプトは$がubuntuユーザ(一般ユーザ)、#がrootユーザ。
①rubyがインストールされていないことを確認する。
# ruby -v
The program 'ruby' can be found in the following packages:
* ruby
* ruby1.8
Try: apt-get install <selected package>