crifan 13年前 (2012-11-18) 8195浏览
【问题】
写了perl代码:
#!/usr/bin/perl
use strict;
use warnings; print "Hello, world"; $str = "I love Perl";
$s...
crifan 13年前 (2012-11-18) 3564浏览
1.从perl主页中:
http://www.perl.org/get.html
找到:
ActiveState Perl
然后下载64位的,得到:
ActivePerl-5.16.1.1601-MSWin32-x64-296175.msi
然后安装...
crifan 13年前 (2012-11-17) 4559浏览
很多人,包括我,最开始学习正则表达式的时候,可能或多或少都看过一些,自己当时觉得极其复杂的正则表达式。
对于那些正则表达式,都是觉得,要让自己写,真的是没有头绪,不知道如何下手。
这其中,有部分因素是,对于正则表达式本身,有些语法,还不是很熟悉。
也...
crifan 13年前 (2012-11-17) 6384浏览
Python 2.7的手册中,官方的解释为: (?(id/name)yes-pattern|no-pattern) Will try to match with yes-pattern if the group with giv...
crifan 13年前 (2012-11-17) 4696浏览
Python 手册的解释是: (?...)
This is an extension notation (a '?' following a '(' is not meaningful otherwise). T...
crifan 13年前 (2012-11-17) 4876浏览
在使用正则表达式,,去实现匹配,提取,查找所需的内容时,有时候,并不是所有的情况,都是可以通过单一的正则表达式实现的。
比如:
http://zhidao.baidu.com/question/498290393.html
中所希望的实现的,就是这类...
crifan 13年前 (2012-11-16) 2302浏览
不错的参考资料:
http://blog.chenapp.com/archives/392
在参考:
Build and deploy a Node.js web site to Windows Azure
期间使用到:
git ini...
crifan 13年前 (2012-11-16) 11519浏览
【问题】
代码是:
#http://stackoverflow.com/questions/5324647/how-to-merge-a-transparent-png-image-with-another-image-using-pil
impor...
crifan 13年前 (2012-11-16) 24320浏览
之前自己曾被搞晕过很多次。
后来使用这些函数次数多了之后,终于比较清楚的弄懂了两者之间的区别和关系了。
尤其是一些细节方面的注意事项了。
在看下面的总结和代码之前,请先确保你对如下基本概念已经有所了解了:
【教程】详解Python正则表...
crifan 13年前 (2012-11-16) 3973浏览
最近,在登陆Hostmonster中的Cpanel后,注意到了,自己的虚拟主机还有23天就过期了: 所以,接下来,不得不尽快续租,继续购买服务了。
下面就记录在hostmonster上面继续购买虚拟主机服务的过程。
由于是之前已购买,现在继续购买,...