This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -XPOST 'localhost:9200/_cluster/reroute?explain&pretty' -d '{ | |
"commands" : [ | |
{ | |
"cancel" : { | |
"index" : "decide", "shard" : 0, "node": "IvpoKRdtRiGrQ_WKtt4_4w" | |
} | |
}, | |
{ | |
"move" : { | |
"index" : "decide", "shard" : 0, |
layout_list按照顺序解析 type:
- 1: banner
- 2: 无轮播banner
- 3: 2x1
- 4: 1x1
- 5: 2x2
- 6: theme头部的分类
- 7: 无title部分 2x1
- 8: 无title部分 1x1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Source: http://toomuchdata.com/2012/06/25/how-to-install-python-2-7-3-on-centos-6-2/ | |
# Install stuff # | |
################# | |
# Install development tools and some misc. necessary packages | |
yum -y groupinstall "Development tools" | |
yum -y install zlib-devel # gen'l reqs |