- 商希峰||援坦漫记(21)培训结束
商希峰
为期两周的培训结束,下周就开始正式上班了。这个NPC(NewPaediatricComplex)就是以后工作的地方了。图片发自App算起来,这两周经历的事情真不少,已初步适应时间、气侯、社会关系、工作场合和制度;不同地域、不同人种、不同健康卫生体系在共同职业条件下的特别感受,以及如何来应对缺少设备和仪器条件下对更复杂疾病的救治;语言能力也得到了很好的适应,尤其是在许多场合都会遇到几位会讲一点中文的
- 小學生作文-01 文體
_阿寶哥
在上國語課的時候,老師常常會在一開始或結束該課時提及課文的文體歸類,例如:記敘文、說明文或抒情文⋯等。甚至於這些都會成為段考的考題,但是,各位親愛的讀者們,是否曾經聽老師說過,依文體分類文章的目的是什麼?也許老師們盡心盡力的告訴大家,如何分類文章,以及分類的依據是什麼,但您是否想過,為什麼要將文章分類?在討論這個問題之前,我想先問另一個問題,那就是,請問大家是否同意,作文是國語課的範籌?或者更明確
- 爱一人,只要在一起
谢谢微甜
图片发自App曾经看过梵高写的这样一段话:每个人的心里都有一团火,路过的人只看到烟,但总有一个人,总有一个人能看到这团火,然后走过来,陪我一起。我带着我的热情,我的冷漠,我的狂暴与我的温柔,以及对爱情毫无理由的相信,走得上气不接下气,结结巴巴地对她说:你叫什么名字?从你叫什么名字开始,后来,有了一切。这是有点儿虚幻、有点儿唯美又有点儿意外的爱情的开头,只可惜并不是所有的人都有接受这个开头的勇气。坦
- 她和他的珍珠奶茶
西瓜_傑
她從小不喝飲品,不是不愛,是因為媽媽不讓喝。直到那個男孩給了她一杯珍珠奶茶……她從小就是家長眼中的“隔壁家小孩”,老師口中的乖乖女。他是同學中最調皮搗蛋的,老師的眼中釘。有一次,他和他的“小老弟”們正在欺負女生們。她走過來,雖然瘦弱的外表顯得沒氣場,但她一開口,說:每個人都有自己的底線但是一旦触及到我的底线,只有你想不到,没有我做不到。男孩們立刻怂,只有他说:你……你算什么,我们走!他的小老弟们跟
- 算法设计与分析 合并排序的递归实现算法
Jxcupupup
算法算法算法设计与分析
合并排序的递归实现算法。输入:先输入进行合并排序元素的个数,然后依次随机输入(或随机生成)每个数字。输出:元素排序后的结果,数字之间不加任何标识符。示//完整代码在GitHub上//https://github.com/Jxcup/Course_Algorithm_Analysis-Design/blob/main/MergeSort_iteration.cpp//合并排序递归#includeus
- “疯”眼看美国19:普林斯顿小径
观弈路人
20180715特拉华州和拉里坦运河州立公园小径简称“普林斯顿小径”DelawareandRaritanCanalStateParkTrail普林斯顿大学原来的名字是“新泽西学院”,与罗格斯大学毗邻。不过三十公里左右。今天准备看2018世界杯法国对克罗地亚决赛之前,陪女儿到普林斯顿小径跑步,一直可以跑到普林斯顿,才发现这个神奇的小径。普林斯顿小径大概是俗称,全名是特拉华州和拉里坦运河州立公园,会不
- vue+threeJS示例(001): 不断翻转的立体箱体
还是大剑师兰特
#ThreeJS综合教程200+threejs入门threejs教程threejs示例大剑师
作者:还是大剑师兰特,曾为美国某知名大学计算机专业研究生,现为国内GIS领域高级前端工程师,CSDN知名博主,深耕openlayers、leaflet、mapbox、cesium,canvas,echarts等技术开发,欢迎加微信(gis-dajianshi),一起交流。查看本专栏目录-本文是第001个示例文章目录一、示例效果图二、示例简介三、配置说明四、示例源代码(共88行)一、示例效果图二、示
- #宇宙公民高效阅读营第13期打卡第9天
素yan
WOW:今天是我最愛的一天!【作业一】成堆的苍蝇覆盖其上。视觉:密密麻麻很多苍蝇聚集在食物上(成堆,覆盖说明数量多)听觉:群体发出嗡嗡嗡的响声(吃东西的声音)触觉:全身起鸡皮疙瘩,密集恐惧(因为恶心)嗅觉:闻到腥臭味(苍蝇喜欢臭的)【作业二】选:那个人,教会我事以前有那么一个人,他喜欢抽烟喝酒以前有那么一个人,他经常在外面请朋友吃吃喝喝以前有那么一个人,他喜欢大声说话以前有那么一个人,他喜欢帮助朋
- 365天范范幸福感恩人生day157
范范_xy
2021.4.23辛丑年三月十二星期五长沙多云我萬分倖運並深深的感恩,感恩充滿活力的身體告訴我,中午無論如何一定要找一個時間一午睡,晚上一定要儘可能的早睡,這樣才能夠規律的5點起床,接下來忙完月底這段時間,去好好的行動踐行,感恩充滿活力健康的身體,我愛我的身體❤️❤️❤️我萬分倖運並深深的感恩,反正昨天上午旭旭給了我一個機會陪她去處理之前上班的公司少給她發放工資的事情,感恩勞動局幫忙協商的領導,從
- Python DataFrame 给列命名
Python老吕
pythonpandas开发语言DataFrameDataFrame给列命名Python给列命名给列命名
PythonDataFrame给列命名PythonDataFrame给列命名一、在创建DataFrame时给列命名示例1:从字典创建DataFrame示例2:从列表的列表创建DataFrame,并指定列名示例3:从Series组成的字典创建DataFrame示例4:从具有默认索引的列表的列表创建DataFrame,并指定列名和行索引二、在读取数据时给列命名示例1:从CSV文件读取数据,并指定列名示
- 王明阳教条示龙场诸生之立志
曾小梅
【早上好#曾小梅#202208.01日精进第7天】表现分:10分(自己打分,满分10分)体验到:(今天的经历,情绪,和自己对话)8月又是一个新的开始。建军节以前是没有什么感觉,自从自己的身份为军人家属时,就有了不一样的感受。嗯,跑个8.01公里来纪念一下吧发现朋友圈好多人跑这个数作为节日的见证。如何建立价值百万的学习系统?首先确定阶段性的目标,专注自己想要去发展的领域。利用好工具去收集知识,跟自己
- 求推荐 莆田鞋十大良心微商,大贤大德的商家有哪些
优鞋之家
求推荐莆田鞋十大良心微商,大贤大德的商家有哪些文始于《诗经》中的“大雅君子,于乎皇矣”,乃言君子之风范,风流皇皇。当此以邃古之言开我今文,欲述莆田鞋十大良心微商者,吾欲以古德贤人比附之,示其各具特色,光照千古。微信图片_20240127215910.jpg言莆田鞋十大良心微商之狮王工作室,堪比周文王姬昌,以仁治天下,深受人民爱戴。是工作室亦如是,以质量为先,在众多微商中独树一帜,仿佛文王之明德光耀
- 培養自己
瘋人
不嬈艷,但要有氣質,培養自己的善良;不入俗,但要懂俗,培養自己出離的能力;不亂愛,但要懂愛,培養自己的慈悲能力;不亂講,但要懂因果,培養自己生命主人的能力;可以不信佛,但不能不明白無常,培養解脫心的能力!图片发自App
- 初唐四杰
a36d53822fc9
初唐四杰,中国唐代初年,文学家王勃、杨炯、卢照邻、骆宾王的合称。简称“王杨卢骆”。旧唐书·杨炯传记载:“炯与王勃、卢照邻、骆宾王以文诗齐名,海内称为王杨卢骆,亦号为四杰。”四杰活动于唐朝高宗、武后时期。他们在内容、风格等方面对宫体诗有较大突破,并将五言律诗发展成熟,勇于改革浮艳的诗风。明代的《诗镜总论》说:“王勃高华,杨炯雄厚,照邻清藻,宾王坦易,子安其最杰乎?调入初唐,时带六朝锦色。1.唐骆宾王
- 张衡:回归自然,为什么不是最好的养生方式?
问过蓝天
众所周知,道家思想当中有着许多关于养生的内容。甚至可以说,如今绝大多数的养生课程,都是以道家的理论为基础。为什么?因为许多人都误认为道家示柔、示弱、倡导“道法自然”,于是才得出“回归自然才是最好的养生方式”的结论。那么,事实真的如此呢?当然不是!因为人类之所以能够进化到今天这种模样,从某种程度上讲,就是不断的抵抗自然,或者对抗自然的结果,尽管有些时候,人类的力量在大自然前面微不足道,但也正是由于这
- 茶花女 第三章 上
Y于生
16日下午1点,我去了昂坦街。拍卖师的吆喝声在大门口就能听到。公寓里满是好奇的家伙。柳巷花街里名媛悉数到场,一些贵妇人正在偷偷地打量她们。现在,她们又可以借着参加拍卖会的名义,好好瞧瞧那些她们未曾有机会与之密切接触的女人。想来,她们或许还在暗地里羡慕这些女人的享乐生活呢。F公爵夫人的手臂碰到了A小姐;A小姐是现今妓女圈里典型的短命美人儿。T侯爵夫人想买下D夫人不断在抬价的那件家具,可又拿不定主意;
- 【孟母堂】愛自己四
每个人的孟母堂
这世上,你最爱、最不可辜负的人,首先是自己!对自己足够好,你才会快乐,才能欣然地去爱这个世界,才能好好地去爱别人;你的生命,会更温暖真挚,更具存在的意义。木心说:“一个人到世界上来,来做什么?爱最可爱的,最好听的,最好看的,最好吃的。”人生,就这么简单,也最安妥。想多了,活得复杂了,那是你的错。爱自己,让自己每天都开心愉悦,是对生命最好的感恩。爱自己,努力有一个健康的身体。有个健康明朗的好身体,才
- 每个叉友都做过的拉赫曼试验Lachman Test到底是什么?
前叉之家
叉友这个头衔,不是所有人都能够得到的,想要拥有这个“荣誉”必须要经过各种各样的查体以及测试,相信大家也都从医生的口中听到过类似Lachman测试、抽屉试验等,但是究竟Lachmantest是做什么的呢?在这篇文章中就有最详细的解答。实验目的:拉赫曼试验用于检查前交叉韧带(ACL)损伤或撕裂。名称由来:这项测试是以费城坦普尔大学(TempleUniversity)的整形外科医生约翰·拉赫曼(John
- 感賞日記138
童欣怡_中
感賞帥氣的ed給我回信息謝謝他吧感賞自己堅持運動3天了感賞天蠍男關心我陪我聊天感賞同事h有幫我買藥了謝謝他感賞自己堅持寫感賞日記感賞自己認可自己不索愛愛自己讓自己感覺良好感賞自己靜坐20分鐘
- 神农架与锯,万有引力与飞机:人类智慧的来源?
白乙笑谈
古今中外的许多发明创造,都有其共通之处。而这共通之处,所隐示的,也许就是人类智慧的共同来源。我们且先来看以下四个关于发明创造的小故事——第一个是神农氏发明“神农架”的故事。这里所说的“神农架”,主要是指“梯子”。据传说,神农氏为治民疾病,经常翻山越岭采药,尝尽百草。有一次,他来到一处悬崖底,正苦思如何登顶时,看见几只猴子,顺着悬崖的古藤和横倒在悬崖间的树木,上下攀爬,就灵机一动,用木杆和藤条靠着山
- 什么是真正的爱自己?
梅琼
梅琼家业同修第3/40#️读经典《教条示龙场诸生》️身心谐韵—能量瑜伽练习时间:1个小时️今日幸福实修主题:听100讲:嗨,你爱自己吗?️觉察/怔悟:有些朋友看上去很爱自己,给自己买喜欢的东西,吃顿大餐,赚很多钱给自己花。享受,看起来比别人更富有、穿更贵的衣服,用好的东西,住更好的房子,出门旅游的时候,给自己报豪华旅行团。这也都是照顾自己的一个方式,相当程度上给自己带来一些的快乐。同时在现实生活中
- 只有在愛的氛围里,愛才会成长 | 苏菲 · 道上之人
无言脉脉话最深
阿晃专栏只有在愛的氛围里,愛才会成长愛只有在愛里成长。愛需要愛的氛围……那是要被记得的最根本的事情。只有在愛的氛围中,愛才会成长,它需要同类的脉动在周围。如果母亲慈,如果父亲愛,不只对孩子,如果他们相互愛着对方。如果家里有一个愛的氛围,愛在流动着,孩子会开始运作如同一个明白愛的人,而他绝不会问这个问题:「什么是愛?」他会从一开始就知道,它会变成他的基础。但是那不会发生,这是很不幸的,直到现在它没有
- 企业级Registry开源项目Harbor架构简介
project_harbor
企业级Registry开源项目Harbor架构简介作者:张海宁姜坦1.Harbor项目VMware公司最近开源了企业级Registry项目Harbor,其的目标是帮助用户迅速搭建一个企业级的Dockerregistry服务。它以Docker公司开源的registry为基础,提供了管理UI,基于角色的访问控制(RoleBasedAccessControl),AD/LDAP集成、以及审计日志(Audi
- 开源Bluespec bsc编译器和可重用示例设计
达坦科技DatenLord
硬件加速fpgafpga开发硬件工程开源
这篇介绍Bluespec以及设计示例的文章,是在2021年ICCAD(InternationalConferenceOnComputer-AidedDesign)发布的论文。达坦科技的open-rdma项目和推广的MIT体系结构学习社区都用到Bluespec,因此将此论文翻译成中文,以便大家了解2020年Bluespec开源后相关的开源项目。摘要:bsc编译器是一个商业可用的编译器,在过去的二十年
- 对关溪坦溪邵氏读书台与青峒书院的再考证(下)
曲路浚ZJJ
这次笔者从田野调查与历史文献、《崇德里郑氏宗谱》、《方氏宗谱》以及民间传说等结合的角度,对关溪流域从大靠山青峒峰到九龙山包括从石梁过溪九田到九华上铺一带作“全景式扫描”时发现,家族组织祖先崇拜、帝王文化及佛家文化的传说并不是天然连接着落后愚昧的,至少在灵鹫山区是同这一带农耕文化的高度发达以及人文士人的密集高度相关。说朱熹在衢州讲学时曾访问过关溪流域也是可信的。而没有王阳明的学生李遂在衢州知府任上又
- 论语第十九天
曼殊斐儿_bcbb
3.10:子曰:“禘自既灌而往者,吾不欲观之矣。”3.11:或问禘之说。子曰:“不知也。知其说者之于天下也,其如示诸斯乎!”指其掌。3.12:祭如在,祭神如神在。子曰:“吾不与祭,如不祭。”原句译文3.10孔子说:“现在天子举行的祭祖礼仪,从灌礼之后我就看不下去了。”3.11有人问天子举行祭祖仪式的意义。孔子说:“不知道。知道这事的人,治理天下就如同看自己的手掌一样吧!”孔子说着指了他的指手掌。3
- 靠主全然德勝的晚禱
田培榮Paul
晚禱:親愛的主啊,我們感謝你,我們讚美你,我們愛你,我們離不開你,在這裡,在那裡,在患難裡,在平安裡,我們都跟随你。在遇見你的時候,我們就知道我們的人生要改變了,在風浪、攻擊、失意、孤苦的環境中,我們慶幸生命中有你,因你賜给我們出人意外的平安,使我們在苦難中重新站立。主啊,讓我們全然仰望你,活在你所賜的平安中,仰賴你的幫助。你知道人人都想要平安,但是平安没有人能抓在手裡,有人以為有錢有權就是平安,
- 【每日练字】25尺邓未予示夬引
菩妖妖
图片发自App图片发自App今天是练字第25天,不知不觉一个练习本写完了,原来,坚持也没有那么难。之前都是在用英雄钢笔练字,今天尝试用中性笔写字,有点溜冰的感觉,有点滑,不容易刹车,多写多练应该会好很多。
- @GetMapping和@PostMapping的使用场景
羊毛_
java
@GetMapping和@PostMapping是SpringFramework中的注解,用于处理HTTP请求映射到特定的处理方法(Controller方法)。它们用于不同的HTTP请求方法,具体如下:@GetMapping:使用@GetMapping注解的方法用于处理HTTPGET请求。当你希望从服务器获取某些资源或数据时,通常会使用GET请求。适用于获取数据、查看页面等不会产生副作用的操作。示
- 读《示弟立志说》有感三
知鱼之乐之杨
致良知线上正心班学习第11天时间:2021.3.19姓名:杨惜玉志愿:我立志成为一个自省,利他,有担当,有责任,致良知的印证者,为实现中华民族伟大复兴的中国梦而努力奋斗!|当|下|即|未|来|【自省利他致良知】今日功课1、读原文✔:2分2、准时交功课✔:2分3、日行一善✔:2分4、每日自省✔:2分(1)时刻保持恩悲敬(2)不抱怨,不说谎5、读书践行心得✔2分今天第5天学习阳明先生的《示弟立志说》。
- 怎么样才能成为专业的程序员?
cocos2d-x小菜
编程PHP
如何要想成为一名专业的程序员?仅仅会写代码是不够的。从团队合作去解决问题到版本控制,你还得具备其他关键技能的工具包。当我们询问相关的专业开发人员,那些必备的关键技能都是什么的时候,下面是我们了解到的情况。
关于如何学习代码,各种声音很多,然后很多人就被误导为成为专业开发人员懂得一门编程语言就够了?!呵呵,就像其他工作一样,光会一个技能那是远远不够的。如果你想要成为
- java web开发 高并发处理
BreakingBad
javaWeb并发开发处理高
java处理高并发高负载类网站中数据库的设计方法(java教程,java处理大量数据,java高负载数据) 一:高并发高负载类网站关注点之数据库 没错,首先是数据库,这是大多数应用所面临的首个SPOF。尤其是Web2.0的应用,数据库的响应是首先要解决的。 一般来说MySQL是最常用的,可能最初是一个mysql主机,当数据增加到100万以上,那么,MySQL的效能急剧下降。常用的优化措施是M-S(
- mysql批量更新
ekian
mysql
mysql更新优化:
一版的更新的话都是采用update set的方式,但是如果需要批量更新的话,只能for循环的执行更新。或者采用executeBatch的方式,执行更新。无论哪种方式,性能都不见得多好。
三千多条的更新,需要3分多钟。
查询了批量更新的优化,有说replace into的方式,即:
replace into tableName(id,status) values
- 微软BI(3)
18289753290
微软BI SSIS
1)
Q:该列违反了完整性约束错误;已获得 OLE DB 记录。源:“Microsoft SQL Server Native Client 11.0” Hresult: 0x80004005 说明:“不能将值 NULL 插入列 'FZCHID',表 'JRB_EnterpriseCredit.dbo.QYFZCH';列不允许有 Null 值。INSERT 失败。”。
A:一般这类问题的存在是
- Java中的List
g21121
java
List是一个有序的 collection(也称为序列)。此接口的用户可以对列表中每个元素的插入位置进行精确地控制。用户可以根据元素的整数索引(在列表中的位置)访问元素,并搜索列表中的元素。
与 set 不同,列表通常允许重复
- 读书笔记
永夜-极光
读书笔记
1. K是一家加工厂,需要采购原材料,有A,B,C,D 4家供应商,其中A给出的价格最低,性价比最高,那么假如你是这家企业的采购经理,你会如何决策?
传统决策: A:100%订单 B,C,D:0%
&nbs
- centos 安装 Codeblocks
随便小屋
codeblocks
1.安装gcc,需要c和c++两部分,默认安装下,CentOS不安装编译器的,在终端输入以下命令即可yum install gccyum install gcc-c++
2.安装gtk2-devel,因为默认已经安装了正式产品需要的支持库,但是没有安装开发所需要的文档.yum install gtk2*
3. 安装wxGTK
yum search w
- 23种设计模式的形象比喻
aijuans
设计模式
1、ABSTRACT FACTORY—追MM少不了请吃饭了,麦当劳的鸡翅和肯德基的鸡翅都是MM爱吃的东西,虽然口味有所不同,但不管你带MM去麦当劳或肯德基,只管向服务员说“来四个鸡翅”就行了。麦当劳和肯德基就是生产鸡翅的Factory 工厂模式:客户类和工厂类分开。消费者任何时候需要某种产品,只需向工厂请求即可。消费者无须修改就可以接纳新产品。缺点是当产品修改时,工厂类也要做相应的修改。如:
- 开发管理 CheckLists
aoyouzi
开发管理 CheckLists
开发管理 CheckLists(23) -使项目组度过完整的生命周期
开发管理 CheckLists(22) -组织项目资源
开发管理 CheckLists(21) -控制项目的范围开发管理 CheckLists(20) -项目利益相关者责任开发管理 CheckLists(19) -选择合适的团队成员开发管理 CheckLists(18) -敏捷开发 Scrum Master 工作开发管理 C
- js实现切换
百合不是茶
JavaScript栏目切换
js主要功能之一就是实现页面的特效,窗体的切换可以减少页面的大小,被门户网站大量应用思路:
1,先将要显示的设置为display:bisible 否则设为none
2,设置栏目的id ,js获取栏目的id,如果id为Null就设置为显示
3,判断js获取的id名字;再设置是否显示
代码实现:
html代码:
<di
- 周鸿祎在360新员工入职培训上的讲话
bijian1013
感悟项目管理人生职场
这篇文章也是最近偶尔看到的,考虑到原博客发布者可能将其删除等原因,也更方便个人查找,特将原文拷贝再发布的。“学东西是为自己的,不要整天以混的姿态来跟公司博弈,就算是混,我觉得你要是能在混的时间里,收获一些别的有利于人生发展的东西,也是不错的,看你怎么把握了”,看了之后,对这句话记忆犹新。 &
- 前端Web开发的页面效果
Bill_chen
htmlWebMicrosoft
1.IE6下png图片的透明显示:
<img src="图片地址" border="0" style="Filter.Alpha(Opacity)=数值(100),style=数值(3)"/>
或在<head></head>间加一段JS代码让透明png图片正常显示。
2.<li>标
- 【JVM五】老年代垃圾回收:并发标记清理GC(CMS GC)
bit1129
垃圾回收
CMS概述
并发标记清理垃圾回收(Concurrent Mark and Sweep GC)算法的主要目标是在GC过程中,减少暂停用户线程的次数以及在不得不暂停用户线程的请夸功能,尽可能短的暂停用户线程的时间。这对于交互式应用,比如web应用来说,是非常重要的。
CMS垃圾回收针对新生代和老年代采用不同的策略。相比同吞吐量垃圾回收,它要复杂的多。吞吐量垃圾回收在执
- Struts2技术总结
白糖_
struts2
必备jar文件
早在struts2.0.*的时候,struts2的必备jar包需要如下几个:
commons-logging-*.jar Apache旗下commons项目的log日志包
freemarker-*.jar  
- Jquery easyui layout应用注意事项
bozch
jquery浏览器easyuilayout
在jquery easyui中提供了easyui-layout布局,他的布局比较局限,类似java中GUI的border布局。下面对其使用注意事项作简要介绍:
如果在现有的工程中前台界面均应用了jquery easyui,那么在布局的时候最好应用jquery eaysui的layout布局,否则在表单页面(编辑、查看、添加等等)在不同的浏览器会出
- java-拷贝特殊链表:有一个特殊的链表,其中每个节点不但有指向下一个节点的指针pNext,还有一个指向链表中任意节点的指针pRand,如何拷贝这个特殊链表?
bylijinnan
java
public class CopySpecialLinkedList {
/**
* 题目:有一个特殊的链表,其中每个节点不但有指向下一个节点的指针pNext,还有一个指向链表中任意节点的指针pRand,如何拷贝这个特殊链表?
拷贝pNext指针非常容易,所以题目的难点是如何拷贝pRand指针。
假设原来链表为A1 -> A2 ->... -> An,新拷贝
- color
Chen.H
JavaScripthtmlcss
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD>&nbs
- [信息与战争]移动通讯与网络
comsci
网络
两个坚持:手机的电池必须可以取下来
光纤不能够入户,只能够到楼宇
建议大家找这本书看看:<&
- oracle flashback query(闪回查询)
daizj
oracleflashback queryflashback table
在Oracle 10g中,Flash back家族分为以下成员:
Flashback Database
Flashback Drop
Flashback Table
Flashback Query(分Flashback Query,Flashback Version Query,Flashback Transaction Query)
下面介绍一下Flashback Drop 和Flas
- zeus持久层DAO单元测试
deng520159
单元测试
zeus代码测试正紧张进行中,但由于工作比较忙,但速度比较慢.现在已经完成读写分离单元测试了,现在把几种情况单元测试的例子发出来,希望有人能进出意见,让它走下去.
本文是zeus的dao单元测试:
1.单元测试直接上代码
package com.dengliang.zeus.webdemo.test;
import org.junit.Test;
import o
- C语言学习三printf函数和scanf函数学习
dcj3sjt126com
cprintfscanflanguage
printf函数
/*
2013年3月10日20:42:32
地点:北京潘家园
功能:
目的:
测试%x %X %#x %#X的用法
*/
# include <stdio.h>
int main(void)
{
printf("哈哈!\n"); // \n表示换行
int i = 10;
printf
- 那你为什么小时候不好好读书?
dcj3sjt126com
life
dady, 我今天捡到了十块钱, 不过我还给那个人了
good girl! 那个人有没有和你讲thank you啊
没有啦....他拉我的耳朵我才把钱还给他的, 他哪里会和我讲thank you
爸爸, 如果地上有一张5块一张10块你拿哪一张呢....
当然是拿十块的咯...
爸爸你很笨的, 你不会两张都拿
爸爸为什么上个月那个人来跟你讨钱, 你告诉他没
- iptables开放端口
Fanyucai
linuxiptables端口
1,找到配置文件
vi /etc/sysconfig/iptables
2,添加端口开放,增加一行,开放18081端口
-A INPUT -m state --state NEW -m tcp -p tcp --dport 18081 -j ACCEPT
3,保存
ESC
:wq!
4,重启服务
service iptables
- Ehcache(05)——缓存的查询
234390216
排序ehcache统计query
缓存的查询
目录
1. 使Cache可查询
1.1 基于Xml配置
1.2 基于代码的配置
2 指定可搜索的属性
2.1 可查询属性类型
2.2 &
- 通过hashset找到数组中重复的元素
jackyrong
hashset
如何在hashset中快速找到重复的元素呢?方法很多,下面是其中一个办法:
int[] array = {1,1,2,3,4,5,6,7,8,8};
Set<Integer> set = new HashSet<Integer>();
for(int i = 0
- 使用ajax和window.history.pushState无刷新改变页面内容和地址栏URL
lanrikey
history
后退时关闭当前页面
<script type="text/javascript">
jQuery(document).ready(function ($) {
if (window.history && window.history.pushState) {
- 应用程序的通信成本
netkiller.github.com
虚拟机应用服务器陈景峰netkillerneo
应用程序的通信成本
什么是通信
一个程序中两个以上功能相互传递信号或数据叫做通信。
什么是成本
这是是指时间成本与空间成本。 时间就是传递数据所花费的时间。空间是指传递过程耗费容量大小。
都有哪些通信方式
全局变量
线程间通信
共享内存
共享文件
管道
Socket
硬件(串口,USB) 等等
全局变量
全局变量是成本最低通信方法,通过设置
- 一维数组与二维数组的声明与定义
恋洁e生
二维数组一维数组定义声明初始化
/** * */ package test20111005; /** * @author FlyingFire * @date:2011-11-18 上午04:33:36 * @author :代码整理 * @introduce :一维数组与二维数组的初始化 *summary: */ public c
- Spring Mybatis独立事务配置
toknowme
mybatis
在项目中有很多地方会使用到独立事务,下面以获取主键为例
(1)修改配置文件spring-mybatis.xml <!-- 开启事务支持 --> <tx:annotation-driven transaction-manager="transactionManager" /> &n
- 更新Anadroid SDK Tooks之后,Eclipse提示No update were found
xp9802
eclipse
使用Android SDK Manager 更新了Anadroid SDK Tooks 之后,
打开eclipse提示 This Android SDK requires Android Developer Toolkit version 23.0.0 or above, 点击Check for Updates
检测一会后提示 No update were found