Writer:BYSocket(泥沙砖瓦浆木匠)
微博:BYSocket
豆瓣:BYSocket
Reprint it anywhere u want.
Written In The Font
I am writing at home.Today it is windy,but I am feeling isuitable and war...
分类:
其他好文 时间:
2015-01-17 18:03:21
阅读次数:
218
http://zh.wikipedia.org/zh-cn/G.711ITU-T G.711 pageITU-T G.191 software tools for speech and audio coding, including G.711 C codeCode Project C# imple...
分类:
移动开发 时间:
2015-01-17 17:58:07
阅读次数:
213
Writer:BYSocket(泥沙砖瓦浆木匠) 微博:BYSocket 豆瓣:BYSocketReprint it anywhere u want.Written In The Font I am writing at home.Today it is windy,but I am feeling...
分类:
其他好文 时间:
2015-01-17 17:53:09
阅读次数:
214
1. 反转字符串char* strrev1(const char* str){ int len = strlen(str); char *temp = new char[len + 1]; char *p = temp + len; *p = '\0'; p--; ...
分类:
编程语言 时间:
2015-01-17 16:33:18
阅读次数:
154
下面这个小工具包含了 判断unicode是否是汉字,数字,英文,或者其他字符。 全角符号转半角符号。 unicode字符串归一化等工作。
#!/usr/bin/env python
# -*- coding:GBK -*-
"""汉字处理的工具:
判断unicode是否是汉字,数字,英文,或者其他字符。
全角符号转半角符号。"""
def ...
分类:
编程语言 时间:
2015-01-17 15:15:16
阅读次数:
180
aptana studio3 安装 zencoding(Emmet) 插件zen coding 更名为Emmetemmet谷歌主页地址:http://code.google.com/p/zen-coding/ emmet官方 aptana 插件地址https://github.com/sergech...
分类:
Web程序 时间:
2015-01-17 12:39:56
阅读次数:
226
# -*- coding: utf8 -*-'''https://oj.leetcode.com/problems/regular-expression-matching/Implement regular expression matching with support for '.' and '...
分类:
编程语言 时间:
2015-01-17 06:25:11
阅读次数:
212
首先是forward算法的Python实现:#-*-coding:utf-8-*-__author__ = 'ZhangHe'def forward(N,M,A,B,P,observed): p = 0.0 #观察到的状态数目 LEN = len(observed) #中间概...
分类:
编程语言 时间:
2015-01-16 23:43:13
阅读次数:
295
有时候我们需要对一个文本文件中的文字做处理,就会涉及到读写中文,以前经常遇到各种问题,现在有一个解决方案,已经成功了。#!/usr/bin/env python# -*- coding: utf-8 -*-import codecsimport sysreload(sys)# 更换默认编码sys.s...
分类:
编程语言 时间:
2015-01-16 16:28:11
阅读次数:
178
1 #!/usr/bin/env python 2 # coding:utf-8 3 4 import sys,time 5 6 class DisplayFormat(object): 7 8 def format_size(self,size): 9 ...
分类:
编程语言 时间:
2015-01-16 16:13:26
阅读次数:
251