Skip to content

Instantly share code, notes, and snippets.

@siemenliu
siemenliu / netsniff.js
Last active January 4, 2016 21:19
phantomjs netsniff.js to show http header cache problem
if (!Date.prototype.toISOString) {
Date.prototype.toISOString = function () {
function pad(n) { return n < 10 ? '0' + n : n; }
function ms(n) { return n < 10 ? '00'+ n : n < 100 ? '0' + n : n }
return this.getFullYear() + '-' +
pad(this.getMonth() + 1) + '-' +
pad(this.getDate()) + 'T' +
pad(this.getHours()) + ':' +
pad(this.getMinutes()) + ':' +
pad(this.getSeconds()) + '.' +
@siemenliu
siemenliu / gist:3b715cbd1e277538c0ea
Last active August 29, 2015 14:00
装修日记.txt
2014-06-09
今天泥工验收 发现问题
- 1. 瓷砖接缝不平整
> 质检师傅说补缝再做一下
- 2. 砌墙图中阳台左侧有一块视需要砌出来6cm的没有做
> 用木头搭 或者 后砌砖来解决