Skip to content

Instantly share code, notes, and snippets.

{
"name": "溪山美地雅园",
"tags": [
"板楼",
"花园洋房",
"普通住宅",
"山景地产"
],
"stock_status": "在售",
"market_info": {
{
"sort" : [
{ "post_date" : {"order" : "asc"}},
"user",
{ "name" : "desc" },
{ "age" : "desc" },
"_score"
],
"query" : {
"term" : { "user" : "kimchy" }
{
"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": [
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(
@aoeuidht
aoeuidht / cps
Last active August 29, 2015 14:24
cps/trampoline version
#!/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))
#|
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
@aoeuidht
aoeuidht / gist:26388271dd916a80db37
Created February 5, 2015 14:25
神兽庇佑, 代码无bug
/*
3        ┏┓    ┏┓
4       ┏┛┻━━━━━━━━━━┛┻┓
5       ┃      ┃  
6       ┃   ━    ┃
7       ┃ ┳┛  ┗┳ ┃
8       ┃       ┃
9       ┃   ┻    ┃
10       ┃       ┃
11       ┗━┓    ┏━┛
@aoeuidht
aoeuidht / gist:f33fbc2d68a701acc775
Created December 17, 2014 03:58
只加工资 不改需求
################################################################################
# _ooOoo_
# o8888888o
# 88" . "88
# (| -_- |)
# O\ = /O
# ____/`---'\____
# .' \\| |// `.
# / \\||| : |||// \
# / _||||| -:- |||||- \
GSSAPIAuthentication no
ServerAliveInterval 60
Host *
ControlMaster auto
ControlPath ~/.ssh/%h-%p-%r
ControlPersist yes
// original
{
"sv": "7.4.0",
"os": "iphone",
"sw": 320,
"ch": "1006820a",
"pd": "map",
"mb": "iPhone6,2",
"sh": 480,
"ov": "7.000000",