学习笔记
文章平均质量分 82
iteye_20185
这个作者很懒,什么都没留下…
展开
-
TopCoder每周一练01
Problem Statement Let's say you have a binary string such as the following:011100011One way to encrypt this string is to add to each digit the sum of its adjacent digits. For example, the above str...原创 2010-09-12 22:53:09 · 129 阅读 · 0 评论 -
about limit - limit笔记
hibernate分页查询就是用的limit[code="sql"]select * from table LIMIT 5,10; #返回第6-15行数据select * from table LIMIT 5; #返回前5行select * from table LIMIT 0,5; #返回前5行[/code]引自http://www.phpweblog.net/peiyi...原创 2010-02-16 16:42:39 · 122 阅读 · 0 评论 -
文件上传 - 无组件上传
package com.chao.action;import java.io.File;import java.io.IOException;import java.io.PrintWriter;import java.text.SimpleDateFormat;import java.util.Calendar;import java.util.Itera...2010-04-11 18:59:32 · 271 阅读 · 0 评论 -
JS正则(贪婪模式)
js学习笔记 用到的几个链接 http://apps.hi.baidu.com/share/detail/9221711 可以当API用,说的很详细。 当该字符紧跟在任何一个其他限制符 (*, +, ?, {n}, {n,}, {n,m}) 后面时,匹配模式是非贪婪的。非贪婪模式尽可能少的匹配所搜索的字符串,而默认的贪婪模式则尽可能多的匹配所搜索...原创 2010-07-05 13:26:35 · 876 阅读 · 0 评论 -
android重要包描述
android.app 提供高层的程序模型、提供基本的运行环境 android.content 包含各种对设备上的数据进行访问和发布的类 android.database 通过内容提供者浏览和操作数据库 android.graphics 底层的图形库,包含画布,颜色过滤,点,矩形.可以将他们绘制到荧幕上 android.location 定位和相关服务的类 ...原创 2010-07-14 21:42:18 · 91 阅读 · 0 评论 -
mysql procedure
用MySQL命令行首先要delimiter //用mysql客户端delimiter命令来把语句定界符从 ;变为//。这就允许用在程序体中的;定界符被传递到服务器而不是被mysql自己来解释。 create procedure procedure_t_a_1(out size int)begin select count(*) into...原创 2010-07-15 21:13:23 · 148 阅读 · 0 评论 -
SQL备份
CREATE TABLE test.user ( id INT NOT NULL AUTO_INCREMENT, name VARCHAR(255) NOT NULL, password VARCHAR(255) NOT NULL, age INT, doubleValue DOUBLE,...原创 2010-08-10 18:50:15 · 89 阅读 · 0 评论