1.unix时间戳的使用unix_timesamp、from_unixtime 函数 和datatime_format函数。// 从datetime 类型取做整形 unixtime时间戳;select unix_timestamp( datetime ) from examplestables;//...
分类:
数据库 时间:
2015-09-19 09:38:13
阅读次数:
355
0x00 前言 androguard是一款非常棒的开源Android APK静态分析工具;使用Python开发;androguard只能在Linux环境运行,因为它使用的几个python库仅支持Linux平台。并且由于复杂的库依赖,在Linux环境的安装也较困难...
分类:
其他好文 时间:
2015-09-19 08:34:00
阅读次数:
3308
1. 概述Python 可以非常方便地和 C 进行相互的调用。一般,我们不会使用 C 去直接编写一个 Python 的模块。通常的情景是,我们需要把 C 的相关模块包装一下,然后在 Python 中可以直接调用它。或者是,把 Python 逻辑中的某一效率要求很高的部分使用 C 来实现。整个过程大概...
分类:
编程语言 时间:
2015-09-19 07:28:15
阅读次数:
318
Bulk collect当没有数据抛出异常跟implicit cursor 处理不一样。先看一下implicit cursor的处理吧:cl scr;DECLARE l_descr hardware.descr%type;BEGIN SELECT descr INTO l_descr FROM .....
分类:
其他好文 时间:
2015-09-19 06:07:49
阅读次数:
178
Just want to learn the postgres database in details from now on, try to write this blog to push myself working on it. This is the first lesson of my series for postgres, Subject is very simple, pre...
分类:
其他好文 时间:
2015-09-19 01:06:25
阅读次数:
251
上一篇讲到了调用集锦,这篇关注一下性能问题吧。DECLARE CURSOR c_tool_list IS SELECT descr d1 FROM hardware; l_descr hardware.descr%type;BEGIN OPEN c_tool_list; LOOP ...
分类:
其他好文 时间:
2015-09-19 01:02:31
阅读次数:
340
作者:XIAOBO QQ:463431476转载请注明作者Python 源代码import RPi.GPIO as GPIO#human-computer-interactionimport cursesimport timefrom curses import wrapperGPIO.setmod...
分类:
Web程序 时间:
2015-09-19 00:49:22
阅读次数:
316
1 # -*- coding: cp936 -*- 2 #xiaodeng 3 #python 27 4 5 #什么叫迭代 6 #如果给定一个list/tuple,可以通过for循环遍历出来,这种遍历我们称之为迭代 7 8 #案例3:可迭代对象 9 s=[i for i in [1,2,3]]...
分类:
编程语言 时间:
2015-09-19 00:48:43
阅读次数:
174
CREATE TABLE test( id int primary key not null identity, names varchar(20));declare @i int;set @i=1;while(@i( select max(id) from ( select top 40 ...
分类:
数据库 时间:
2015-09-19 00:46:03
阅读次数:
278
题目来源:https://leetcode.com/problems/3sum/题意分析: 这道题目是输入一个数组nums。找出所有的3个数使得这3个数之和为0.要求1.输出的3个数按小到大排序,2.3个数的组合不重复。比如输入[-1,0,1,2,-1,-4],返回的应该是[[-1,0,1],[-....
分类:
编程语言 时间:
2015-09-18 23:25:40
阅读次数:
229