SQLSTORE的反序列化(解密) 1 找到指定编号sql "//SQLString[@ID='"+strSqlId.Trim()+"']"2 根据参数个数创建参数数组3 遍历参数列 1 获取sql语句或存储过程名称 2 获取参数编号和根据数据库类型创建对应参数对象 3 赋值参数名称 4 遍历参数属 ...
分类:
数据库 时间:
2017-11-09 15:10:30
阅读次数:
330
select * from tb where id > 1 # 对应关系 models.tb.objects.filter(1id__gt=) models.tb.objects.filter(id=1) models.tb.objects.filter(id__lt=1) 创建类 a.先写类 fr ...
分类:
其他好文 时间:
2017-11-08 22:19:02
阅读次数:
172
Date: Nov. 8, 2017. Problem: https://leetcode.com/problems/maximal-rectangle/description/ Description: Given a 2D binary matrix filled with 0's and 1' ...
分类:
其他好文 时间:
2017-11-08 22:15:03
阅读次数:
159
open行--要备份到的主机IP user行--ls为要备份到的主机的用户名,toor为前边用户对应的密码 binary行--使用二进制模式进行传输 hash--每传1k的大小输出一个#号,可不用 cd行--备份文件要上传到的目录 lcd行--备份文件在本地的目录 prompt行--使后边mput上 ...
分类:
Web程序 时间:
2017-11-08 20:13:00
阅读次数:
494
LIFT: Learned Invariant Feature Transform(1) 我的阅读翻译与理解 2016 ECCV 收录 Kwang Moo Yi?, Eduard Trulls?, Vincent Lepetit, Pascal Fua 1.介绍 在CV领域局部特征发挥重要作用,从图 ...
分类:
其他好文 时间:
2017-11-08 14:50:26
阅读次数:
1114
Given a positive integer, check whether it has alternating bits: namely, if two adjacent bits will always have different values. Example 1: Example 2: ...
分类:
其他好文 时间:
2017-11-08 11:57:43
阅读次数:
101
解决方法: 1、Project-> Targets-> Build Phases-> Link Binary with Libraries 中把后面的Required改成Optional 2、New Copy Files-> Copy Files-> Frameworks-> add Framewo ...
分类:
其他好文 时间:
2017-11-08 11:45:52
阅读次数:
195
grep:一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来 [root@www ~]# grep [-acinv] [--color=auto] '搜寻字符串' filename选项与参数:-a :将 binary 文件以 text 文件的方式搜寻数据-c :计算找到 '搜寻 ...
分类:
系统相关 时间:
2017-11-07 17:57:24
阅读次数:
239
一。文件的使用方式 r 只读 rb只读 r+ rb+(不带b的为已存在的文本文件,带b的为二进制文件(binary),带+号的为读写文件) w 只写 wb只写 a 追加 ab追加 二。说明 1.C语言将计算机的输入输出设备都看作是文件。例如,键盘文件、屏幕文件等。ANSI C标准规定,在执行程序时系 ...
分类:
编程语言 时间:
2017-11-07 01:33:37
阅读次数:
223
Print a binary tree in an m*n 2D string array following these rules:The row number m should be equal to the height of the given binary tree.The column... ...
分类:
其他好文 时间:
2017-11-07 01:29:09
阅读次数:
188