码迷,mamicode.com
首页 >  
搜索关键字:art    ( 45817个结果
Python字符串的encode与decode
此文转载,原文地址:http://www.jb51.net/article/17560.htm为什么Python使用过程中会出现各式各样的乱码问题,明明是中文字符却显示成“\xe4\xb8\xad\xe6\x96\x87”的形式?为什么会报错“UnicodeEncodeError: 'ascii' ...
分类:编程语言   时间:2014-07-06 22:39:50    阅读次数:292
mysql_SQL_按照日统计微博数
主要备忘:DATE_FORMAT 函数1:微博对比图(按日统计)SELECT DATE_FORMAT(tw.article_publish_time, '%Y-%m-%d'),count(page_id) FROM `tab_weibo` tw where tw.page_id =100206507...
分类:数据库   时间:2014-07-06 22:37:48    阅读次数:291
sand making machine
sand making machine appeared , sand making machine appears to solve the problem of environmental protection and the needs of gravel , sand making mach...
分类:其他好文   时间:2014-07-06 22:30:46    阅读次数:260
sand making machines
sand making machine appeared , sand making machine appears to solve the problem of environmental protection and the needs of gravel , sand making mach...
分类:其他好文   时间:2014-07-06 22:25:39    阅读次数:185
关于 ioctl 的 FIONREAD 參数
ioctl 是用来设置硬件控制寄存器,或者读取硬件状态寄存器的数值之类的。而read,write 是把数据丢入缓冲区,硬件的驱动从缓冲区读取数据一个个发送或者把接收的数据送入缓冲区。ioctl(keyFd, FIONREAD, &b)得到缓冲区里有多少字节要被读取,然后将字节数放入b里面。接下来就能...
分类:其他好文   时间:2014-07-06 22:22:58    阅读次数:212
jquery的常用操作(操作html页面的Dom对象的元素)
一:页面加载完成时,会执行jquery的方法(不需要等待图片加载完成,只要dom结构加载完成,就执行该方法)//第一种写法:$(document).ready(function() { // 执行体});//第二种写法$(function() { //执行体}); View Code二:用...
分类:Web程序   时间:2014-07-06 22:03:47    阅读次数:444
jetty8 中的异常 There is an error in invoking javac. A full JDK (not just JRE) is required...
在jetty文件夹下的start.ini文件里有这么一行"-Dorg.apache.jasper.compiler.disablejsr199=true"注释,把这个注释去掉,再启动就不会出现错误了。(把这一行最前面的“#”删除即可) 这个错误用eclipse启动jetty时不会出现,而用命令行启....
分类:编程语言   时间:2014-07-06 21:33:46    阅读次数:211
postgres时间转换函数
函数返回类型描述例子to_char(timestamp, text)text把时间戳转换成字串to_char(current_timestamp, 'HH12:MI:SS')to_char(interval, text)text把时间间隔转为字串to_char(interval '15h2m12s'...
分类:其他好文   时间:2014-07-06 21:31:07    阅读次数:340
weblogic、hibernate 包冲突
解决办法:在weblogic 配置 【paths】项中 添加antlr-2.7.7.jar,该jar包应该位于引用weblogic.jar之前,使启动时不再加载weblogic中的低版本的antlr 此外:直接在weblogic部署发布时 1、将antlr-2.7.6.jar复制到weblogic目...
分类:Web程序   时间:2014-07-06 21:28:36    阅读次数:296
Android开发之Intent跳转到系统应用中的拨号界面、联系人界面、短信界面
现在开发中的功能需要直接跳转到拨号、联系人、短信界面等等,查找了很多资料,自己整理了一下。1、跳转到拨号界面,代码如下:1)直接拨打Intent intentPhone =newIntent(Intent.ACTION_CALL, Uri.parse("tel:"+ phoneNumber));st...
分类:移动开发   时间:2014-07-05 20:33:22    阅读次数:274
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!