码迷,mamicode.com
首页 >  
搜索关键字:remember    ( 442个结果
python爬虫:两种方法模拟登录博客园
第一方法用第三方库(requests):参考http://www.mamicode.com/info-detail-1839685.html 源代码分析 博客园的登录页面非常简单,查看网页源代码,可以发现两个输入框的id分别为input1、input2,复选框的id为remember_me,登录按钮 ...
分类:编程语言   时间:2017-06-12 00:50:27    阅读次数:1927
[leetcode-604-Design Compressed String Iterator]
Design and implement a data structure for a compressed string iterator. It should support the following operations: next and hasNext. The given compre ...
分类:其他好文   时间:2017-06-11 13:01:56    阅读次数:171
473. Matchsticks to Square
Remember the story of Little Match Girl? By now, you know exactly what matchsticks the little match girl has, please find out a way you can make one s ...
分类:其他好文   时间:2017-06-06 20:46:08    阅读次数:264
在Python中用Request库模拟登录(二):博客园(简单加密,无验证码)
源代码分析 博客园的登录页面非常简单,查看网页源代码,可以发现两个输入框的id分别为input1、input2,复选框的id为remember_me,登录按钮的id为signin。 还有一段JavaScript代码,下面来简单分析一下。 先来看$(function(){});函数: $(functi ...
分类:编程语言   时间:2017-06-05 00:27:47    阅读次数:977
March 26 2017 Week 13 Sunday
Deliver not your words by number but by weight. 言不在多,而在有物。 Do more than talk, say something. I still remember when I was a child in the primary school ...
分类:其他好文   时间:2017-06-01 10:32:05    阅读次数:193
Balanced Binary Tree
Note:a balaced tree needs to be balaced all the time. So it is important remember the status of each subtree. If it is not balaced in the middle, the ...
分类:其他好文   时间:2017-05-31 10:14:05    阅读次数:151
(trie)UVALive - 3942 Remember the Word
题目链接 设d[i]表示从下标i的字符开始的字符串的分解方法数,显然有倒序的递推公式。 需要求每个位置开始是否能组成模式串的前缀,才可以建立正确的递推。 ...
分类:其他好文   时间:2017-05-24 11:20:07    阅读次数:154
python中的JSON(1)
很多程序都要求用户输入某种信息, 例如: 让用户存储游戏首选项或提供要可视化的数据,程序把用户的信息存储在列表和字典等数据结构中, 用户关闭程序时,我们几乎总要保存他们提供的信息; 如何保存—— 一种简单的方式是使用模块json来存储数据。 JSON(JavaScript Object Notati ...
分类:编程语言   时间:2017-05-15 09:53:11    阅读次数:232
springsecurity的remember me
基于持久化的token的方法 实现原理:将生成的 token 存入 cookie 中并发送到客户端浏览器,待到下次用户访问系统时,系统将直接从客户端 cookie 中读取 token 进行认证。 实现过程: 2:使用持久化的token,必须在专门建立一张数据表: 通过 remember-me 元素来 ...
分类:编程语言   时间:2017-05-12 17:29:23    阅读次数:193
IOS Intro - Property Synthesis
http://www.thecodecrate.com/ios/objective-c/objective-c-property-synthesize/ 01. atomic // default02. nonatomic03. strong=retain // default04. weak= u ...
分类:移动开发   时间:2017-05-11 11:34:11    阅读次数:311
442条   上一页 1 ... 20 21 22 23 24 ... 45 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!