Skip to content

Instantly share code, notes, and snippets.

View zhuangya's full-sized avatar
🧛‍♂️
only silver bullet is silver bullet.

Ya Zhuang zhuangya

🧛‍♂️
only silver bullet is silver bullet.
View GitHub Profile
<!DOCTYPE html>
<html ng-app="ing">
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.8/angular.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-gettext/2.3.8/angular-gettext.js"></script>
</head>
<body>
<h1>watch typeof</h1>
<div ng-controller="MainCtrl">
<p> <strong>without workaround</strong> </p>
@zhuangya
zhuangya / font-fix.sh
Last active May 24, 2016 02:48
font-fix.sh
#!/usr/bin/env fontforge
Open($1)
SetFontNames("", $1, $1, "", "", "")
Generate($1:r + ".ttf", "", 4)
❯ npm search gyp
npm WARN Building the local index for the first time, please be patient
▄ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
<--- Last few GCs --->
46687 ms: Mark-sweep 821.3 (1181.1) -> 820.3 (1190.1) MB, 534.7 / 0 ms (+ 120.1 ms in 531 steps since start of marking, biggest step 13.4 ms) [allocation failure] [GC in old space requested].
47494 ms: Mark-sweep 820.3 (1190.1) -> 795.6 (1170.1) MB, 807.0 / 0 ms [allocation failure] [GC in old space requested].
48396 ms: Mark-sweep 795.6 (1170.1) -> 795.5 (1164.1) MB, 901.8 / 0 ms [last resort gc].
49175 ms: Mark-sweep 795.5 (1164.1) -> 795.5 (1157.1) MB, 778.4 / 0 ms [last resort gc].
This file has been truncated, but you can view the full file.
3607871495567851||||1375667058||||1069205631||||新浪房产||||17||||8||||0||||http://ww3.sinaimg.cn/thumbnail/3fbac87fjw1e7bj4v8oy4j20c80dbq4m.jpg||||http://ww3.sinaimg.cn/large/3fbac87fjw1e7bj4v8oy4j20c80dbq4m.jpg||||【北京农展馆地块楼面价或摸至每平米5万元】面粉贵过面包,接连出现的“地王”让土地市场备受关注,再度入市的农展馆黄金地块选择了自降“身价”,起始价从20亿元下调至18亿元,折合楼面价3万/平。业内预计,该地块最终楼面价或超过5万/平,未来售价可能高达10万/平。http://t.cn/zQoiaWV
3607866730897298||||1375665922||||1069205631||||新浪房产||||17||||8||||2||||http://ww2.sinaimg.cn/thumbnail/3fbac87fjw1e7biu1ebwij20c80ckac1.jpg||||http://ww2.sinaimg.cn/large/3fbac87fjw1e7biu1ebwij20c80ckac1.jpg||||【房地产市场冷热有温差 政策不宜一刀切】今年以来,中国房地产市场再度呈现火热之势,但不同城市市场冷热分化也很明显:一二线城市供不应求,房企激烈争夺使得“地王”频出,部分热点区域楼盘再现“日光”现象;而三四线城市销量则明显滞后,库存高企,房价上涨速度趋缓。http://t.cn/zQoiW5r
3607861831165713||||1375664754||||1069205631||||新浪房产||||17||||2||||3||||http://ww4.sinaimg.cn/thumbnail/3fbac87fjw1e7bibel9xej20c80ceq4a.jpg||||http://ww4.sinaimg.cn/large/3fbac87fjw1e7bibel9xej20c80ceq4a.jpg||||【地产再融资开闸 指向棚户区改造和保障房】暂停三年的A股房企再融资悄然重启。上周新湖中宝公告,将“房企再融资开闸”坐实:新湖中宝拟定向增发募资55亿,投向位于上海区域的两个棚户区改造
This file has been truncated, but you can view the full file.
3607871495567851||||1375667058||||1069205631||||新浪房产||||17||||8||||0||||http://ww3.sinaimg.cn/thumbnail/3fbac87fjw1e7bj4v8oy4j20c80dbq4m.jpg||||http://ww3.sinaimg.cn/large/3fbac87fjw1e7bj4v8oy4j20c80dbq4m.jpg||||【北京农展馆地块楼面价或摸至每平米5万元】面粉贵过面包,接连出现的“地王”让土地市场备受关注,再度入市的农展馆黄金地块选择了自降“身价”,起始价从20亿元下调至18亿元,折合楼面价3万/平。业内预计,该地块最终楼面价或超过5万/平,未来售价可能高达10万/平。http://t.cn/zQoiaWV
3607866730897298||||1375665922||||1069205631||||新浪房产||||17||||8||||2||||http://ww2.sinaimg.cn/thumbnail/3fbac87fjw1e7biu1ebwij20c80ckac1.jpg||||http://ww2.sinaimg.cn/large/3fbac87fjw1e7biu1ebwij20c80ckac1.jpg||||【房地产市场冷热有温差 政策不宜一刀切】今年以来,中国房地产市场再度呈现火热之势,但不同城市市场冷热分化也很明显:一二线城市供不应求,房企激烈争夺使得“地王”频出,部分热点区域楼盘再现“日光”现象;而三四线城市销量则明显滞后,库存高企,房价上涨速度趋缓。http://t.cn/zQoiW5r
3607861831165713||||1375664754||||1069205631||||新浪房产||||17||||2||||3||||http://ww4.sinaimg.cn/thumbnail/3fbac87fjw1e7bibel9xej20c80ceq4a.jpg||||http://ww4.sinaimg.cn/large/3fbac87fjw1e7bibel9xej20c80ceq4a.jpg||||【地产再融资开闸 指向棚户区改造和保障房】暂停三年的A股房企再融资悄然重启。上周新湖中宝公告,将“房企再融资开闸”坐实:新湖中宝拟定向增发募资55亿,投向位于上海区域的两个棚户区改造

