码迷,mamicode.com
首页 >  
搜索关键字:think    ( 1909个结果
ThinkPHP分页类
第一种:利用Page类和limit方法$User = M('User'); // 实例化User对象$count = $User->where('status=1')->count(); // 查询满足要求的总记录数$Page = new \Think\Page(...
分类:Web程序   时间:2015-07-21 12:19:14    阅读次数:159
ThinkPHP文件上传类
public function upload(){ $upload = new \Think\Upload(); // 实例化上传类 $upload->maxSize = 3145728 ; // 设置附件上传大小 $upload->exts = array(...
分类:Web程序   时间:2015-07-21 12:16:22    阅读次数:120
Alex and Number
Alex and Number时间限制:1 Sec内存限制:128 MB提交:69解决:12[提交][状态]题目描述Alex love Number theory. Today he think a easy problem, Give you number N and L, To calculat...
分类:其他好文   时间:2015-07-21 09:04:50    阅读次数:192
信号的响应过程
come on !复习一下什么是信号的不可靠?think for a while ???信号的执行现场是内核帮我们布置的,so 如果一个信号正在执行一个行为,此时不好意思有来了一个这个信号,那么,第一次的行为将会被第二次的行为覆盖。解决信号的不可靠----> 可重入函数:第一次调用未结束,第二次调用...
分类:其他好文   时间:2015-07-20 01:08:33    阅读次数:184
20150719 Navy blue is my color. You will describe the way people look
fantastic:We had a fantastic trip to Korea.You look fantastic in that blouse. This building is famous for its attractive designsattractive:I think she...
分类:其他好文   时间:2015-07-19 13:20:29    阅读次数:90
(简单) POJ 2406 Power Strings,扩展KMP。
DescriptionGiven two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think...
分类:其他好文   时间:2015-07-18 12:30:39    阅读次数:88
TED – 5 ways to kill your dreams
Bel Pesce: 5个毁灭梦想的办法 I dedicated the past two years to understanding how people achieve their dreams. When we think about the dreams we have, and the ...
分类:其他好文   时间:2015-07-18 08:22:46    阅读次数:294
Java IO中的设计模式--装饰器和适配器模式
参考:http://my.oschina.net/gao0516/blog/136103装饰器模式:是在不必改变原类文件和使用继承的情况下,动态的扩展一个对象的功能适配器模式:将一个类的接口转换成客户希望的另外一个接口直接上代码分析:package com.think.cla; import jav...
分类:编程语言   时间:2015-07-16 21:46:34    阅读次数:423
ch1 About thinking skills
When confronted with a problem , we think about it. The issue, of course, is that our efforts may be fruitful or they may not, depending on the effect...
分类:其他好文   时间:2015-07-15 20:51:00    阅读次数:109
tp增删列表
namespace Home\Controller;use Think\Controller;class IndexController extends Controller { public function index(){ $this->display(); } ...
分类:其他好文   时间:2015-07-15 19:09:40    阅读次数:106
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!