单词:
annotation 注释
[æn?'te??(?)n]
component 组件
正式开始讲解 用(1)代替 与 用(2)代替:
(1)用来激活已经在spring容器里注册过的bean上面的注释(即在application.xml中配置的 标签中的类)。
例如:...
分类:
其他好文 时间:
2014-10-23 14:27:08
阅读次数:
247
//判断是否为整形:- (BOOL)isPureInt:(NSString*)string{ NSScanner* scan = [NSScanner scannerWithString:string]; int val; return[scan scanInt:&val] && ...
分类:
其他好文 时间:
2014-10-21 17:27:16
阅读次数:
166
HBase ShellHBase shell使用起来最方便,进入HBase shell控制台就可以使用。$ $HBASE_HOME/bin/hbase shell常见操作有create(创建表)/put(插入或更新数据)/get(依据rowkey查询)/scan(范围查询)/delete(删除列)/...
分类:
编程语言 时间:
2014-10-18 20:52:22
阅读次数:
241
#echo"---">/sys/class/scsi_host/host0/scan//这个scan属性支持以"-"作为通配符,如以下命令可以执行让整个scsi_host进行重新搜索,这个功能用于调试某些对热挺拔实现不完善的SCSI驱动程序很有用:www.2cto.com#cat/proc/scsi/scsiHost:scsi2Channel:00Id:00Lun:00Vendor:V..
分类:
系统相关 时间:
2014-10-15 20:36:21
阅读次数:
234
#! /usr/bin/env python#coding=utf-8from fabric.api import *from fabric.state import *env.roledefs = {'scan_proc_server': ['172.16.1.15','172.16.1.12',...
分类:
其他好文 时间:
2014-10-14 22:58:59
阅读次数:
361
The term Column Projection refers to Exadata’s ability to limit the volume of data transferred between the storage tier and the database tier by only returning columns of interest (that is, those in t...
分类:
数据库 时间:
2014-10-13 11:26:29
阅读次数:
340
(1)按键去抖/******************************************函数名称:Key_Scan(GPIO_TypeDef*GPIOx,u16 GPIO_pin)*描 述:检验是否有键按下*输 入:GPIOx代表端口 GPIO_Pin 代表引脚*输 出:KEY_O...
分类:
其他好文 时间:
2014-10-08 17:54:55
阅读次数:
324
端口扫描器原理很简单,无非就是操作socket,能connect就认定这个端口开放着。
import socket
def scan(port):
s = socket.socket()
if s.connect_ex(('localhost', port)) == 0:
print port, 'open'
s.close()
if __name__ =...
分类:
其他好文 时间:
2014-10-06 17:17:30
阅读次数:
234
题目链接http://acm.hdu.edu.cn/showproblem.php?pid=1022模拟栈:代码#includeint main(void){ int n,i,j,k,t,r[23],stack[13]; char si[13],so[13]; while(scan...
分类:
其他好文 时间:
2014-10-06 00:35:09
阅读次数:
223
./configure --prefix=/usr/local/php/ --with-config-file-path=/etc/php5/cli/ --with-config-file-scan-dir=/etc/php5/mods-available/ --with-apxs2=/usr/lo...
分类:
Web程序 时间:
2014-10-05 18:43:38
阅读次数:
202