作者存档: inotseeyou - 第3页

三个郁闷的错误……搞了一下午……

在nodejs下开发,发送http请求,一直没有response(回调一直没有触发……)
javascript 循环中回调函数闭包引发的杯具
express编写rest服务,server已经使用server.use(express.bodyParser()),但请求中仍没有解释body。

继续阅读 »

从源码安装ruby1.8 & ruby1.9 on ubuntu

今天看到一个sass的玩意,非常好奇,于是想玩玩,杯具就开始……
这个东东是用ruby搞出来的,于是你需要有个ruby,开始想用ubuntu的apt装完,没想到,装了几个都没有把sass给装出来。
于是,一气之下,再冷静地决定从源码编译!!!ruby,然后再装sass……
于是就有了下面的记录……

继续阅读 »

编译安装v8

v8 compile manul: 安装scons sudo apt-get i …

继续阅读 »

重新设置mysql的root密码

mysql reset password: 方法一: # /etc/init.d …

继续阅读 »

html5播放mp3呀!!!

这个页面有音乐听,用html5的新标签做的,听听哟,很好的。

继续阅读 »

边框

border-style: groove / solid / dotted / inset /outset /dashed / ridge / double
border-width: thin / medium / thick / x px
border-color: red / #00ff00 / rgb(0%,0%,100%) / rgb(0,0,255)
border-[left,right,top,bottom]-[width,style,color] : …

继续阅读 »

document.execCommand 的用法

document.execCommand 用于实现iframe创建的编辑器的一些编辑命令

继续阅读 »

一些富编辑器

富编辑器: CodeMirror 在线代码高亮显示,很多在线代码编辑器的基础库。 …

继续阅读 »

爱的代价

假设,如果你很爱的这个人,他要你上悬崖摘一朵花,可是你知道你会死,你会不会去?
……

继续阅读 »

在centos上安装php5

php5 install on centos: yum install -y h …

继续阅读 »