首页 > 其他
is_numeric
is_numeric(PHP 4, PHP 5)is_numeric — 检测变量是否为数字或数字字符串 描述bool is_numeric ( mixed $var )如果 var 是数字和数字字符串则返回 TRUE ,否则返回 FALSE 。
分类:其他   时间:2015-03-26 10:27:40    收藏:0  评论:0  赞:0  阅读:233
wifidog配置DD-WRT中使用 RADIUS 对无线网络认证
要使用RADIUS服务器对WLAN无线路由器进行认证,您必须:将WLAN无线路由器的IP地址添加到RADIUS服务器上。在WLAN无线路由器中启用并指定RADIUS服务器。将RADIUS用户名或组名添加到您的策略中。要在配置中启用并指定RADIUS服务器。选择“无线”>“无线安全”。将显示“无线安全...
分类:其他   时间:2015-03-26 10:27:30    收藏:0  评论:0  赞:0  阅读:266
编译原理 Assign1
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 using namespace std; 9 const int maxn=1007; 10 const int inf=...
分类:其他   时间:2015-03-26 10:27:10    收藏:0  评论:0  赞:0  阅读:283
Arcgis创建SDE_Geometry、SDO_Geometry的区别【转】
1. SDO_GEOMETRY Oracle Spatial在MDSYS模式下定义了一系列几何类型、函数来支持空间数据的存储和使用,最为人耳熟能详的就是SDO_GEOMETRY这种类型——当然,ArcSDE也可以使用这种类型进行存储。Oracle Spatial并没有像ArcGIS那样有一套从桌面到...
分类:其他   时间:2015-03-26 10:26:50    收藏:0  评论:0  赞:0  阅读:1240
[网络技术][转]PPTP协议解析
PPTP协议大体上可以分为两部分:控制层连接和隧道,下面简要介绍两部分的功能。如果要详细了解PPTP协议请阅读RFC文档。一、 Control Connection Protol控制层连接是基于TCP建立的,PPTP Server监听TCP1723端口,等待Client的连接请求。控制层的主要功能包...
分类:其他   时间:2015-03-26 10:26:40    收藏:0  评论:0  赞:0  阅读:348
gzip压缩
String data="aaaaaaaaaaaaaaaaaa";byte[] b = data.getBytes();ByteArrayOutputStream out = new ByteArrayOutputStream(); //带缓存的字节输出流GZIPOutputStream gout ...
分类:其他   时间:2015-03-26 10:26:20    收藏:0  评论:0  赞:0  阅读:216
Jndi and c3p0 in Tomcat
Tomcat 中Jndi是使用Tomcat自带的连接池抛弃Tomcat自带的连接池。使用c3p0 。环境:Tomcat 5.5.20下面配置只适合Tomcat 5.5.X下面来看Jndi 与 c3p0 结合:c3p0 下载地址:http://nchc.dl.sourceforge.net/sourc...
分类:其他   时间:2015-03-26 10:26:00    收藏:0  评论:0  赞:0  阅读:240
场景适用设计模式
1.工厂方法模式当一个类新建时,需要依赖很多其他类时,如:创建汽车类时,需要先组装轮子,椅子,方向盘等等。interfaceIFactory{publicICarcreateCar();}classFactoryimplementsIFactory{publicICarcreateCar(){Eng...
分类:其他   时间:2015-03-26 10:25:20    收藏:0  评论:0  赞:0  阅读:183
memset中的sizeof
记录memset中的sizeof的用法,1 unsigned char *buff = (unsigned char*) malloc(128 * sizeof(char));2 //错误的:memset(buff, 0, sizeof(buff));3 ...
分类:其他   时间:2015-03-26 10:24:40    收藏:0  评论:0  赞:0  阅读:266
弹性布局
在用户的显示器分辨率越来越大的今天,之前的1024*768固宽的网页布局设计方式有点越来越不合时宜,对大屏幕的用户而言,两侧空空的留白给人第一眼的印象是严重的屏幕浪费,作为网页设计师的你有责任采取自适应屏幕宽度的弹性网页布局方式,给这一批用户一个良好的用户界面。当然为了减少这种屏幕的浪费,采用弹性流...
分类:其他   时间:2015-03-26 10:24:30    收藏:0  评论:0  赞:0  阅读:302
c3p0的log4j配置
com.mchange.v2.log.log4j.Log4jMLog=info,console,c3p0fileslog4j.appender.c3p0files=org.apache.log4j.DailyRollingFileAppenderlog4j.appender.c3p0files.Fi...
分类:其他   时间:2015-03-26 10:24:20    收藏:0  评论:0  赞:0  阅读:566
strval
strval(PHP 4, PHP 5)strval — 获取变量的字符串值 描述string strval ( mixed $var )返回 var 的 string 值。 参见 string 文档获取更多关于字符串转换的信息。 var 可以是任何标量类型。不能将 strval() 用于数组或.....
分类:其他   时间:2015-03-26 10:23:40    收藏:0  评论:0  赞:0  阅读:192
SNMP消息传输机制
1、引言基于TCP/IP的网络管理包含3个组成部分:1)一个管理信息库MIB(Management Information Base)。管理信息库包含所有代理进程的所有可被查询和修改的参数。RFC 1213[McCloghrie and Rose 1991]定义了第二版的MIB,叫做MIB-II。2...
分类:其他   时间:2015-03-26 10:23:30    收藏:0  评论:0  赞:0  阅读:257
UI通过UISlider编写游戏第六感
#import "RootViewController.h"@interface RootViewController (){ UILabel *scoreLabel;}@end@implementation RootViewController- (void)viewDidLoad { [supe...
分类:其他   时间:2015-03-26 10:22:50    收藏:0  评论:0  赞:0  阅读:246
UVA - 315
B - Network Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu DescriptionA Telephone Line Company (TLC) is establishing a new telep...
分类:其他   时间:2015-03-26 10:22:40    收藏:0  评论:0  赞:0  阅读:348
【翻译】用Groovy来更新XML
I‘m newbie in Groovy and have to accomplish a task for some Jenkins configuration. Please, help me with xml parsing. Just in order to simplify the problem(originally it‘s a huge Jenkins config.xml ...
分类:其他   时间:2015-03-26 09:20:20    收藏:0  评论:0  赞:0  阅读:237
Unit21 What's the matter?
What‘sthematter?I‘mfeelingalitterundertheweather.What‘swrongwithyou?What‘sthematterwithyou?I‘mfeelingalitterundertheweather.Youdon‘tlookwell,What‘sthematterwithyou?I‘mnotfeelingwell.身体感觉不太好I‘mfeelingalitterundertheweather.身体不太舒服,不对劲I‘mfeeli..
分类:其他   时间:2015-03-26 09:19:20    收藏:0  评论:0  赞:0  阅读:278
uva 10534 Wavio Sequence (最长上升子序列)
uva 10534 Wavio Sequence Wavio is a sequence of integers. It has some interesting properties. ·  Wavio is of odd length i.e. L = 2*n + 1. ·  The first (n+1) integers of Wavio sequence makes...
分类:其他   时间:2015-03-26 09:18:50    收藏:0  评论:0  赞:0  阅读:217
【BZOJ2282】【Sdoi2011】消防 树的直径+双指针+单调队列 有一系列乱七八糟的证明
题解: 首先表示这个代码是线性的,是怎么构造数据也卡不住的! 而网上普遍流行的那个二分的是基于直径长度dd的O(dlog2d)O(dlog_2 d)算法,一旦直径长点,然后数据范围大点,它就挂啦!诶我什么心态啊。 算法: 首先答案路径一定在某直径上[证明1,见文末],然后我们求出这个直径序列(任一直径即可[证明2,见文末]), 处理出一些数组: fif_i表示i是路径左端点时直径上...
分类:其他   时间:2015-03-26 09:18:40    收藏:0  评论:0  赞:0  阅读:507
ZOJ - 3623 - Battle Ships (01背包变形)
Battle Ships Time Limit: 2 Seconds      Memory Limit: 65536 KB Battle Ships is a new game which is similar to Star Craft. In this game, the enemy builds a defense tower, which has L longevity....
分类:其他   时间:2015-03-26 09:18:20    收藏:0  评论:0  赞:0  阅读:243
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!