This file contains hidden or 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
{ | |
"name": "溪山美地雅园", | |
"tags": [ | |
"板楼", | |
"花园洋房", | |
"普通住宅", | |
"山景地产" | |
], | |
"stock_status": "在售", | |
"market_info": { |
This file contains hidden or 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
{ | |
"sort" : [ | |
{ "post_date" : {"order" : "asc"}}, | |
"user", | |
{ "name" : "desc" }, | |
{ "age" : "desc" }, | |
"_score" | |
], | |
"query" : { | |
"term" : { "user" : "kimchy" } |
This file contains hidden or 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
{ | |
"bref": "<hr>\n<p>世纪互联成立于1999年,是一家第三方的互联网基础设施服务提供商,向客户提供业界领先的服务器及网络设备托管服务、管理式网络服务、内容分发网络服务及云计算服务,2011年4月在纳斯达克上市。启迪控股日前3.88亿美元投资世纪互联,该交易完成后,启迪控股将拥有世纪互联约21.4%的股权,并拥有51%的投票权。</p>", | |
"comp": { | |
"volumn": "3.88亿美元", | |
"href": "https://www.itjuzi.com/company/15645", | |
"name": "世纪互联", | |
"per": "21.4", | |
"round": "IPO上市后" | |
}, | |
"round_list": [ |
This file contains hidden or 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
function request_es($param, $use_post=false) | |
{ | |
/* send request to es */ | |
$es_server = ''; | |
$ch = curl_init($es_server); | |
curl_setopt_array( | |
$ch, | |
array(CURLOPT_POST => TRUE, | |
CURLOPT_RETURNTRANSFER => TRUE, | |
CURLOPT_HTTPHEADER => array( |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# the cps version | |
def s(n, f): | |
if n < 1: | |
return f(n) | |
return s(n-1, | |
lambda x: f(x + n)) |
This file contains hidden or 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
#| | |
CPS Lecture | |
No published books do this subject justice (including Dan's!) | |
Which part of (f (g (h i) j) k) can be done first? (h i), since it | |
must be evaluated before (g (h i) j) can be applied. | |
What about (f (g (h i) (j k)))? Scheme doesn't specify the order in |
This file contains hidden or 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
/* | |
3 ┏┓ ┏┓ | |
4 ┏┛┻━━━━━━━━━━┛┻┓ | |
5 ┃ ┃ | |
6 ┃ ━ ┃ | |
7 ┃ ┳┛ ┗┳ ┃ | |
8 ┃ ┃ | |
9 ┃ ┻ ┃ | |
10 ┃ ┃ | |
11 ┗━┓ ┏━┛ |
This file contains hidden or 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
################################################################################ | |
# _ooOoo_ | |
# o8888888o | |
# 88" . "88 | |
# (| -_- |) | |
# O\ = /O | |
# ____/`---'\____ | |
# .' \\| |// `. | |
# / \\||| : |||// \ | |
# / _||||| -:- |||||- \ |
This file contains hidden or 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
GSSAPIAuthentication no | |
ServerAliveInterval 60 | |
Host * | |
ControlMaster auto | |
ControlPath ~/.ssh/%h-%p-%r | |
ControlPersist yes |
This file contains hidden or 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
// original | |
{ | |
"sv": "7.4.0", | |
"os": "iphone", | |
"sw": 320, | |
"ch": "1006820a", | |
"pd": "map", | |
"mb": "iPhone6,2", | |
"sh": 480, | |
"ov": "7.000000", |