码迷,mamicode.com
首页 >  
搜索关键字:python re    ( 147043个结果
Java快速判断是不是手机号
java中如何快速准确的判断一个字符串是否为手机号...
分类:移动开发   时间:2014-04-29 13:45:21    阅读次数:370
Python的包管理工具distribute,setuptools,easy_install与pip
刚开始学习Python时,看资料和别人介绍中提到过,安装Python的包有的用easy_install, setuptools, 有的使用pip,distribute。现在把这些相关的资料整理一下,能更清晰的了解Python的设计,关于这些可以参考http://guide.python-distribute.org/installation.html。...
分类:编程语言   时间:2014-04-29 13:42:22    阅读次数:358
在view扣除正方形
- (void)drawRect:(CGRect)rect { [super drawRect:rect]; CGContextRef ctx = UIGraphicsGetCurrentContext(); CGContextSetRGBFillColor(ctx, .3, .3, .3, .1); CGContextFillRect(ctx, self.boun...
分类:其他好文   时间:2014-04-29 13:33:22    阅读次数:284
做一个思维严谨的人
灵魂是否永恒,死亡是否对你有害,文章从一个不同的视角进行了一个论证...
分类:其他好文   时间:2014-04-29 13:32:21    阅读次数:237
[AHOI2006]文本编辑器editor (Splay tree)
我感觉伸展树越来越模版了,没想到这么轻易的就过了。。。 把光标位置标记为pos MOVE:pos++或者pos-- INSERT:把光标旋转至根部,然后把光标后一个字母旋转至根的右子树,然后把insert的内容插入到root的右子树的左子树 ROTATE:把光标旋转至根部,然后把光标后一个字母旋转至根的右子树,然后把rev[root10]取反 GET:得到光标位置的后...
分类:其他好文   时间:2014-04-29 13:31:22    阅读次数:498
用Meta 取消流量器缓存方便调试
...
分类:其他好文   时间:2014-04-29 13:27:19    阅读次数:203
Java提取字符串中的手机号
java通过正则表达式提取字符串中的手机号...
分类:移动开发   时间:2014-04-29 13:26:22    阅读次数:484
警察与小偷的实现之一客户端与服务端通信
来源于ISCC 2012 破解关第四题  目的是通过逆向police,实现一个thief,能够与police进行通信 实际上就是一个RSA加密通信的例子,我们通过自己编写客户端和服务端来实现上面的thief和police的功能.. 要通信,这们这次先通过python写出可以进行网络连接的客户端与服务端.. 服务端代码 #!/usr/bin/env python impo...
分类:其他好文   时间:2014-04-29 13:21:19    阅读次数:473
Timus 1601. AntiCAPS 修正大写句子
The blonde Angela has a new whim: internet chats. Of course, as any blonde, she writes her messages using the upper case. You are the moderator of Angela's favorite chat and you're fed up with her upp...
分类:其他好文   时间:2014-04-29 13:17:21    阅读次数:293
org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not
org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not...
分类:系统相关   时间:2014-04-29 13:15:20    阅读次数:411
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!