之前有个html"
target=_blank>xp下利用控制面板的cpl文件留后门,然后又有了用.cpl文件加账号的技术,lcx真的很厉害今天研究了一下用户控制面板文件nusrmgr.cpl,发现调用的是Shell.Users来加用户,它还同时调用了wscript.shell、Shell.Appl...
---恢复内容开始---下面是C语言的获取本地时间和构造时间进行格式化时间显示输出的相关函数:This
page is part of release 3.35 of the Linux man-pages project.#include char
*asctime(const...
分类:
编程语言 时间:
2014-05-15 16:40:30
阅读次数:
300
SQL> conn scott/tiger@vm_databaseConnected
to Oracle Database 11g Enterprise Edition Release 11.1.0.6.0Connected as
scott。。。。。。SQL> drop table student...
分类:
数据库 时间:
2014-05-15 16:33:54
阅读次数:
332
Java编译器的三种编译方式,所带来的.class文件大小。...
分类:
编程语言 时间:
2014-05-15 06:04:56
阅读次数:
286
在一个有reurn 返回值的函数里 如果申请了一段内存的话(alloc 或者copy) 这个时候不能够release 只能够使用autorelease
在返回到那个被接受到的指针里,由它去进行释放!!
如果是self.obj(或者某些类对应的 SomeClass.obj)这种类型的,就需要把self.去掉(因为这样子的申请出来的内存引用计数会被retain+1了)
...
分类:
移动开发 时间:
2014-05-15 04:40:44
阅读次数:
369
LeetCode-001 Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target, where index1 must be less than index2...
分类:
其他好文 时间:
2014-05-15 04:34:50
阅读次数:
293
所需要的包:
junit需要是4.5以上
org.springframework.test-XXX.RELEASE.jar
package test;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
i...
分类:
编程语言 时间:
2014-05-15 04:21:45
阅读次数:
357
题意:给定一组数和另一个数,在这组数中找两个数,使它们的和等于给定的数
思路1: --> 错,因为题目要求返回下标。
1.排序
2.两个下标,一个指向头,一个指向尾
3.如果下标指向的两个元素相加大于给定的数,尾下标减一
如果小于,头下标加一
思路2: hash
1.用hash存储每个数的下标
2.数组,看hash[target-num[i]]是否存在
复杂度:时间O(n), 空间O(n)...
分类:
其他好文 时间:
2014-05-15 01:28:13
阅读次数:
297
实际上也是一个二分查找的问题。
要找出范围,决定了当找到这个数时不能马上返回,如果找target最前面的那个位置,只有当这个位置等于target,且这个位置的前一个位置不等于target时,才能返回这个位置。如果找的是target最后面的那个位置,那么只有当这个位置等于target,且这个位置的后一个位置不等于target时,才会返回它。不满足返回条件时,下一次递归走什么位置也不一样,找前面的时...
分类:
其他好文 时间:
2014-05-14 21:58:25
阅读次数:
350
BBS:bbs.51osos.com zzsi_ljz注册信箱是:pyfx2008@qq.comBLOG:zzljz.lofter.comcysky.blog.51cto.com 技术网站:www.51cto.com cyskywww.oschina.compyfx2008@qq.comhttps://git.oschina.net/ pyfx2008@qq.com我的个性:http://git.oschina/net/zz..
分类:
Web程序 时间:
2014-05-14 17:21:22
阅读次数:
283