Keybase proof

I hereby claim:

  • I am zhuangya on github.
  • I am nos (https://keybase.io/nos) on keybase.
  • I have a public key ASAinbEWZnRwP7Wow2L03FH3oW8LMXl7tFujHm7ZhC-4bwo

To claim this, I am signing this object:

var temperatureHistory = [{
State: 'Florida',
Temperature: 83,
},
{
State: 'Florida',
Temperature: 82,
},
{
State: 'Florida',
@zhuangya
zhuangya / -
Created January 27, 2014 17:32
1.1.2
/usr/local/go/bin:/usr/local/bin:/usr/local/git/bin:/usr/local/lib/node_modules:/usr/local/sbin:/usr/local/share/go/bin:/usr/local/share/npm/bin:/opt/X11/bin:/usr/X11/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin:/usr/local/lib/node_modules:/usr/local/sbin:/usr/local/share/npm/bin:/Users/zy/.rbenv/shims:/usr/X11/bin:/usr/local/git/bin:/usr/local/lib/node_modules:/usr/local/sbin:/usr/local/share/npm/bin:/usr/local/bin:/Users/zy/.rbenv/shims:/usr/X11/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH
darwin { http_parser: '1.0',
node: '0.10.25',
v8: '3.14.5.9',
ares: '1.9.0-DEV',
uv: '0.10.23',
zlib: '1.2.3',
modules: '11',
openssl: '1.0.1e' }
@zhuangya
zhuangya / 11
Created January 23, 2014 09:22
acarsd-info.nse
address-info.nse
afp-brute.nse
afp-ls.nse
afp-path-vuln.nse
afp-serverinfo.nse
afp-showmount.nse
ajp-auth.nse
ajp-brute.nse
ajp-headers.nse
@zhuangya
zhuangya / gist:8399374
Created January 13, 2014 12:20
nginx gzip
gzip on;
gzip_disable "msie6";
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types text/plain text/css application/json application/x-javascript
text/xml application/xml application/xml+rss text/javascript;