- 第十三章之五 一九七四《2327》批件
山河学苑
作者吕东平一九七四年七月十日,肇顺、其林二人随同我,一行三人在肇东的对青山火车站下车。为什么没直接到省城而在这下车呢?因为我们只有几十元钱,出门费用不够用。其林有个姑姑在江边的那个大队住,过得还不错,我们想到那去借点钱。坐车可以不花钱,睡觉可以睡车站,但总得吃饭啊!出门在外,吃饭就得花钱。在对青山车站早晨下的车,记得好像是往西走。其林的姑姑家就住在江边,到底有多远的路程已经记不清了。我们从早晨就没
- 大盘分析及可转债投资实盘记录,第172个交易日
小智爱投资
可转债实盘记录,不构成投资建议6月17日,上证指数涨0.96%、深成指涨1.48%、创业板指2.77%,沪深两市共有2327只股票上涨,2225只下跌,涨跌幅中位数0.07%,成交额10933.3亿。北向资金全天净买入91.68亿,两融余额15600.5亿,较前日上升0.42%。权重股(价值股)刚刚修整一天就迫不及待的再度发力,这一轮上涨连我这个死多头都觉得不可思议,所有的赞美之词在之前的收盘总结
- ORA-29400 ORA-06512 KUP-04095 告警
bestsun999
LinuxOracle_19coracle数据库linux
帮忙检查一套19c环境,发现alert_orcl.log报错如下Unabletoobtaincurrentpatchinformationduetoerror:20001,ORA-20001:LatestxmlinventoryisnotloadedintotableORA-06512:at"SYS.DBMS_QOPATCH",line2327ORA-06512:at"SYS.DBMS_QOPAT
- 智慧搜商,免费过上价值百万的高效生活
小裙子读书
↓没错,以下这句话是迷你裙自己说的↓迷你裙文创致力于低频次原创图文这是我的第71篇原创图文,首发于微信公号:迷你裙希望你会喜欢全文:2327字预计阅读时间:6分钟·正·文·来·啦·“好烦啊,破事一堆又一堆,总也干不完,又得加班了。”“天啦又被忽悠了,这破玩意儿根本不值这个钱。”“这电视剧不是X平台会员才能看吗?我昨天刚充了钱,你怎么就免费了?”“大夏天的我做了一个多小时车去面试,NND那公司跟招聘
- 手撕RTSP协议系列(3)——sdp格式详解
视界音你而不同
手撕rtsp协议系列rtspsdp流媒体音视频协议
上一篇我们介绍了RTSP数据包的格式,在整个rtsp的交互过程,sdp也是很重要不可获取的一环,本篇我们来详细介绍一下sdp的格式!一简介sdp,英文全称SessionDescriptionProtocol,会话描述协议,对应RFC2327。我们在此介绍,是因为RTSP协议中使用sdp进行媒体信息的描述,不过,sdp的应用不止于此,语音通话SIP协议,监控安防GB28181国标,当下比较火热的we
- 2021寒假——洛谷刷题计划(15题)
DanmoSAMA
数据结构与算法
P2327扫雷(DFS递归)递归就可以分类讨论了!#includeintarr1[10001],arr2[10001];intn,ans;intcheck(intx){if(arr1[x-1]+arr1[x]+arr1[x+1]==arr2[x])//判断当前情况下是否满足arr2数组return1;return0;}voiddfs(intk){if(k==n+1){//搜索结束条件,如果直到最后
- 2327. 知道秘密的人数;1722. 执行交换操作后的最小汉明距离;2537. 统计好子数组的数目
igang of rebirth
python算法
2327.知道秘密的人数核心思想:动态规划,每天的人可以分为三种,可分享秘密的人,不可分享秘密的人,忘记秘密的人。定义f[i]为第i天可分享秘密的人,那么第(i+delay,i+forget)天,会增加f[i]个可分享秘密的人,如果i+delay超过了n,那么它只能是不可分享秘密的人,然后我们只需要统计最后一天不可分享秘密的人,然后和可分享秘密的人加起来,忘记秘密的人不用考虑它。1722.执行交换
- SDP详解
wangjw.bug
媒体SDP
SDP定义联网系统中SIP消息体中携带的SDP内容应符合RFC2327-SDPSessionDescriptionProtocol的相关要求。应有如下字段:Sessiondescription:v=(protocolversion)o=(owner/creatorandsessionidentifier).s=(sessionname)u=*(URIofdescription)c=*(connec
- 第一章 As the Prophecy Foretold, a Hero is Born
牟乘风
我们的旅程从你开始,我们的英雄,希望能够开始并完成一个角色扮演游戏而冒险进入该未知领域。我们将讨论角色扮演游戏的历史,我们将通过本书开发游戏的功能,以及评估以帮助您开发游戏的工具时的一些考虑因素。我们将学习游戏架构的简要历史,以及它如何与LibGDX的架构相关并与其不同。最后,我们将看看LibGDX项目结构并运行默认的应用程序,以便我们在下一章中开展工作。本章将涉及以下主题了解角色扮演游戏的基本原
- 公众号做了一年多了,只有2327位粉丝,只有464.55元
树洞学习馆
一、第一次发文章我是2018年12月20号开始写公众号文章的,我觉得这天自己永远不会忘记,因为对那时的自己来说,真的像是开启了一件伟大的工程。第一次发文章这是第一次发文章的成果,只有5个人关注,当然是屈服于我的威逼才关注的~阅读量是我厚着脸皮发到朋友圈里才有的。二、最新发文的阅读情况最新的发文这个是我最近的发文情况,阅读量依然不高,但比起以往,是提高了不少。文章现在一般都不会发到朋友圈,就默默地点
- 洛谷 普及/提高- DP题总结
望眼雨歇
动态规划
目录P1681最大正方形IIP3183[HAOI2016]食物链P2904[USACO08MAR]RiverCrossingSP1470[USACO2.3]最长前缀LongestPrefixP1922女仆咖啡厅桌游吧P2004领地选择P2327[SCOI2005]扫雷P2946[USACO09MAR]CowFrisbeeTeamSP2918[USACO08NOV]BuyingHaySP5414[Y
- 《Thiaoouba Prophecy海奥华预言》阅记
百變歸一
此书首版名:《九层级星球的劫持》Thiaoouba这些字母怎么能拼出来“海奥华”呢?顶多用【霞瓯芭】好些。现书名出现了Prophecy,可见出版商已经将此书看成是天神们的警世、提戒了!从这个汉译书名,也可以看到我们华人的内心多么希望我们的【华】能跟“宇宙顶级生命”联系上!不过,现在的欧美大多称这次事件为【Abductiontothe9thPlane】——第九层级星球的劫持,在我们看来这么说注定不是
- 安安,你出生的第489天(2327)—碎碎念+1
沐滢
安安,展信佳!今天是周四,晴转雨,23—32℃。安安,最近晚上都是先空调然后风扇,你睡得不是很好,晚上很折腾,不过现在中午都会乖乖的随着我在大床上睡一觉,我觉得你的睡眠应该也是够的,今天中午大概从15点40分睡到18点多。晚上我故意让你推迟一点睡,22点半才躺下,你似乎入睡的比昨天还快23点多一点就睡着了。安安,晚上不凑巧,我发现醒来18点多那会还下着雨,于是我没有带你出门,至于雨什么时候停的我就
- 我们的故事未完待续488
从此我叫金岳霖
2327天梁娘子,情人节快乐~宝宝,爱你,好好照顾自己,晚安~图片发自App图片发自App
- 2327. 知道秘密的人数
新青年没有新思想
2327.知道秘密的人数dpconstintMOD=1e9+7;classSolution{public:intpeopleAwareOfSecret(intn,intdelay,intforget){/*A:可以分享的人B:冻结的人C:忘记的人*/intf[n+10];memset(f,0,sizeoff);f[1]=1;intcntb=0;for(inti=1;in)cntb=(cntb+f[
- 音视频SDP协议详解(描述会话的协议)
音视频开发老马
Android音视频开发音视频开发流媒体服务器音视频ffmpeg网络视频编解码webrtc
前言①SDP协议是会话描述协议(SessionDescriptionProtocol)的缩写,是一种会话描述格式,一种描述流媒体初始化参数的格式,为描述多媒体数据而设计。文末卡片领取音视频免费资料合集(流媒体是指在传输过程中看到或者听到的内容)②SDP协议完全是一种会话描述格式(对应的RFC2327,RFC4566)。③SDP协议不属于传输协议,它只使用不同的适当的传输协议,包括会话通知协议(SA
- 一篇文章读懂SDP、RTMP、HLS、SIP、MMS
音视频开发老舅
音视频开发进阶音视频视频编解码实时音视频webrtc实时互动
SDP会话描述协议(SDP)为会话通知、会话邀请和其它形式的多媒体会话初始化等目的提供了多媒体会话描述。参考RFC2327会话目录用于协助多媒体会议的通告,并为会话参与者传送相关设置信息。SDP即用于将这种信息传输到接收端。SDP完全是一种会话描述格式―它不属于传输协议―它只使用不同的适当的传输协议,包括会话通知协议(SAP)、会话初始协议(SIP)、实时流协议(RTSP)、MIME扩展协议的电子
- 2314 prophecy
jesusincoming
2314.ProphecygiventoReymundoAguileraon23January2016at5:37AMTheheartandpointofDonaldTrump;isDonaldTrump.HesaysheisfortheUnitedStates.Wrong!DonaldTrumpisforDonaldTrumpwithegoandpride.DonaldTrumpsaysheis
- 在jQuery与Node之间创建跨域请求(Cross-Origin Resource Sharing (CORS) )
一村又一桩
node.js
原文地址:http://www.bennadel.com/blog/2327-cross-origin-resource-sharing-cors-ajax-requests-between-jquery-and-node-js.htm
- SDP: Session Description Protocol(会话描述协议) (RFC2327)
星辰帝威
音视频编解码
SDP:SessionDescriptionProtocol(会话描述协议)(RFC2327)1概述SDP也是MMUSIC工作组的一个产品,在MBONE内容中用得很多。其目的就是在媒体会话中,传递媒体流信息,允许会话描述的接收者去参与会话。SDP基本上在internet上工作。他定义了绘画描述的统一格式,但并不定义多播地址的分配和SDP消息的传输,也不支持媒体编码方案的协商,这些功能均由下层传送协
- 0Day – 2011.1.5[From B4A]
weixin_34162629
0-DayAnthemion.HelpBlocks.v1.22.MacOSX.Incl.Keymaker-CORE2F9.14MBAnthemion.Writers.Cafe.v2.29.MacOSX.Incl.Keymaker-CORE7F32.44MBAveyond.The.Darkthrop.Prophecy.Build.B-TE19F91.51MBAVS.Video.Editor.v5.2
- 流媒体传输控制协议详解之sdp
sunxiaopengsun
流媒体协议
SDP协议一、SDP协议介绍SDP完全是一种会话描述格式(对应的RFC2327,RFC4566,)―它不属于传输协议―它只使用不同的适当的传输协议,包括会话通知协议(SAP)、会话初始协议(SIP)、实时流协议(RTSP)、MIME扩展协议的电子邮件以及超文本传输协议(HTTP)。SDP协议是也是基于文本的协议,这样就能保证协议的可扩展性比较强,这样就使其具有广泛的应用范围。SDP不支持会话内容或
- AIO-3288C Android8.1固件发布
暴走的阿Sai
开源硬件
AIO-3288CAndroid8.1固件已发布!【固件更新】1、支持HDMI音频输出2、支持AP6212/AP6236wifi蓝牙模组3、支持摄像头OV138504、支持以太网5、支持ES83236、支持RS2327、支持IR红外遥控8、修改Launcher3显示模式9、添加了鼠标的左键点击支持,鼠标右键始终设为返回键10、修复allapps界面无法使用遥控的问题11、支持MicroSD(TF)
- 你的年收入过5万了吗?数据科学家的Python模块和包
读芯术
热点文章人工智能AIpython
全文共2327字,预计学习时长15分钟图源:unsplash笔者刚开始学习给数据科学编程时,发现要找到创建模块和包的简单解释以及教程非常困难,尤其是数据科学项目方面。数据科学代码通常是非常线性的。一般情况下,要先从数据源提取数据,应用一系列转换,然后执行分析、计算或训练模型。但是为了代码的可读性、高效性和可重复性,将代码模块化并打包很有用。本文将告诉你如何为数据科学和机器学习创建和使用自己的包和模
- Apple Watch 6电池曝光:容量缩水
itwriter
经查,疑似AppleWatchSeries6的内置电池日前在韩国测试认证部门的资料库中现身。如图所示,这是一块303.8mAh(1.17Wh)的电池,对应产品型号为A2327。此外,还有262.9mAh的A2306和265.9mAh的A2345。可做对比的是,AppleWatchSeries5的电池容量是296mAh,AW4是291.8mAh。看起来,有两款的容量都有所缩水,至于A2327可能是L
- 即将推出的Apple Watch Series 6的电池现身监管机构
itwriter
即将到来的AppleWatchSeries6的电池很可能已经在韩国测试研究院完成备案,并被Twitter用户@yabhishekhd发现。6月23日,韩国监管机构KTR为一块容量为303.8mAh的1.17Wh电池颁发了认证,该机构负责在公开销售前对新硬件进行审批和测试。从型号为A2327的电池外形、容量和来看,这块电池似乎注定是为未来的AppleWatch准备的。目前的AppleWatchSer
- HDU 5521 2015ACM-ICPC沈阳赛区现场赛M题
still_foolish
图论区域赛最短路
MeetingTimeLimit:12000/6000MS(Java/Others)MemoryLimit:262144/262144K(Java/Others)TotalSubmission(s):2327AcceptedSubmission(s):742ProblemDescriptionBessieandherfriendElsiedecidetohaveameeting.However,a
- the image of the beast (0669 prophecy)
jesusincoming
0669.Vision–Sixpeopleworshipping,bowing,andpraisingaball.669.Occurrence,Prophecy,andVisionon7January1995at9:15AMDuringworshipattheFullGospelBusinessMen’sFellowshipInternationalbreakfast,Ihadavisionofa
- 2329 prophecy
jesusincoming
2329.Prophecy–Televangelists,Pastors2329.ProphecygiventoRaymondAguileraon20February2016at3:59PMVision:TheLordgavemeavisionofmanypeoplewalkingupthistallpyramid,whichlookedlikeithadthousandsofstepsleadi
- 首发丨平静古典美学,诠释气质非凡的永恒空间 【环球设计2327期】
环球设计
¤èèè·§ééééè°°±§èè·¤èèè¤éè°°°¨±è·è±éè°éèè±°¨¤èèè鱤èè±±±é±è°é·¤è§éé01.±°è±±¤°è豤°èèéèè±é¨¤é¨·è±è§¨¤¤¤¨éé餱¤èé¨é駤§§·éééè°U§éè餧°·èè±ééè§è§èéèè¨è豤±è§è§§±°èèèé¨é¨éè¤éé¨éèè¤é°é¨è±°é±°éè·02.¤éè±±èè§é
- java数字签名三种方式
知了ing
javajdk
以下3钟数字签名都是基于jdk7的
1,RSA
String password="test";
// 1.初始化密钥
KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance("RSA");
keyPairGenerator.initialize(51
- Hibernate学习笔记
caoyong
Hibernate
1>、Hibernate是数据访问层框架,是一个ORM(Object Relation Mapping)框架,作者为:Gavin King
2>、搭建Hibernate的开发环境
a>、添加jar包:
aa>、hibernatte开发包中/lib/required/所
- 设计模式之装饰器模式Decorator(结构型)
漂泊一剑客
Decorator
1. 概述
若你从事过面向对象开发,实现给一个类或对象增加行为,使用继承机制,这是所有面向对象语言的一个基本特性。如果已经存在的一个类缺少某些方法,或者须要给方法添加更多的功能(魅力),你也许会仅仅继承这个类来产生一个新类—这建立在额外的代码上。
- 读取磁盘文件txt,并输入String
一炮送你回车库
String
public static void main(String[] args) throws IOException {
String fileContent = readFileContent("d:/aaa.txt");
System.out.println(fileContent);
- js三级联动下拉框
3213213333332132
三级联动
//三级联动
省/直辖市<select id="province"></select>
市/省直辖<select id="city"></select>
县/区 <select id="area"></select>
- erlang之parse_transform编译选项的应用
616050468
parse_transform游戏服务器属性同步abstract_code
最近使用erlang重构了游戏服务器的所有代码,之前看过C++/lua写的服务器引擎代码,引擎实现了玩家属性自动同步给前端和增量更新玩家数据到数据库的功能,这也是现在很多游戏服务器的优化方向,在引擎层面去解决数据同步和数据持久化,数据发生变化了业务层不需要关心怎么去同步给前端。由于游戏过程中玩家每个业务中玩家数据更改的量其实是很少
- JAVA JSON的解析
darkranger
java
// {
// “Total”:“条数”,
// Code: 1,
//
// “PaymentItems”:[
// {
// “PaymentItemID”:”支款单ID”,
// “PaymentCode”:”支款单编号”,
// “PaymentTime”:”支款日期”,
// ”ContractNo”:”合同号”,
//
- POJ-1273-Drainage Ditches
aijuans
ACM_POJ
POJ-1273-Drainage Ditches
http://poj.org/problem?id=1273
基本的最大流,按LRJ的白书写的
#include<iostream>
#include<cstring>
#include<queue>
using namespace std;
#define INF 0x7fffffff
int ma
- 工作流Activiti5表的命名及含义
atongyeye
工作流Activiti
activiti5 - http://activiti.org/designer/update在线插件安装
activiti5一共23张表
Activiti的表都以ACT_开头。 第二部分是表示表的用途的两个字母标识。 用途也和服务的API对应。
ACT_RE_*: 'RE'表示repository。 这个前缀的表包含了流程定义和流程静态资源 (图片,规则,等等)。
A
- android的广播机制和广播的简单使用
百合不是茶
android广播机制广播的注册
Android广播机制简介 在Android中,有一些操作完成以后,会发送广播,比如说发出一条短信,或打出一个电话,如果某个程序接收了这个广播,就会做相应的处理。这个广播跟我们传统意义中的电台广播有些相似之处。之所以叫做广播,就是因为它只负责“说”而不管你“听不听”,也就是不管你接收方如何处理。另外,广播可以被不只一个应用程序所接收,当然也可能不被任何应
- Spring事务传播行为详解
bijian1013
javaspring事务传播行为
在service类前加上@Transactional,声明这个service所有方法需要事务管理。每一个业务方法开始时都会打开一个事务。
Spring默认情况下会对运行期例外(RunTimeException)进行事务回滚。这
- eidtplus operate
征客丶
eidtplus
开启列模式: Alt+C 鼠标选择 OR Alt+鼠标左键拖动
列模式替换或复制内容(多行):
右键-->格式-->填充所选内容-->选择相应操作
OR
Ctrl+Shift+V(复制多行数据,必须行数一致)
-------------------------------------------------------
- 【Kafka一】Kafka入门
bit1129
kafka
这篇文章来自Spark集成Kafka(http://bit1129.iteye.com/blog/2174765),这里把它单独取出来,作为Kafka的入门吧
下载Kafka
http://mirror.bit.edu.cn/apache/kafka/0.8.1.1/kafka_2.10-0.8.1.1.tgz
2.10表示Scala的版本,而0.8.1.1表示Kafka
- Spring 事务实现机制
BlueSkator
spring代理事务
Spring是以代理的方式实现对事务的管理。我们在Action中所使用的Service对象,其实是代理对象的实例,并不是我们所写的Service对象实例。既然是两个不同的对象,那为什么我们在Action中可以象使用Service对象一样的使用代理对象呢?为了说明问题,假设有个Service类叫AService,它的Spring事务代理类为AProxyService,AService实现了一个接口
- bootstrap源码学习与示例:bootstrap-dropdown(转帖)
BreakingBad
bootstrapdropdown
bootstrap-dropdown组件是个烂东西,我读后的整体感觉。
一个下拉开菜单的设计:
<ul class="nav pull-right">
<li id="fat-menu" class="dropdown">
- 读《研磨设计模式》-代码笔记-中介者模式-Mediator
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
/*
* 中介者模式(Mediator):用一个中介对象来封装一系列的对象交互。
* 中介者使各对象不需要显式地相互引用,从而使其耦合松散,而且可以独立地改变它们之间的交互。
*
* 在我看来,Mediator模式是把多个对象(
- 常用代码记录
chenjunt3
UIExcelJ#
1、单据设置某行或某字段不能修改
//i是行号,"cash"是字段名称
getBillCardPanelWrapper().getBillCardPanel().getBillModel().setCellEditable(i, "cash", false);
//取得单据表体所有项用以上语句做循环就能设置整行了
getBillC
- 搜索引擎与工作流引擎
comsci
算法工作搜索引擎网络应用
最近在公司做和搜索有关的工作,(只是简单的应用开源工具集成到自己的产品中)工作流系统的进一步设计暂时放在一边了,偶然看到谷歌的研究员吴军写的数学之美系列中的搜索引擎与图论这篇文章中的介绍,我发现这样一个关系(仅仅是猜想)
-----搜索引擎和流程引擎的基础--都是图论,至少像在我在JWFD中引擎算法中用到的是自定义的广度优先
- oracle Health Monitor
daizj
oracleHealth Monitor
About Health Monitor
Beginning with Release 11g, Oracle Database includes a framework called Health Monitor for running diagnostic checks on the database.
About Health Monitor Checks
Health M
- JSON字符串转换为对象
dieslrae
javajson
作为前言,首先是要吐槽一下公司的脑残编译部署方式,web和core分开部署本来没什么问题,但是这丫居然不把json的包作为基础包而作为web的包,导致了core端不能使用,而且我们的core是可以当web来用的(不要在意这些细节),所以在core中处理json串就是个问题.没办法,跟编译那帮人也扯不清楚,只有自己写json的解析了.
- C语言学习八结构体,综合应用,学生管理系统
dcj3sjt126com
C语言
实现功能的代码:
# include <stdio.h>
# include <malloc.h>
struct Student
{
int age;
float score;
char name[100];
};
int main(void)
{
int len;
struct Student * pArr;
int i,
- vagrant学习笔记
dcj3sjt126com
vagrant
想了解多主机是如何定义和使用的, 所以又学习了一遍vagrant
1. vagrant virtualbox 下载安装
https://www.vagrantup.com/downloads.html
https://www.virtualbox.org/wiki/Downloads
查看安装在命令行输入vagrant
2.
- 14.性能优化-优化-软件配置优化
frank1234
软件配置性能优化
1.Tomcat线程池
修改tomcat的server.xml文件:
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" maxThreads="1200" m
- 一个不错的shell 脚本教程 入门级
HarborChung
linuxshell
一个不错的shell 脚本教程 入门级
建立一个脚本 Linux中有好多中不同的shell,但是通常我们使用bash (bourne again shell) 进行shell编程,因为bash是免费的并且很容易使用。所以在本文中笔者所提供的脚本都是使用bash(但是在大多数情况下,这些脚本同样可以在 bash的大姐,bourne shell中运行)。 如同其他语言一样
- Spring4新特性——核心容器的其他改进
jinnianshilongnian
spring动态代理spring4依赖注入
Spring4新特性——泛型限定式依赖注入
Spring4新特性——核心容器的其他改进
Spring4新特性——Web开发的增强
Spring4新特性——集成Bean Validation 1.1(JSR-349)到SpringMVC
Spring4新特性——Groovy Bean定义DSL
Spring4新特性——更好的Java泛型操作API
Spring4新
- Linux设置tomcat开机启动
liuxingguome
tomcatlinux开机自启动
执行命令sudo gedit /etc/init.d/tomcat6
然后把以下英文部分复制过去。(注意第一句#!/bin/sh如果不写,就不是一个shell文件。然后将对应的jdk和tomcat换成你自己的目录就行了。
#!/bin/bash
#
# /etc/rc.d/init.d/tomcat
# init script for tomcat precesses
- 第13章 Ajax进阶(下)
onestopweb
Ajax
index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/
- Troubleshooting Crystal Reports off BW
blueoxygen
BO
http://wiki.sdn.sap.com/wiki/display/BOBJ/Troubleshooting+Crystal+Reports+off+BW#TroubleshootingCrystalReportsoffBW-TracingBOE
Quite useful, especially this part:
SAP BW connectivity
For t
- Java开发熟手该当心的11个错误
tomcat_oracle
javajvm多线程单元测试
#1、不在属性文件或XML文件中外化配置属性。比如,没有把批处理使用的线程数设置成可在属性文件中配置。你的批处理程序无论在DEV环境中,还是UAT(用户验收
测试)环境中,都可以顺畅无阻地运行,但是一旦部署在PROD 上,把它作为多线程程序处理更大的数据集时,就会抛出IOException,原因可能是JDBC驱动版本不同,也可能是#2中讨论的问题。如果线程数目 可以在属性文件中配置,那么使它成为
- 正则表达式大全
yang852220741
html编程正则表达式
今天向大家分享正则表达式大全,它可以大提高你的工作效率
正则表达式也可以被当作是一门语言,当你学习一门新的编程语言的时候,他们是一个小的子语言。初看时觉得它没有任何的意义,但是很多时候,你不得不阅读一些教程,或文章来理解这些简单的描述模式。
一、校验数字的表达式
数字:^[0-9]*$
n位的数字:^\d{n}$
至少n位的数字:^\d{n,}$
m-n位的数字:^\d{m,n}$