入门客AI创业平台(我带你入门,你带我飞行)
博客笔记
03
2016-05
全局钩子详解 2016-05-03
监控程序的实现       我们发现一些木马或其他病毒程序常常会将我们的键盘或鼠标的操作消息记录下来然后再将它发到他们指定的地方以实现
17
2017-02
鼠标全局钩子 2017-02-17
转自:http://www.tuicool.com/articles/BfAZna 有问题:在dllmain.h文件中加上extern HINSTANCE glhInstance;不然它总是找不到glhInstance Windows系统是建立在事件驱动
28
2017-03
Four Sum || LeetCode-18 2017-03-28
Four Sum || LeetCode-18 Problem link:https://leetcode.com/problems/4sum/#/description Given an array S of n integers, are there elements a, b, c, and d in S such that a + b +
30
2014-10
【LeetCode】3Sum Closest 解题报告 2014-10-30
【题目】 Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that eac
07
2017-05
15 three sum 用到Arrays.sort 和 Arrays.asList()的方法 2017-05-07
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: The solution
31
2015-05
LeetCode之ThreeSum 2015-05-31
题目: Given an array S of n integers, are there elements a,b,c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: • Elements in a triple

			
				采用shiro实现登录认证与权限授权管理
采用shiro实现登录认证与权限授权管理 2016-06-24
Shiro 是Shiro 是一个 Apache 下的一开源项目项目,旨在简化身份验证和授权。 本文中记录的是一次使用shiro实现登录认证与权限授权的过程。 本文中
17
2014-02
我的shiro之旅: 十 自定义shiro的SessionIdCookie 2014-02-17
在使用shiro的时候,曾经有段时间很苦恼,因为我cookie的sessionId经常无故被改,然后抛There is no session with id [xxxx]的异常。我们知道,当请求过来,shi
04
2014-03
我的shiro之旅: 十四 shiro 自动登录 2014-03-04
shiro有几种状态,其中包括guest,user,authenticated。guest就是游客,authenticated就是认证后的用户,而user是介于两者之前。user并不代表用户已经成功认证
28
2016-12
实现同一个用户只能有一个登录 2016-12-28
1.在登录系统时,得到userName(数据库唯一),声明个Map key为userName value 为sessionId 并放入缓存中。 2.写一个filter 类 每次请求 用userName 从缓存 的Map里