Skip to content

Instantly share code, notes, and snippets.

View gqlxj1987's full-sized avatar
🎯
Focusing

gqlxj1987 gqlxj1987

🎯
Focusing
  • Beijing
View GitHub Profile
curl -XPOST 'localhost:9200/_cluster/reroute?explain&pretty' -d '{
"commands" : [
{
"cancel" : {
"index" : "decide", "shard" : 0, "node": "IvpoKRdtRiGrQ_WKtt4_4w"
}
},
{
"move" : {
"index" : "decide", "shard" : 0,
@gqlxj1987
gqlxj1987 / gcm guide.md
Created January 13, 2016 09:45
gcm使用guide.md

Guide

@gqlxj1987
gqlxj1987 / new app json template.md
Last active January 29, 2016 04:04
new app json template

layout_list按照顺序解析 type:

  • 1: banner
  • 2: 无轮播banner
  • 3: 2x1
  • 4: 1x1
  • 5: 2x2
  • 6: theme头部的分类
  • 7: 无title部分 2x1
  • 8: 无title部分 1x1
@gqlxj1987
gqlxj1987 / KARAD.md
Last active December 26, 2016 13:58
Kika Api RESTful API Design

#Kika Api RESTful API Design

##命令规范

所有参数以及返回参数,均按照under_stores方式

##UrlPrefix

@gqlxj1987
gqlxj1987 / centos_python_env_setup
Last active September 16, 2015 15:48 — forked from floer32/centos_python_env_setup
CentOS 6: Install Python 2.7.4, pip, virtualenv, and virtualenvwrapper on CentOS (plus some bonus items at the end if you want). You should probably run with `sudo`.
#!/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