246月/130
HTML/CSS/Javascript代码在线压缩、格式化(美化)工具
CSS 格式化ProCSSor - http://procssor.com/
CSS 压缩CSS Compressor - http://www.cssdrive.com/index.php/main/csscompressor
HTML 格式化Tabifier - http://tools.arantius.com/tabifier
HTML 压缩Compress HTML - http://www.textfixer.com/html[......]阅读全文
1212月/122
Google Analytics ga.js格式化源代码
(function() {
var g = void 0,
h = !0,
j = null,
l = !1,
aa = encodeURIComponent,
ba = Infinity,
ca = setTimeout,
&n
[......]阅读全文
39月/100
linux indent格式化代码
Linux kernel有一个脚本Lindent,可以帮助你将自己的代码做一个好的代码风格格式化。
如:/usr/src/linux-headers-2.6.22-14/scripts/Lindent
常用的设置:
indent -npro -kr -i4 -ts4 -sob -l80 -ss -bl -bli 0
(这个风格我喜欢)
参数说明:
-npro或--ignore-profile 不要读取indent的配置文件.indent.pro。
-kr 指
[......]阅读全文