変更点は以下にまとまっている:
https://www.elastic.co/guide/en/elasticsearch/reference/5.0/breaking-changes.html
以下ではとりあえず Es 5.0.0-rc1 のクラスタを立てる上で詰まった or 気になった箇所を中心にメモるので、内容にはだいぶ偏りがある。
変更点は以下にまとまっている:
https://www.elastic.co/guide/en/elasticsearch/reference/5.0/breaking-changes.html
以下ではとりあえず Es 5.0.0-rc1 のクラスタを立てる上で詰まった or 気になった箇所を中心にメモるので、内容にはだいぶ偏りがある。
お作法についてはRuby on Rails に貢献する方法 | Rails ガイドを参考にしています。
Railsのコードを読むには、最低限次の二つの知識があったほうがよいです
### tcpdumpでHeaderを可視化するで。特定backendとの通信を見てみよか。
$ /usr/sbin/tcpdump -i bond0.2168 -s 3000 -A dst host <対象backendのIP> or src host <対象backendのIP>
################### passナシ
...!..3.GET /kakeru.css HTTP/1.1
User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
Host: 10.10.10.10
Accept: */*
X-Forwarded-For: 10.10.10.10
# Description: | |
# notify "reaction_added" event for slack.com | |
# http://shokai.org/blog/archives/10344 | |
# | |
# Author: | |
# @shokai <[email protected]> | |
debug = require('debug')('hubot:slack-reaction') | |
_ = require 'lodash' |
#!/usr/bin/env python3 | |
import concurrent.futures.thread | |
import sys | |
import time | |
from concurrent.futures import ThreadPoolExecutor, as_completed | |
def remove_file(path): | |
print('Removing file %s' % path) |
optusb: optusb.c | |
gcc -I /opt/local/include/libusb-legacy -L /opt/local/lib/libusb-legacy -lusb-legacy -Wall -o optusb optusb.c | |
clean: | |
rm -rf optusb *.o |
# | |
# This should go into spec/support/auth_spec_helpers.rb | |
module AuthSpecHelpers | |
## | |
# Convenience method for setting the Digest Authentication details. | |
# To use, pass the username and password. | |
# The method and target are used for the initial request to get the digest auth headers. These will be translated into 'get :index' for example. | |
# The final 'header' parameter sets the request's authentication headers. | |
def authenticate_with_http_digest(user, password, method = :get, target = :index, header = 'HTTP_AUTHORIZATION') |
更新: | 2014-11-20 |
---|---|
バージョン: | 0.0.5 |
作者: | @voluntas |
URL: | http://voluntas.github.io/ |
概要