2011年1月19日

摘要: 首先你要安装Wine:打开一个 Shell(终端),然后来一句: sudo apt-get install wine 。然后只管一路YES就行。。第二步:安装 winetricks 。这是老外为了让我们能够在linux下迫不得已的运行一些“瘟到死”的程序。而写的一个“瘟到死”的运行库的小集合工具。闲话少说,接着打开一个Shell来一句:wget http://www.kegel.com/wine/winetricks下载完成后,接着来一句:sudo chmod +x winetricks (ps:加x权限)第三步:安装qq运行库。在shell里继续来一句:sh winetricks msxml 阅读全文
posted @ 2011-01-19 20:46 yming0221 阅读(186) 评论(0) 推荐(0)
摘要: 基于命令的批量修改文件内容来源: ChinaUnix博客 日期: 2009.07.15 12:06 (共有0条评论)我要评论Linux下批量替换多个文件中的字符串的简单方法。用sed命令可以批量替换多个文件中的字符串。用sed命令可以批量替换多个文件中的字符串。sed -i "s/原字符串/新字符串/g" `grep 原字符串 -rl 所在目录`(千万注意这个符号,是最左上角那个符号不是单引号)例如:我要把/test下所有包含abc的文件中的abc替换为def,执行命令:sed -i "s/abc/def/g" `grep abc -rl /test`这 阅读全文
posted @ 2011-01-19 16:45 yming0221 阅读(248) 评论(0) 推荐(0)
摘要: http://poj.org/problem?id=1995Raising Modulo NumbersTime Limit:1000MSMemory Limit:30000KDescriptionPeople are different. Some secretly read magazines full of interesting girls' pictures, others create an A-bomb in their cellar, others like using Windows, and some like difficult mathematical game 阅读全文
posted @ 2011-01-19 13:11 yming0221 阅读(151) 评论(0) 推荐(0)

导航