上一页 1 2 3 4 5 6 7 8 9 ··· 41 下一页
  2015年8月12日
摘要: 原理: 将模式串与匹配串都转成unicode编码,再用正则。 可以用python完成,或者是用c++boost方案一,解析程序C版本,中间调用python函数,python函数中调用正则表达式进行函数解析。 本地可以运行,但是haoop集群运行不了。方案二,采用boost wregex C++源码编... 阅读全文
posted @ 2015-08-12 15:03 finallyly 阅读(420) 评论(0) 推荐(0) 编辑
  2015年7月24日
摘要: 解 释一下: SVN 出现这个错误的原因是我删除了一个文件夹后又创建了一个同名文件夹。 在 svn server 端,好像是不能区分这两个文件夹,所以出现了错误。 解决方法: 1. 删除出现错误的文件夹 2. SVN Update 3. 这时服务器上存在的文件夹会出现在本地 4. 删除原有的文件夹 ... 阅读全文
posted @ 2015-07-24 17:19 finallyly 阅读(485) 评论(0) 推荐(0) 编辑
  2015年6月24日
摘要: 如上图.的GBK编码是A3AE, 那么·对应的无符号整数值应该是A*16**3+E*16**2+A+3, 无符号整数值所在地址的第一个自己是A3,第二个字节是AE 阅读全文
posted @ 2015-06-24 15:30 finallyly 阅读(240) 评论(0) 推荐(0) 编辑
  2015年6月15日
摘要: whereis 查看程序安装在了哪里 where 产看运行程序在哪里。libtool --mode=link g++ test.cpp -o test libSegmentorForSim2TraAnno.la libsim2traannotate.la在当前路径下 .libs文件中放入libSeg... 阅读全文
posted @ 2015-06-15 09:10 finallyly 阅读(245) 评论(0) 推荐(0) 编辑
  2015年5月11日
摘要: ######################################################################## Copyright (C) 2015 All rights reserved.# # 文件名称:p.pl# 创 建 者:# 创建日期:... 阅读全文
posted @ 2015-05-11 18:56 finallyly 阅读(586) 评论(0) 推荐(0) 编辑
  2015年4月7日
摘要: 代码碎片1#!/usr/bin/python# please add your code here!import matplotlibmatplotlib.use('Agg')import matplotlib.pyplot as plfrom pandas import Series, DataF... 阅读全文
posted @ 2015-04-07 16:21 finallyly 阅读(310) 评论(0) 推荐(0) 编辑
  2015年1月12日
摘要: sort -t $'\t'gcc版本查看 gcc -v红帽版本查看 cat /etc/redhat-releaseLinux Core Version cat /proc/version 阅读全文
posted @ 2015-01-12 14:38 finallyly 阅读(759) 评论(0) 推荐(0) 编辑
  2015年1月5日
摘要: 36 chomp $line;37 my @vec = split /\t/, $line;38 my @vec2 = ($vec[1]=~/[a-z]+/g);39 my $size = scalar @vec2;40 if ($size ==1) 41 { 42 print FOUT "$lin... 阅读全文
posted @ 2015-01-05 14:51 finallyly 阅读(286) 评论(0) 推荐(0) 编辑
  2015年1月2日
摘要: if [ 0 -ne $# ]; thenecho "USAGE: prog [IN]input_file" >&2;exit 1;fisource /etc/profilesource ~/.bash_profileulimit -c unlimited#./ExtractICBAData1 57... 阅读全文
posted @ 2015-01-02 17:11 finallyly 阅读(2182) 评论(0) 推荐(0) 编辑
  2014年12月30日
摘要: include $(top_srcdir)/common.mkbin_PROGRAMS=lib_LIBRARIES=lib_LTLIBRARIES=lib_LTLIBRARIES+=libStringProcess.laINCLUDES=-I /home/liuyu/MyTars/boost_1_5... 阅读全文
posted @ 2014-12-30 14:38 finallyly 阅读(574) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 41 下一页