def is_chinese(uchar): """判断一个unicode是否是汉字""" if uchar >= u'\u4e00' and uchar= u'\u0030' and uchar= u'\u0041' and uchar= u'\u0061' and u...
分类:
编程语言 时间:
2014-08-22 23:45:19
阅读次数:
330
1 import urllib.request,json 2 3 4 5 country=['id','th','vn','in','br','me','ru','na','hk'] 6 url_lst=[ 7 '.server.voga360.com/nclient/sjson/playp...
分类:
Web程序 时间:
2014-08-22 19:42:49
阅读次数:
248
腾讯QQ官网(http://www.qq.com)样式初始化
body,ol,ul,h1,h2,h3,h4,h5,h6,p,th,td,dl,dd,form,fieldset,legend,input,textarea,select{margin:0;padding:0}
body{font:12px"宋体","Arial Narrow",HELVETICA;background:#fff...
分类:
Web程序 时间:
2014-08-22 17:58:19
阅读次数:
291
A simple simulation problem.
Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 330 Accepted Submission(s): 132
Problem Description
Th...
分类:
其他好文 时间:
2014-08-22 16:17:29
阅读次数:
235
/********************************************************************@file Main_practise.cpp@date 2014-8-22@author Tiger@brief What is th...
分类:
其他好文 时间:
2014-08-22 09:15:15
阅读次数:
222
记下来,很重要。 Java语言的关键字,当它用来修饰一个方法或者一个代码块的时候,能够保证在同一时刻最多只有一个线程执行该段代码。 ???? 一、当两个并发线程访问同一个对象object中的这个synchronized(th...
分类:
编程语言 时间:
2014-08-21 21:20:35
阅读次数:
211
一、程序名国际化1、首先添加应用对多语言支持的国际化文件点击工程根目录,然后选择PROJECT下的项目,然后选择Info选项卡,在底部可以看到Localizations,点击“+”号,可以添加国际化文件,例如添加一个简体中文Chinese(Simplified),弹出对话框后点击确定,此时在Supp...
分类:
其他好文 时间:
2014-08-21 19:12:44
阅读次数:
192
1、首先安装与下载图形界面GNOMEyum groupinstall "Desktop"yum groupinstall "X Window System"yum groupinstall "Chinese Support" (可选项)假如提示有以下错误产生:Loaded plugins: fast...
分类:
其他好文 时间:
2014-08-21 19:08:34
阅读次数:
184
Reverse IntegerReverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321click to show spoilers.Have you thought about th...
分类:
其他好文 时间:
2014-08-21 19:07:04
阅读次数:
142
body,button,dd,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,input,legend,li,ol,p,select,table,td,textarea,th,ul { margin: 0; padding: 0}body { min-w...
分类:
移动开发 时间:
2014-08-21 14:51:24
阅读次数:
666