码迷,mamicode.com
首页 >  
搜索关键字:pass    ( 8592个结果
[leetcode] Reverse Linked List II
Reverse Linked List IIReverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 2 andn= 4,return...
分类:其他好文   时间:2015-01-14 10:59:29    阅读次数:224
unity3d: how to display the obj behind the wall
透墙显示,遮挡显示,使用ztestTags { "Queue"="Overlay+1" "RenderType"="Transparent"} Pass { // 透视效果,关闭cull Cull Off // 不记录深度值 ...
分类:编程语言   时间:2015-01-14 09:37:24    阅读次数:197
LeetCode--Reverse Linked List II
Reverse a linked list from position m to n. Do it in-place and in one-pass. For example: Given 1->2->3->4->5->NULL, m = 2 and n = 4, return 1->4->3->2->5->NULL. Note: Given m, n satisfy the...
分类:其他好文   时间:2015-01-13 19:52:19    阅读次数:124
Python HTTP Basic 认证 + 下载文件到本地
简单代码示例 import urllib2 from base64 import encodestring url = 'http://www.xxx.com/xxxx.csv' user = 'aaa' passwd = 'bbbbb' req = urllib2.Request(url) basestr = encodestring('%s:%s' % (user,pass...
分类:编程语言   时间:2015-01-13 16:08:49    阅读次数:616
Python标准库:内置函数issubclass(class, classinfo)
本函数用来判断类参数class是否是类型参数classinfo的子类。例子:#issubclass() class Line: pass class RedLine(Line): pass class Rect: pass print(issubclass(RedLine, Line)) print(issubclass(Rect, Line))结果输出...
分类:编程语言   时间:2015-01-11 19:13:18    阅读次数:181
测试自动登录58
1 public void Login58(string name, string pass) 2 { 3 HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://passpo...
分类:其他好文   时间:2015-01-11 10:52:56    阅读次数:207
Python标准库:内置函数isinstance(object, classinfo)
本函数用来判断对象实例object是否是类classinfo的实例,如果是就返回True,否则返回False。参数classinfo可以是类型,也可以是tuple/dict/list等类型。例子:#isinstance() class FooA: pass class FooB(FooA): pass class FooC: pass a = FooA() b...
分类:编程语言   时间:2015-01-10 12:42:55    阅读次数:168
leetcode 【 Reverse Linked List II 】 python 实现
题目:Reverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 2 andn= 4,return1->4->3->2->5->NULL...
分类:编程语言   时间:2015-01-09 00:09:55    阅读次数:301
nginx proxy_pass
在nginx中配置proxy_pass时,如果是按照^~匹配路径时,要注意proxy_pass后的url最后的/,当加上了/,相当于是绝对根路径,则nginx不会把location中匹配的路径部分代理走;如果没有/,则会把匹配的路径部分也给代理走。location ^~ /static_js/{pr...
分类:其他好文   时间:2015-01-06 19:58:44    阅读次数:198
CI分页,搜索之后翻页不能用问题
最近在学习用php的CI框架写一个自己的CMS,遇到了些问题。其中一个就是CI分页的时候,我的URL带有其他参数,才能查出我想要的数据。于是我翻遍了谷歌度娘,终于找到了解决办法,和我想的差不多,就贴出了和大家分享下。首先,设置你的base_url,$block,create_id,has_pass,...
分类:其他好文   时间:2015-01-06 15:18:44    阅读次数:114
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!