Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | About

Netkiller Developer 手札

November 15, 2008

Mr. Neo Chan, 陈景峯(BG7NYT)


中国广东省深圳市龙华新区民治街道溪山美地
518131
+86 13113668890


版权声明

转载请与作者联系,转载时请务必标明文章原始出处和作者信息及本声明。

文档出处:
http://netkiller.github.io
http://netkiller.sourceforge.net

微信扫描二维码进入 Netkiller 微信订阅号

QQ群:128659835 请注明“读者”

2017-02-13


目录

1. 自述
1.1. 系列文档
1.2. 作者简介
1.3. 写给读者
1.4. 文档下载
1.5. 打赏(Donations)
1.5.1. 微信(Wechat)
1.5.2. 支付宝(Alipay)
1.5.3. PayPal Donations
1.5.4. 银行(Bank)
1. Developer & Programming language
1.1. System programming language
1.2. 编程语言热度排行榜
1.2.1. TIOBE Programming 编程语言排行榜
1.2.2. Programming Languages Reference Sheets - Hyperpolyglot
1.2.3. DB-Engines - DB-Engines Ranking
1.2.4. Web Framework Benchmarks
1.2.5. The 10 hottest JavaScript framework projects
1.2.6. 各种语言性能测试
1.2.7. IDE 横向比较
1.2.8. Top 10 Programming Languages
1.2.9. PYPL PopularitY of Programming Language
1.2.10. RedMonk 编程语言排行榜
1.2.11. Developer Survey Results 2017
1.3. 软件工程 (Software Engineering)
1.4. Open Source and License
1.5. 项目运作
1.6. 收集需求
1.7. 标准与规范
1.7.1. Release Notes
1.7.2. Project directory
1.7.3. 版本控制及如何运作
1.7.3.1. 版本库布局
1.7.3.2. 策略
1.7.3.3. nightly version
1.7.3.4. rc1,rc2,rc4
1.7.3.5. 怎样写注释信息
1.7.3.5.1. Fixed Bug
1.7.3.5.2. Implemented
1.7.3.5.3. Add
1.7.4. 代码审查
1.7.4.1. Coding workflow
1.7.5. Redis Key
1.7.6. 错误编码
1.7.7. HTML 标准
1.7.7.1. 校验
1.7.7.2. XHTML/HTML
1.7.7.3. CSS
1.7.7.4. Script
1.7.8. 编码风格
1.7.8.1. java 编程规范
1.7.8.1.1. Spring Data JPA
1.7.8.2. php 文件
1.7.8.2.1. 格式与 编码
1.7.8.2.2. 循环嵌套
1.7.8.2.3. 取出行尾的空格以及多余的换行符
1.7.8.2.4. php 标签
1.7.8.2.5. 头部注释
1.7.8.3. String
1.7.8.4. Database
1.7.8.4.1. 结果集使用注意事项
1.7.8.4.2. 索引
1.7.8.4.3. 缓存
1.7.9. 安全
1.7.9.1. Interface
1.7.9.2. SQL注入
I. Web page
4. gulpjs
4.1. Tasks automation
4.1.1. gulp-changed
4.1.2. 显示处理进度
4.1.3. notify
4.1.4. del
4.1.5. start
4.2. watch
4.3. HTML Minification
4.4. CSS Minification
4.4.1. gulp-minify-css
4.4.2. gulp-clean-css
4.4.3. gulp-make-css-url-version
4.4.4. CSS 冗余分析
4.5. JS Minification
4.5.1. JS 校验
4.6. CSS Sprite
4.7. Compress Images
4.8. WEBP格式图片
4.9. Sass Compilation
4.10. Less Compilation
4.11. 重命名文件名
4.12. 合并文件
4.13. 文件头
4.14. yargs 命令行参数传递
4.14.1. gulp-util
4.14.2. minimist
4.15. gulp-sourcemaps
4.16. gulp-zip
4.17. 清理JS中的console.log()调试语句
4.18. copy-dir
4.19. gulp-copy
4.20.
4.21. Example
4.21.1. HTML,JS,CSS
4.21.2. 命令行传递参数
5. webpack
6. minifier
7. CSS Frameworks
7.1. 浏览器判断
7.2. Sass: Syntactically Awesome Style Sheets
7.2.1.
7.3. Less
7.4. css 冗余/废弃样式检查
9. HTML
9.1. iPhone WebApp
9.1.1. 拨打电话
9.1.2. iphone 图标设置
9.2. frame
10. HTML5
10.1. header
10.2. article
11. Javascript
11.1. window
11.1.1. window.location
11.2. navigator
11.2.1. userAgent
11.3. document
11.3.1. referrer
11.3.2. domain
11.4. String 字符串处理
11.4.1. JSON.parse
11.4.2. replace 替换
11.5. Date and Time
11.6. from 表单相关事件
11.6.1. onblur
11.7. 禁止复制与鼠标右键
11.8. DOMDocument
11.8.1. createTextNode
11.9. Microsoft.XMLHTTP
11.9.1. Get
11.9.2. POST
11.10. jQuery
11.10.1. Selectors(选择器)
11.10.2. jQuery 属性操作
11.10.2.1. is
11.10.2.2. css
11.10.3. 时间触发
11.10.3.1. setTimeout 定时执行一次
11.10.3.2. setInterval 间隔执行
11.10.4. text
11.10.5. inArray
11.10.6. Ajax
11.10.6.1. Load
11.10.6.2. GET
11.10.6.3. Post
11.10.6.4. jsonp
11.10.6.5. No 'Access-Control-Allow-Origin' header is present on the requested resource.
11.10.6.6. 同步 AJAX
11.10.7. Form 表单处理
11.10.7.1. select
11.10.7.2. input
11.10.8. Jquery 事件
11.10.8.1. click 事件
11.10.9. Garlic.js - 表单数据持久化
11.11. Bootstrap
11.12. ActiveWidgets - WebUI
11.13. Highslide
11.14. JavaScript 代码混淆
11.14.1. JavaScript Packer
11.15. phantomjs - headless WebKit with JavaScript API
11.16. Javascript MVC Frameworks
11.16.1. Backbone
11.16.2. example
12. SSI
12.1. SSI 环境变量
12.1.1. QUERY_STRING GET参数传递
12.1.2. SERVER_NAME 与 HTTP_HOST
12.2. set
12.3. echo
12.4. 包含网页
12.5. if 条件判断
12.6. FAQ 常见问题
12.6.1. SERVER_NAME 与 HTTP_HOST 有什么不同?
13. Theme & UI
13.1. bootstrap
14. 3rd party
14.1. Share Buttons
14.2. discussions
14.3. Highlight
14.3.1. SyntaxHighlighter
14.3.2. highlight.js
14.4. 所见即所得现在编辑工具
14.4.1. FCKeditor
14.4.2. NicEdit
14.4.3. TinyMCE
14.4.4. WYSIWYG
14.4.5. Quill
15. Div+CSS页面设计
15.1. 页面元素命名
15.2. XHTML+DIV+CSS
15.3. 页面结构设计
15.3.1. Home page (首页)
15.3.2. 导航烂
15.3.3. Left Bar
15.3.4. 区块设计 Block
15.4. 表格
15.5. 图片优化
15.5.1. onMouseOver/onMouseOut
15.5.2. 使用一幅图片处理BLOCK四角
15.5.3. 图片用背景图代替 img 标记
15.5.4. 合并图片
15.6. HTML嵌入图片
15.7. 页面内容安全
15.7.1. 禁止鼠标右键
15.7.2. 禁止复制剪切 及粘贴
15.8. html,css 有效性检查 Validation
15.9. 自适应宽度超出截取并显示省略字符
16. Angular
16.1. Function
16.1.1.
16.1.2. ng-bind
II. Ruby
17. Ruby
17.1. rubygems
18. Variable
18.1. String
18.2. Date
18.3. Array
19. Class
19.1. rmagick
20. Ruby on Rails
20.1. Getting Started
20.2. Creating a New Rails Project
20.2.1. Creating the Blog Application
20.2.2. Configuring a Database
20.2.2.1. Creating the Database
20.2.3. Hello world
20.2.4. Starting up the Web Server
20.2.5. Setting the Application Home Page
20.2.6. FAQ
20.3. capistrano
21. FAQ
21.1. no such file to load — mkmf
III. Node.js
22. Node.js 安装
22.1. Ubuntu
22.2. CentOS
22.3. npm -- node package manager
22.3.1. link
22.4. pm2
22.4.1. logs
22.5. Loop
22.5.1. forEach
23. Meteor
24. express
IV. C/C++
25. Build tool
25.1. make - GNU make utility to maintain groups of programs
25.1.1. autoconf - Generate configuration scripts
25.2. CMake
25.2.1. helloworld
25.2.2. cmake_minimum_required
25.2.3. SET
25.2.4. ADD_SUBDIRECTORY
25.2.5. INCLUDE_DIRECTORIES
25.2.6. 编译文件
25.2.6.1. ADD_EXECUTABLE 编译可执行
25.2.6.2. ADD_LIBRARY 编译库文件
25.2.7. EXECUTABLE_OUTPUT_PATH / LIBRARY_OUTPUT_PATH
25.2.8. TARGET_LINK_LIBRARIES
25.2.9. INSTALL
25.3. scons - a software construction tool
25.4. Phing
26. C
26.1. compiler
26.1.1. gcc - The GNU C compiler
26.1.2. clang - Low-Level Virtual Machine (LLVM), C language family frontend
26.2. ldconfig
26.3. C Library
26.3.1. lib
26.3.1.1. syslog.h
26.3.1.2. stdio.h
26.3.2. libssh2
26.3.3. libconfig – C/C++ Configuration File Library
26.3.4. libuv
26.3.5. newt
26.3.6. Spdylay - SPDY C Library
26.3.7. libPhenom
26.3.8. curl
26.3.8.1. url encode / decode
26.3.9. libxml
26.3.9.1. example
26.3.9.2. Creating string with libxml2
27. C++
27.1. g++ - The GNU C++ compiler
27.2. C++ library
27.2.1. Boost C++ Libraries
27.2.2. google-perftools
27.2.3. TreeFrog Framework
28. Objective-C
29. 调试工具
29.1. ftop - Tool to show progress of open files and file systems
29.2. strace - trace system calls and signals
29.2.1. -o file -- send trace output to FILE instead of stderr
29.3. ltrace - A library call tracer
29.4. ldd - print shared library dependencies
29.5. Valgrind
29.6. nm - list symbols from object files
29.7. objdump - display information from object files.
29.8. readelf - Displays information about ELF files.
30. GNU Development Tools
30.1. strip - Discard symbols from object files.
V. D Programming Language
31. D Lang
31.1. dmd install
31.2. helloworld
31.3. dmd - Digital Mars D2.x Compiler
31.3.1. -cov do code coverage analysis
31.4. Open Source Development for the D Programming Language
31.4.1. DDBI - A database independent interface.
32. FAQ
32.1. /lib64/libc.so.6: version `GLIBC_2.14' not found
33. Message Queuing & RPC
33.1. RabbitMQ
33.1.1. 安装 RabbitMQ
33.1.1.1. Ubuntu
33.1.1.2. CentOS
33.1.1.3. OSCM 一键安装
33.1.1.4. 检查端口
33.1.2. rabbitmqctl - command line tool for managing a RabbitMQ broker
33.1.2.1. change_password
33.1.2.2. list_users
33.1.2.3. 虚拟机管理
33.1.2.4. list_queues
33.1.2.5. list_exchanges
33.1.3. rabbitmq-plugins - command line tool for managing RabbitMQ broker plugins
33.1.3.1. rabbitmq_management
33.1.4. Python - Pika
33.1.5. Ruby amqp
33.2. ZeroMQ
33.2.1. python-zeromq
33.2.1.1. pyzmq
33.2.1.2. example
33.2.2. ruby zmq
33.3. nanomsg
33.4. Gearman
33.4.1. Getting Started with Gearman
33.4.1.1. CentOS
33.4.1.2. Ubuntu
33.4.1.3. 防火墙设置
33.4.2. gearman
33.4.3. Gearman PHP Extension
33.5. Apache Kafka is a distributed publish-subscribe messaging system
33.5.1. 安装 Kafka用于开发与测试环境
33.5.2. 安装 Kafka 适用于 IDC
33.5.3. Kafka 日志
33.5.4. 测试 Kafka
33.5.5. 配置 Kafka
33.5.5.1. 外网访问
33.5.5.2. group.id
33.5.6. 管理 Kafka
33.5.7. FAQ
33.5.7.1. WARN Error while fetching metadata with correlation id 1 : {test=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
33.6. Celery
33.7. ActiveMQ
33.8. http://kr.github.io/beanstalkd/
33.9. gRPC
VI. Graphics
34. Gnuplot
34.1. 安装 Gnuplot
34.1.1. CentOS 环境
34.1.2. Ubuntu 环境
34.1.3. 测试 Gnuplot 是否可用
34.2. terminal
34.3. output
34.4. title/xlabel/ylabel
34.5. xrange/yrange
34.5.1. 时间轴范围
34.5.2. 日期轴范围
34.6. xdata
34.6.1. Date/Time
34.7. plot
34.7.1. using
34.8. PHPlot
34.9. FAQ
34.9.1. Could not find/open font when opening font "arial", using internal non-scalable font
34.9.2. 变量传递
35. Graphviz - Graph Visualization Software
35.1. Installation
35.1.1. Apt-get
35.1.2. Yum
35.2. The DOT Language
35.2.1. dot
35.2.1.1. 布局
35.2.2. twopi
35.2.3. gprof
35.3. Node, Edge and Graph Attributes
35.3.1. Color Names
35.3.2. Node Shapes
35.3.3. 箭头
35.4. Example
35.4.1. E-R
35.4.2. Network
35.4.3. workflow
36. RRDTool
36.1. install
36.2. rrdtool demo example
36.3. title
36.4. start / end
36.5. height / width
36.6. upper-limit / lower-limit
36.7. vertical-label
36.8. Data Source
36.9. Round Robin Archives
36.10. AREA, LINE and STACK
36.10.1. LINE
36.10.2. AREA
36.10.3. STACK
36.10.4. GPRINT
36.11. Example
36.11.1. Memory
36.11.2. example 1
36.11.3. example 1
37. OpenBR
38. OCR - Optical Character Recognition
38.1. Tesseract
38.2. cuneiform - multi-language OCR system
39. Open-Source tool in Java to draw UML Diagram
40. Asymptote: The Vector Graphics Language
40.1. UML
41. MetaPost
42. OpenStreetMap
42.1. OpenLayers
42.2. Leaflet
43. Baidu Map
43.1. BMap.Circle
44. Chart 图表
44.1. Flash Charts
44.1.1. PHP/SWF Charts
44.1.2. Open Flash Chart 2
44.1.3. FiCharts
44.1.4. AnyChart
44.2. JavaScript Charts
44.2.1. Google Charts
44.2.2. Dojo Chart
44.2.3. amcharts
44.2.4. Highcharts JS
44.2.5. Flot
44.2.6. jqPlot
44.2.7. ECharts
44.2.8. D3 gallery
44.3. Image Charts
44.3.1. PHPGraphLib Graphing Library
44.3.2. pChart - a PHP class to build charts
44.3.3. FnordMetric ChartSQL
44.4. HTML 5
44.4.1. StockChartX HTML5
44.5. SVG
44.5.1. flowchart.js
45. UML
46. Regular expression (正则表达式)
46.1. Network 网络地址处理
46.2. HTML 处理
47. Miscellaneous
47.1. php function check
47.2. whois 域名查询
47.3. 身份证校验
47.4. PHP PDF 处理库
47.5. Kint - a modern and powerful PHP debugging helper
47.6. snoopy 模拟浏览器操作
47.7. PHP Nightrain
48. FAQ
48.1. /lib64/libc.so.6: version `GLIBC_2.14' not found

范例清单

1.1. Example - Release Notes
3.1. single file
3.2. a lot of file or directory
11.1. 倒数计时例子
15.1. 表格排版范例
15.2. XHTML+DIV+CSS排版范例
15.3. 例子
15.4. 例子
26.1. clang helloworld
28.1. Objective-C hello world
33.1. Ruby on RabbitMQ
33.2. server.py
33.3. client.py