- python 3.X: 输入
python -m http.server
- python 2.X: 输入
python -m SimpleHTTPServer
如果你再*nix机器下,运行man curl
命令查看具体的使用用法。
curl is a tool to transfer data from or to a server, using one of the supported protocols (http, https, ftp, ftps...). The command is designed to work without user interaction.
curl offers a busload of useful tricks like proxy support, user authentication, ftp upload, http post, ssl connections, cookies, file transfer resum and more.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// if allow use bit-wise operators like ^,|,& | |
"bitwise": false, | |
// camelCase or UPPER_CASE | |
"camelcase": true, | |
// always use curly braces | |
"curly": true, | |
-
bootstrap是由twitter推出的一个开源的前端框架。
-
bootstrap脚本部分依赖jquery,样式部分采用LESS开发,然后经过编译(即将LESS->CSS)和压缩(压缩脚本和CSS),生成最终版本。
-
bootstrap诱人特性:友好学习曲线、卓越兼容性、响应式设计、12列网格、基于LESS和jquery、移动支持,使用Normalize支持扩浏览器渲染、媒体查询等等。
-
网格系统需要注意的地方:
- 每一行(.row)必须包含在(.container)中
- 使用行(.row)来对列进行分组
Web性能可以有技术型的评测指标,例如dns解析时间、首字节时间等。对于用户来说,更加关注首次渲染时间、首屏时间等。下面两篇文章就对此进行了介绍。
OlderNewer