java的内存泄露 java的内存泄露 来源:http://www.sxt.cn/Java_jQuery_in_action/The_operation_of_memory_leakage_in_development.html 在实际开发中,经常会造成系统的崩溃。如下这些操作我们应该注意这些使用场... ...
分类:
编程语言 时间:
2019-02-22 14:08:45
阅读次数:
190
修改文件夹权限 sudo chown -R $(whoami) /usr/local/ 如果失败提示Operation not permitted 或其他权限不足,则需要关闭Rootless Rootless 苹果从 OS X El Capitan 10.11 系统开始使用了 Rootless 机制 ...
分类:
系统相关 时间:
2019-02-22 01:05:58
阅读次数:
246
https://leetcode.com/tag/design/ ...
分类:
其他好文 时间:
2019-02-21 23:22:00
阅读次数:
272
Given any permutation of the numbers {0, 1, 2,..., N?1}, it is easy to sort them in increasing order. But what if Swap(0, *) is the ONLY operation tha ...
分类:
编程语言 时间:
2019-02-20 21:40:21
阅读次数:
428
单表查询 (1)where 约束 (2)group by 分组查询 (3)聚合函数 (4)HAVING过滤 正确: (5)order by 查询排序 (5)limit 限制查询的记录数: 多表查询 多表连接查询 (1)交叉连接:不适用任何匹配条件。生成笛卡尔积 (2)内连接:只连接匹配的行 (3)外 ...
分类:
数据库 时间:
2019-02-19 00:45:13
阅读次数:
252
注入点识别 + - * / % 《 》 || 也可以用and替换为or && || 可以不使用and , or;直接用异或截断:1^1^0;1^0^0 可以用{``operation}来识别注入点:select * from users where id=1 and {``1=1} 绕过 1、大小写 ...
分类:
数据库 时间:
2019-02-18 10:16:32
阅读次数:
207
以RAM模拟一个分区为例 框架入口源文件:armblock.c (可根据入口源文件,再按着框架到内核走一遍) 内核版本:linux_2.6.22.6 硬件平台:JZ2440 以下是驱动代码 armblock.c : 以下是编译驱动的Makefile: ...
分类:
其他好文 时间:
2019-02-17 21:58:38
阅读次数:
181
Binary Search Tree 基本操作 插入,删除, 查找,遍历 ...
分类:
其他好文 时间:
2019-02-17 13:02:14
阅读次数:
132
1.for loop example 1: sum of 1+2+...+10 ********** >>> sum=0 >>> for x in [1,2,3,4,5,6,7,8,9,10]: sum=sum+x >>> print(sum) ********** example 2: sum o ...
分类:
编程语言 时间:
2019-02-17 11:09:38
阅读次数:
167
一、参数说明 $handle: 文件资源 $operation: 锁的类型 LOCK_SH: 共享锁 LOCK_EX: 排他锁 LOCK_UN: 释放锁 $wouldblock: 设置为true的时候,锁定文件时,会阻止其他进程 二、具体实现代码 ...
分类:
Web程序 时间:
2019-02-16 15:31:44
阅读次数:
207