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
" Note: Skip initialization for vim-tiny or vim-small.
if 0 | endif
if has('vim_starting')
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath+=~/.vim/bundle/neobundle.vim/
unbind-key C-b
set-option -g prefix '`'
bind-key '`' send-prefix
source /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf
set -g base-index 1
unbind %
bind | split-window -h
### Keybase proof
I hereby claim:
* I am zhuangya on github.
* I am nos (https://keybase.io/nos) on keybase.
* I have a public key whose fingerprint is 4922 EA5D 9F3C FFF7 D1E5 0F92 0DD8 03C3 DC4C 0F73
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am zhuangya on github.
  • I am nos (https://keybase.io/nos) on keybase.
  • I have a public key whose fingerprint is B9A0 6678 6A17 3937 5DB3 E17D 133F 2D5E 971C 2C4A

To claim this, I am signing this object:

2015-03-23 12:19:10 +0800
./configure
--with-features=huge
--enable-multibyte
--with-macarchs=x86_64
--enable-perlinterp
--enable-rubyinterp
--enable-tclinterp
--with-tlib=ncurses
2015-03-23 12:14:52 +0800
./configure
--with-features=huge
--enable-multibyte
--with-macarchs=x86_64
--enable-perlinterp
--enable-rubyinterp
--enable-tclinterp
--with-tlib=ncurses
require('http').createServer(function (req, res) {
res.end(req.headers['user-agent']);
}).listen(process.env.PORT || 7878);
2014-12-05 11:35:03 +0800
./configure
--prefix=/usr/local/Cellar/mplayer/1.1.1
--cc=clang
--host-cc=clang
--disable-cdparanoia
--disable-libopenjpeg
--enable-menu
--disable-x11
<form class="cnt">
<form class="cnt">
<form class="cnt">
<input id="result" value="shit">
</form>
</form>
</form>
<script>
document.getElementById('result').value = document.querySelectorAll('.cnt').length;
</script>
'use strict';
var _ = require('lodash');
var through = require('through');
var JSONStream = require('JSONStream');
var fs = require('fs');
fs.createReadStream(__dirname + '/vc.cn.har').pipe(JSONStream.parse('log.entries')).pipe(through(function (dat) {