Skip to content

Instantly share code, notes, and snippets.

chengmu chengmu

  • Beijing
Block or report user

Report or block chengmu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View one_light (SL).tmTheme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<key>name</ke<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string>One Light</string>
chengmu /
Last active Jan 27, 2016







#HTTP 记录HTTP标准的一些基础概念和参考。 ##基础

###TCP/IP __TCP/IP__指与互联网相关连的协议的集合。

####分层管理模型 好处 :分好层次,规划好每层之间接口后,方便维护和更改具体设计。

chengmu / deleteEnglishLine.js
Created Apr 19, 2014
View deleteEnglishLine.js
* 用于删除翻译完的稿子中英文部分的脚本
var resultFileName = 'r.txt';
var inputFileName = 'raw.txt';
var fs = require('fs');
View sql_test.js
try {
if (!window.openDatabase) {
alert('not supported');
} else {
var shortName = 'mydatabase';
var version = '1.0';
var displayName = 'My Important Database';
var maxSize = 65536; // in bytes
var db = openDatabase(shortName, version, displayName, maxSize);
chengmu / Node RestFul API Basic
Last active Dec 31, 2015
Node Restful API Basic
View Node RestFul API Basic

Node Js in Action这本书的时候看到的一个用node http模块写的一个非常基础Restful API实现;附上使用curl命令的测试


var http = require('http'); 
var url = require('url');
var items = [];
var server = http.createServer(function(req, res){
  switch (req.method) {
chengmu / webfront_reference
Created Dec 18, 2013
View webfront_reference
###webfront refferences
####Javascript Standard Relevent
+ [ECMA 3 pdf online](,%203rd%20edition,%20December%201999.pdf)
+ [ECMA 5 中文手册online](
+ [es5-compat-table By Kangax](
View GPU_Compositor_in_Chorme.markdown

#GPU & Composting in Blink and Chrome

summaried from Chromium documents and other resources


###Stacking Contexts Positioned elements(relative, absolute, fixed) with a z-index group of layers into a isolated layer

View bootstrap_dev_notes.markdown



Internet Explorer 8 and 9 are also supported, however, please be aware that many CSS3 properties—e.g., rounded corners and shadows—are not supported by IE8. The placeholder attribute is also not supported in either of these versions.

In addition, Internet Explorer 8 requires the use of respond.js to enable media query support.

You can’t perform that action at this time.