最少有三个长期分支
- master: 用于生产环境部署
- testing: 用于测试环境测试
- dev: 用于日常开发
有一些临时分支
| using System; | |
| using System.Collections.Generic; | |
| using System.Text; | |
| using System.Threading; | |
| namespace BufferBaseLib | |
| { | |
| public interface IBufferState | |
| { | |
| void Commit(); |
| # -*- coding: utf-8 -*- | |
| ''' | |
| 功能: | |
| 从zonefile文件导入域名到Dnspod | |
| requirements: | |
| dnspython==1.10.0 | |
| requests==1.0.4 | |
| ''' |
| 为了更全面的展示你自己,你可以回答以下题目,每个问题你都可以不作答,不会减分,只是答的好的话会加分。 | |
| 1. 有哪些兴趣爱好和擅长 | |
| 2. 常去哪些技术网站和社区 | |
| 3. 参与过开源项目,做了什么贡献 | |
| 4. 常用哪些组件,库或框架,哪个是你最熟悉最拿手的 | |
| 5. 完整看完过哪些技术书籍,哪本是你反复看过的,哪本对你影像最大 | |
| 6. 使用过哪些编程语言,最擅长哪个语言? | |
| 7. 有没有自己的域名,网站,博客,github,stackoverflow ,v2ex,知乎,微博,twitter,google plus账号 | |
| 8. 精通正则表达式吗? | |
| 9. c学的如何? 计算机组成原理学的咋样? |
| history | awk '{CMD[$2]++;count++;} END { for (a in CMD )print CMD[a] " " CMD[a]/count*100 "% " a }' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10 | |
| # (陈皓注:有点复杂了,history|awk ‘{print $2}’|awk ‘BEGIN {FS=”|”} {print $1}’|sort|uniq -c|sort -rn|head -10) | |
| # 这行脚本能输出你最常用的十条命令,由此甚至可以洞察你是一个什么类型的程序员。 |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| namespace ConsoleTest | |
| { | |
| class Program | |
| { | |
| /// <summary> |
| // gcc split_by_blank.c -o split_by_blank.o | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #define MAX_ARRAY_LENGTH 10 | |
| #define MAX_STRING_LENGTH 10 | |
| struct string_array { | |
| size_t length; |
| # -*- coding:utf-8 -*- | |
| '写了一个简单的支持中文的正向最大匹配的机械分词,其它不用解释了,就几十行代码' | |
| '搜狗词库下载地址:http://vdisk.weibo.com/s/7RlE5' | |
| import string | |
| __dict = {} | |
| def load_dict(dict_file='words.dic'): | |
| '加载词库,把词库加载成一个key为首字符,value为相关词的列表的字典' |
| /* module name: wawaevent | |
| * version: 0.1 | |
| * depend:underscore,backbone | |
| * description: 处理javascript的异步任务流 | |
| * document: | |
| * setup:指定任务流逻辑 | |
| * 1. 可以用sequence来设置一个列表来制定, 如{'sequence': ['worker1', 'worker2', 'worker3']} | |
| * 1. 可以用逗号隔开多个eventName,然后制定一个handler,如{'worker1.error, worker2.error': 'default_error_handler'} | |
| * 1. 可以单独指定一个事件的handler,handler除了可以使用任务流名字外 | |
| * ,还可以直接使用函数,如{'worker1': function(){console.log('worker1 success')}} |