- 今日联对0306
诗图佳得
自对联:烟销皓月临江浒,水漫金山荡塔裙。一一肖士平2020.3.6.1、试对肖老师联:烟销皓月临江浒,夜笼寒沙梦晚舟。耀哥求正2、试对萧老师联:烟销浩月临江浒,雾散乾坤解汉城。秀霞习作请各位老师校正3、自对联:烟销皓月临江浒,水漫金山荡塔裙。一一肖士平2020.3.6.4、试对肖老师垫场联:烟销皓月临江浒,雾锁寒林缈葉丛。小智求正[抱拳]5、试对肖老师联:烟销皓月临江浒;风卷乱云入峰巅。一一五品6
- 似乎,发生了很多事情
阿皮Ponder
似乎,有很多事情正在发生。今天,我跟夫人陪着孩子走进来幼儿园,人生头一回以孩子家长的身份参加了小小的班级家长会。在幼儿园,遇见老同学。从2017年开始失联,因为对方遇到了一些事情,跟大家都失去了联系,今日再见面,分外激动,他拉着我一直聊,一直聊。感谢我们的孩子。孩子有点咳嗽,去医院做了检查。叔叔家的两个妹妹开始了高中生活,新的开始。过去看望,遇到一位老师,很是面熟。咨询之下,果然,曾经初中母校的老
- esp32开发快速入门 8 : MQTT 的快速入门,基于esp32实现MQTT通信
z755924843
ESP32开发快速入门服务器网络运维
MQTT介绍简介MQTT(MessageQueuingTelemetryTransport,消息队列遥测传输协议),是一种基于发布/订阅(publish/subscribe)模式的"轻量级"通讯协议,该协议构建于TCP/IP协议上,由IBM在1999年发布。MQTT最大优点在于,可以以极少的代码和有限的带宽,为连接远程设备提供实时可靠的消息服务。作为一种低开销、低带宽占用的即时通讯协议,使其在物联
- 免费像素画绘制软件 | Pixelorama v1.0.3
dntktop
软件运维windows
Pixelorama是一款开源像素艺术多工具软件,旨在为用户提供一个强大且易于使用的平台来创作各种像素艺术作品,包括精灵、瓷砖和动画。这款软件以其丰富的工具箱、动画支持、像素完美模式、剪裁遮罩、预制及可导入的调色板等特色功能,满足了像素艺术家们的各种需求。用户可以享受到动态工具映射、洋葱皮效果、帧标签、播放动画时绘制等高级功能,以及非破坏性的、完全可定制的图层效果,如轮廓、渐变映射、阴影和调色板化
- 没人能猜到“未来有前景的事”,除非,你就喜欢。
梦想森林DreamForest
没人能猜到“未来有前景的事”,除非,你就喜欢。小时候买来一张张邮票放在集邮册的时候,我就喜欢上面的图案,以及有时候四联的整齐秩序感。做拼布的时候,我就喜欢五颜六色的布块儿的拼贴,喜欢一针一线的进进出出,喜欢费劲又费时的把一部分与另外部分的拼缝。买回一包色铅笔、一堆卡片纸,买回一盒蜡笔、一个速写本,买回一沓毛边纸、一盒水彩颜料……虽然偶尔只画上几张,也觉酣畅淋漓。大张旗鼓,置办回来一堆烘焙材料、各种
- 452期:2022年吉林养老金方案公布,三降一升一持平,基础养老金高优势大
社保小龙虾
社保知识,小龙虾每日分享第452期,欢迎关注!续陕西首先默默调整2022年养老金后,吉林也开始进行了养老金的调整(河南的公告不算,没有任何具体调整比例!)下面随小龙虾一起看看吉林的调整方案,具体参照吉人社联【2022】95号文件!一、具体方案对比,三降一升1、定额调整2022年吉林的定额调整金额是每人每月增加30元,相对于去年的36元,下降了6元,下降幅度16.67%2、挂钩调整:工龄挂钩调整工龄
- 昇思MindSpore AI框架MindFormers实践3:ChatGLM3-6B对一段文字进行提取
skywalk8163
人工智能项目实践人工智能mindspore
MindSpore和MindFormers安装参见:昇思AI框架实践1:安装MindSpoe和MindFormers_miniconda安装mindspore-CSDN博客使用了MindSpore2.2和MindFormers1.0支持的模型:KeyError:"modelmustbeinodict_keys(['gpt2','gpt2_lora','gpt2_xl','gpt2_xl_lora'
- 今日联对0829
诗图佳得
肖老师早上好!各位老师早上好!有感昨晚遛弯巧遇小学同学,勉出一联接场,供大家凑凑趣:日落归巢逢老友,???????。为免仓促,提议请仙子老师拨冗提前做个准备,明日为大家出联[抱拳][抱拳][抱拳]@仙子 期待您的佳作[胜利][胜利][胜利][胜利]一一孙小智试对孙老师出联:日落归巢逢老友;霞飞起舞恋新风。一一五品仙子老师好!马老师好!孙老师好!刘老师好!试对孙老师联:日落归巢逢老友,晨明到海看新天
- 【足坛简讯】9月2日足坛简讯及比赛预告
神州足球
【足坛简讯】9月2日足坛简讯及比赛预告9月2日足坛简讯与比赛预告比赛结果✍️意甲第3轮:十人米兰2-1罗马三连胜领跑莱奥凌空斩吉鲁点射托莫里染红✍️德甲第3轮:两连平!多特连丢两球2-2遭升班马海登海姆扳平布兰特凌空斩✍️沙特联:米特洛维奇戴帽本泽马破门新月连入三球4-3逆转吉达联合✍️热身赛:中国国奥1-0土库曼斯坦国奥,艾菲尔丁制胜球国内足坛✍️明日之星足球赛:上海队点球憾负曼城,大阪樱花蔚山
- 2022-12-22
东临沧海
波兰立陶宛联邦是16~17世纪,欧洲面积最大、人口最多的国家,又称波兰立陶宛王国,该国在波兰王国与立陶宛大公国结为联邦时宣告成立。联邦的政治制度被称为贵族民主制或金权自由制,法律与由贵族(施拉赤塔)控制的议会(瑟姆)限制君主的权利,该联邦的两个主体国家在原则上是平等的,而波兰是事实上的统治主体。该国是一个多民族国家,且呈现出一种宗教多样化,该国以在当时少有的宗教自由而闻名。在空前繁荣的几十年后,联
- 周二竞足:塞维利亚力争小胜巴萨,亚特兰大击败热那亚如探囊取物
阿东侃球
昨日赛事回顾:富勒姆对阵谢菲尔德联这场很简单,整体方向是正确的,但是谢菲联在开局3分钟进了1个球后,富勒姆竟然没能追平,全场就只有这1个进球,有点可惜。莱万特和巴伦西亚这一场比赛简直就是折磨人,上半场莱万特2-1领先,下半场却被反攻最终3-4结束,硬生生的打出了胜负的战果,着实惊到了我。周二003意甲:热那亚VS亚特兰大比赛时间:2021-12-2203:45基本面分析:热那亚联赛1胜7平10负积
- 一文看懂物联网通信技术
SEEKSEE AIoT
物联网
无线通信传输是实现万物互联的重要环节,其在传输速度及成本方面具有显著优势。今天我们将一起聊聊物联网无线通信的几种常见类型,了解其优势及应用。你好!物联网的无线通信技术种类繁多,从通信距离上可分为短距离(近距离)无线通信技术和低功耗广域网(远距离)通信技术。近距离通信技术包括Wi-Fi、蓝牙、ZigBee等,远距离通信技术以2G/3G/4G/5G、LPWAN(NB-IoT、eMTC、LoRa等)为代
- “益风说”教我的风水发财大招
浅安菟Zi
“风水”这词一出现,可能大家都会觉得,就是神神叨叨,骗人骗钱的玩意。我从踏足社会起就对风水很感兴趣,自己也常常到一些旧街看看风水方面的书籍,就是一直都看不懂,现在对于风水研习也成为了我的追求。我在2019年11月有缘结识了益福堂“许联斌”风水大师,当初也是从“天涯网”上看到一篇点击量很高的帖子。那篇名为“从风水的精髓——形派(峦体)真诀谈起”,我看完后马上就被深深地吸引了,这不就是自己一直以来想学
- 开源模型应用落地-qwen2-7b-instruct-LoRA微调-unsloth(让微调起飞)-单机单卡-V100(十七)
开源技术探险家
开源模型-实际应用落地#深度学习语言模型自然语言处理
一、前言本篇文章将在v100单卡服务器上,使用unsloth去高效微调QWen2系列模型,通过阅读本文,您将能够更好地掌握这些关键技术,理解其中的关键技术要点,并应用于自己的项目中。使用unsloth能够使模型的微调速度提高2-5倍。在处理大规模数据或对时间要求较高的场景下,这可以大大节省微调所需的时间,提高开发效率。其次,可减少80%的内存使用。这对于资源有限的环境或者需要同时运行多个微调任务的
- 禅宗史199:云盖志元
周脖通
第四十五节云盖志元云盖志元禅师是石霜庆诸禅师门下之优秀者,在当时的江湖中也是小有声名之人。不过,不知什么原因,石霜庆诸门下的许多弟子如涌泉景欣、云盖志元、覆船洪荐、龙湖普闻等人的个人履历,都没有完整的保留下来,以至于今天的我们对他们的生卒年、籍贯、出家前的情况等等知之甚少。志元禅师,不知生于何年何月,不知籍贯姓氏,不知何处出家受戒。志元禅师之法号,《祖堂集》中记为源禅,不过《景德传灯录》《联灯会要
- 大模型微调 - 基于预训练大语言模型的对话生成任务 训练代码
西笑生
大模型大模型自然语言处理微调
大模型微调-基于预训练大语言模型的对话生成任务训练代码flyfish模型扮演堂吉诃德这个角色,回答关于自我介绍的问题importtorchfromdatasetsimportDatasetfrommodelscopeimportAutoTokenizer,AutoModelForCausalLMfrompeftimportLoraConfig,TaskType,get_peft_modelfrom
- 算法 | 归并排序 | 小和、逆序对问题
蘑菇蘑菇不会开花~
算法(JAVA)算法java
一、小和问题在一个数组中,每一个数左边比当前数小的数累加起来,叫做这个数组的小和。求一个给定数组的小和。例子:数组为:[1,3,4,2,5]1左边比1小的数:没有3左边比3小的数:14左边比4小的数:1,32左边比2小的数:15左边比5小的数:1,3,4,2所以小和为1+(1+3)+1+(1+3+4+2)=16思路:找每一个数右边比当前数大的个数,(个数*当前数)的累加和就是结果。这咋和归并排序联
- 每日一联(5.24)飞鸿衔落日
乔平_
每日一联(5.24)出句:飞鸿衔落日对句:1.垂柳钓新图(兰馨幽幽)2.电信显微频(磊硌)3.秋水拥残霞(泉水叮咚)4.朗月伴归舟(王凤捷)5.陈酿化凡愁(丁贵明)6.淡雾笼高楼(乔平)7.谷雨润禾苗(磊硌)8.走马踏西风(闲客)9.战马踏晨曦(刘君杰)10.铁马踏冰河(四海波平)11.海浪卷朝云(钦建军)12.瘦马啸寒风(磊硌)13.跃鲤抱黄河(涛声依旧)14.流水送经年(梦清幽)15.舞燕点清
- 欲洁何曾洁,云空未必空——妙玉
小城爱夏天
红楼中的儿女众多,各个性格鲜明,今天要说的是妙玉。红尘未断,才华馥郁,品位高雅,本是官宦儿女,却出家为佛门子弟,文学上却喜好庄子。茶艺精湛,中秋夜联诗,塑造她为“红楼诗仙”。在她身上发生了哪些有关红楼的故事,我们接着来看。话说这妙玉呀,苏州人氏,祖上也是读书仕宦之家。因自小多病,买了许多替身儿(1)皆不中用,到底亲自入了空门,后来就有了法号妙玉。说起妙玉,那还有一个人必须要提,那就是早期陪伴她的邢
- 通信工程学习:什么是GFP通用成帧规范
梦实学习室
communicationNetwork学习网络服务器信息与通信网络协议
GFP:通用成帧规范GFP通用成帧规范(GenericFramingProcedure)是一种先进的数据业务适配的通用协议和映射技术,由国际电联ITU-T的G.7041标准定义。该技术旨在透明地将各种不同物理层或逻辑链路层信号适配进入SDH(同步数字体系)和OTN(光传送网)等高速物理传输通道中。以下是GFP通用成帧规范的详细解释:一、技术特点1、高效性和可靠性:GFP提供了比其他适配和映射技术(
- 景联文科技:专业数据标注公司,推动AI技术革新
景联文科技
人工智能
数据标注作为AI技术发展的重要支撑,对于训练高质量的机器学习模型以及推动应用领域的创新具有不可替代的作用。景联文科技作为专业的数据标注公司,致力于提供专业的数据标注服务,帮助客户解决AI链条中的数据处理难题,共同推动人工智能技术的进步与发展。一站式数据标注服务景联文科技提供一站式的数据标注服务,涵盖从图像、视频、音频到文本等多种数据类型。•图像标注:对象检测、语义分割、关键点标注、多边形标注等。•
- QLoRa使用教程
云帆@
训练peft人工智能
一、定义定义案例1二、实现定义QLoRa:量化+LoRa.网址:https://huggingface.co/docs/peft/main/en/developer_guides/quantization案例11.4bit量化+LoRaimporttorchfromtransformersimportBitsAndBytesConfigconfig=BitsAndBytesConfig(load_
- 大模型基础知识-LoRA与QLoRA
破壁者-燕
深度学习
介绍LoRA与QLoRA1.LoRA(Low-RankAdaptation)LoRA是一种用于大规模语言模型(LLM)的参数高效微调技术,旨在减少微调大模型所需的计算资源和存储空间。LoRA的核心思想是将全量参数更新分解为低秩矩阵的形式,从而显著减少参数数量和计算开销。核心思想:低秩分解:将大模型的权重矩阵表示为两个低秩矩阵的乘积。这种分解方法不仅保留了原始模型的表示能力,还显著减少了微调过程中需
- 北洋军阀的是非观:孙传芳的对与错,不守规矩的下场凄凉
拾文客栈
北洋大时代道德篇(十六):为恶而畏人知,恶中犹有善路;为善而急人知,善处即是恶根。民国十三年之后,北洋军阀的掌门人,变成了奉系军阀的张作霖,不过也有独树一帜的角儿,那就是坐镇东南的“五省联帅”孙传芳。这位和“东北王”张作霖齐名的“东南王”,坐拥东南五省地盘,麾下甲士数十万,江浙地区更是在其治理下井井有条,有足够的实力与如日中天的奉系军阀叫板。浙奉战争中更是在五天的时间里,摧枯拉朽般将奉军逐出东南,
- 与高校书—一八(2)班 陈致远
shaowei_chen
金桥校园,红墙黄瓦。雨后漫步,明净空宁,自东至西四五百许米,老师学生,笑容满面。绕校一周,十五分钟,草木丛生,绿意盎然。峻树楼高,草丝若綢。门前雕像,少年少女,拼搏向上;校中园林,思进巨石,巍然不动。南艺体楼,陶冶情操,挥洒汗水。北方食堂,五节课下,美妙珍味。间教学楼,讲台上长话联篇,讲台下疾笔奋书。晨雾散尽,书声朗朗;旭日东升,做早间操;艳阳高照,午间休息;最后一课,自习体活。风景环境,舍我其谁
- 女孩子适合做的副业是什么?推荐几个适合女生做的副业?
手机聊天员赚钱平台
钱越来越难赚,工资也在缩水,但价格没有下降,需要花钱的地方越来越多。因此,许多女性朋友渴望找到一些兼职副业来平衡生活费用。毕竟,副业已经做得很好了,比现在的主要业务收入更容易,关键是你是否能找到一个可靠和有利可图的副业。我们帮助您整理了15个最适合女性的副业,希望能帮助女性朋友。给大家推荐一个陪聊赚米项目叭,正规陪聊项目,网易云旗下大平台,无任何费用,下方有微信二维码,可扫码了解,也可点击链接,联
- 我在春夜里欢喜2022-04-29
阿珍小鱼
我在春夜里欢喜张宇春夜很静,路的灯光将我走的路照得很明亮,街灯虽未引起我的留意,可那灯旁的树却分外惹人的眼,脆亮脆亮的叶子静静地在那儿一动不动,青色的果子一串又一串地和树枝平行并列,我就在这晚春的静夜里走着。夜总给人一种神秘感,无论是天上闪着的星星,还是地上从一栋栋楼宇里闪出的灯火,都让人浮想联篇。昨天下了一点儿雨,虽然有些凉意,却也正正好。我就走在这春天的夜里,轻轻地走在街的小巷,路边的小青杏在
- 彩铅多肉(6/2019)整联完成!
小山泥
彩铅多肉(6/2019)整联完成!工具:三福霹雳马彩铅+获多福细纹水彩纸+我的爪图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App图片发自App
- 今日联对0316
诗图佳得
1、试对肖老师垫场联:冰雪消融明月朗,云霾涣散惠风和。——澹台秋水2020.3.162、自对联:冰雪消融明月朗尘埃落定艳阳新一一肖士平3、试对萧老师联,冰雪消融明月朗,云烟散尽曙光欣。秀霞习作请各位老师校正4、试对萧老师联,冰雪消融明月朗,云烟散尽曙光欣。秀霞习作5、试对肖老师垫场联:冰雪消融明月朗,星辰聚散暮云奇。一一仙子6、试对肖老师垫场联:冰雪消融明月朗,云霞变幻晨光熹。耀哥求正7、试对肖老
- 今日联对0703
诗图佳得
肖老师早上好!各位老师早上好!感谢刘宝芹老师传花予我。现以副中心地名组一俗联:玉带河边堪种玉;金坨村里可淘金。~王岐君抛砖引玉。请各位老师教正后奉献佳作。谢谢!明天恭请@五品 老师接花。请您稍事准备,期待您的佳作。王老师早上好!试对王老师联:玉带河边堪种玉;龙王庙里仅尊龙。刘新生恭请老师指教。试对王岐君老师联:玉带河边堪种玉;银门洞里就存银。――任晋之2020.7.3恭请老师们指教!肖老师早!王老
- Dom
周华华
JavaScripthtml
<!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/1999/xhtml&q
- 【Spark九十六】RDD API之combineByKey
bit1129
spark
1. combineByKey函数的运行机制
RDD提供了很多针对元素类型为(K,V)的API,这些API封装在PairRDDFunctions类中,通过Scala隐式转换使用。这些API实现上是借助于combineByKey实现的。combineByKey函数本身也是RDD开放给Spark开发人员使用的API之一
首先看一下combineByKey的方法说明:
- msyql设置密码报错:ERROR 1372 (HY000): 解决方法详解
daizj
mysql设置密码
MySql给用户设置权限同时指定访问密码时,会提示如下错误:
ERROR 1372 (HY000): Password hash should be a 41-digit hexadecimal number;
问题原因:你输入的密码是明文。不允许这么输入。
解决办法:用select password('你想输入的密码');查询出你的密码对应的字符串,
然后
- 路漫漫其修远兮 吾将上下而求索
周凡杨
学习 思索
王国维在他的《人间词话》中曾经概括了为学的三种境界古今之成大事业、大学问者,罔不经过三种之境界。“昨夜西风凋碧树。独上高楼,望尽天涯路。”此第一境界也。“衣带渐宽终不悔,为伊消得人憔悴。”此第二境界也。“众里寻他千百度,蓦然回首,那人却在灯火阑珊处。”此第三境界也。学习技术,这也是你必须经历的三种境界。第一层境界是说,学习的路是漫漫的,你必须做好充分的思想准备,如果半途而废还不如不要开始。这里,注
- Hadoop(二)对话单的操作
朱辉辉33
hadoop
Debug:
1、
A = LOAD '/user/hue/task.txt' USING PigStorage(' ')
AS (col1,col2,col3);
DUMP A;
//输出结果前几行示例:
(>ggsnPDPRecord(21),,)
(-->recordType(0),,)
(-->networkInitiation(1),,)
- web报表工具FineReport常用函数的用法总结(日期和时间函数)
老A不折腾
finereport报表工具web开发
web报表工具FineReport常用函数的用法总结(日期和时间函数)
说明:凡函数中以日期作为参数因子的,其中日期的形式都必须是yy/mm/dd。而且必须用英文环境下双引号(" ")引用。
DATE
DATE(year,month,day):返回一个表示某一特定日期的系列数。
Year:代表年,可为一到四位数。
Month:代表月份。
- c++ 宏定义中的##操作符
墙头上一根草
C++
#与##在宏定义中的--宏展开 #include <stdio.h> #define f(a,b) a##b #define g(a) #a #define h(a) g(a) int main() { &nbs
- 分析Spring源代码之,DI的实现
aijuans
springDI现源代码
(转)
分析Spring源代码之,DI的实现
2012/1/3 by tony
接着上次的讲,以下这个sample
[java]
view plain
copy
print
- for循环的进化
alxw4616
JavaScript
// for循环的进化
// 菜鸟
for (var i = 0; i < Things.length ; i++) {
// Things[i]
}
// 老鸟
for (var i = 0, len = Things.length; i < len; i++) {
// Things[i]
}
// 大师
for (var i = Things.le
- 网络编程Socket和ServerSocket简单的使用
百合不是茶
网络编程基础IP地址端口
网络编程;TCP/IP协议
网络:实现计算机之间的信息共享,数据资源的交换
协议:数据交换需要遵守的一种协议,按照约定的数据格式等写出去
端口:用于计算机之间的通信
每运行一个程序,系统会分配一个编号给该程序,作为和外界交换数据的唯一标识
0~65535
查看被使用的
- JDK1.5 生产消费者
bijian1013
javathread生产消费者java多线程
ArrayBlockingQueue:
一个由数组支持的有界阻塞队列。此队列按 FIFO(先进先出)原则对元素进行排序。队列的头部 是在队列中存在时间最长的元素。队列的尾部 是在队列中存在时间最短的元素。新元素插入到队列的尾部,队列检索操作则是从队列头部开始获得元素。
ArrayBlockingQueue的常用方法:
- JAVA版身份证获取性别、出生日期及年龄
bijian1013
java性别出生日期年龄
工作中需要根据身份证获取性别、出生日期及年龄,且要还要支持15位长度的身份证号码,网上搜索了一下,经过测试好像多少存在点问题,干脆自已写一个。
CertificateNo.java
package com.bijian.study;
import java.util.Calendar;
import
- 【Java范型六】范型与枚举
bit1129
java
首先,枚举类型的定义不能带有类型参数,所以,不能把枚举类型定义为范型枚举类,例如下面的枚举类定义是有编译错的
public enum EnumGenerics<T> { //编译错,提示枚举不能带有范型参数
OK, ERROR;
public <T> T get(T type) {
return null;
- 【Nginx五】Nginx常用日志格式含义
bit1129
nginx
1. log_format
1.1 log_format指令用于指定日志的格式,格式:
log_format name(格式名称) type(格式样式)
1.2 如下是一个常用的Nginx日志格式:
log_format main '[$time_local]|$request_time|$status|$body_bytes
- Lua 语言 15 分钟快速入门
ronin47
lua 基础
-
-
单行注释
-
-
[[
[多行注释]
-
-
]]
-
-
-
-
-
-
-
-
-
-
-
1.
变量 & 控制流
-
-
-
-
-
-
-
-
-
-
num
=
23
-
-
数字都是双精度
str
=
'aspythonstring'
- java-35.求一个矩阵中最大的二维矩阵 ( 元素和最大 )
bylijinnan
java
the idea is from:
http://blog.csdn.net/zhanxinhang/article/details/6731134
public class MaxSubMatrix {
/**see http://blog.csdn.net/zhanxinhang/article/details/6731134
* Q35
求一个矩阵中最大的二维
- mongoDB文档型数据库特点
开窍的石头
mongoDB文档型数据库特点
MongoDD: 文档型数据库存储的是Bson文档-->json的二进制
特点:内部是执行引擎是js解释器,把文档转成Bson结构,在查询时转换成js对象。
mongoDB传统型数据库对比
传统类型数据库:结构化数据,定好了表结构后每一个内容符合表结构的。也就是说每一行每一列的数据都是一样的
文档型数据库:不用定好数据结构,
- [毕业季节]欢迎广大毕业生加入JAVA程序员的行列
comsci
java
一年一度的毕业季来临了。。。。。。。。
正在投简历的学弟学妹们。。。如果觉得学校推荐的单位和公司不适合自己的兴趣和专业,可以考虑来我们软件行业,做一名职业程序员。。。
软件行业的开发工具中,对初学者最友好的就是JAVA语言了,网络上不仅仅有大量的
- PHP操作Excel – PHPExcel 基本用法详解
cuiyadll
PHPExcel
导出excel属性设置//Include classrequire_once('Classes/PHPExcel.php');require_once('Classes/PHPExcel/Writer/Excel2007.php');$objPHPExcel = new PHPExcel();//Set properties 设置文件属性$objPHPExcel->getProperties
- IBM Webshpere MQ Client User Issue (MCAUSER)
darrenzhu
IBMjmsuserMQMCAUSER
IBM MQ JMS Client去连接远端MQ Server的时候,需要提供User和Password吗?
答案是根据情况而定,取决于所定义的Channel里面的属性Message channel agent user identifier (MCAUSER)的设置。
http://stackoverflow.com/questions/20209429/how-mca-user-i
- 网线的接法
dcj3sjt126com
一、PC连HUB (直连线)A端:(标准568B):白橙,橙,白绿,蓝,白蓝,绿,白棕,棕。 B端:(标准568B):白橙,橙,白绿,蓝,白蓝,绿,白棕,棕。 二、PC连PC (交叉线)A端:(568A): 白绿,绿,白橙,蓝,白蓝,橙,白棕,棕; B端:(标准568B):白橙,橙,白绿,蓝,白蓝,绿,白棕,棕。 三、HUB连HUB&nb
- Vimium插件让键盘党像操作Vim一样操作Chrome
dcj3sjt126com
chromevim
什么是键盘党?
键盘党是指尽可能将所有电脑操作用键盘来完成,而不去动鼠标的人。鼠标应该说是新手们的最爱,很直观,指哪点哪,很听话!不过常常使用电脑的人,如果一直使用鼠标的话,手会发酸,因为操作鼠标的时候,手臂不是在一个自然的状态,臂肌会处于绷紧状态。而使用键盘则双手是放松状态,只有手指在动。而且尽量少的从鼠标移动到键盘来回操作,也省不少事。
在chrome里安装 vimium 插件
- MongoDB查询(2)——数组查询[六]
eksliang
mongodbMongoDB查询数组
MongoDB查询数组
转载请出自出处:http://eksliang.iteye.com/blog/2177292 一、概述
MongoDB查询数组与查询标量值是一样的,例如,有一个水果列表,如下所示:
> db.food.find()
{ "_id" : "001", "fruits" : [ "苹
- cordova读写文件(1)
gundumw100
JavaScriptCordova
使用cordova可以很方便的在手机sdcard中读写文件。
首先需要安装cordova插件:file
命令为:
cordova plugin add org.apache.cordova.file
然后就可以读写文件了,这里我先是写入一个文件,具体的JS代码为:
var datas=null;//datas need write
var directory=&
- HTML5 FormData 进行文件jquery ajax 上传 到又拍云
ileson
jqueryAjaxhtml5FormData
html5 新东西:FormData 可以提交二进制数据。
页面test.html
<!DOCTYPE>
<html>
<head>
<title> formdata file jquery ajax upload</title>
</head>
<body>
<
- swift appearanceWhenContainedIn:(version1.2 xcode6.4)
啸笑天
version
swift1.2中没有oc中对应的方法:
+ (instancetype)appearanceWhenContainedIn:(Class <UIAppearanceContainer>)ContainerClass, ... NS_REQUIRES_NIL_TERMINATION;
解决方法:
在swift项目中新建oc类如下:
#import &
- java实现SMTP邮件服务器
macroli
java编程
电子邮件传递可以由多种协议来实现。目前,在Internet 网上最流行的三种电子邮件协议是SMTP、POP3 和 IMAP,下面分别简单介绍。
◆ SMTP 协议
简单邮件传输协议(Simple Mail Transfer Protocol,SMTP)是一个运行在TCP/IP之上的协议,用它发送和接收电子邮件。SMTP 服务器在默认端口25上监听。SMTP客户使用一组简单的、基于文本的
- mongodb group by having where 查询sql
qiaolevip
每天进步一点点学习永无止境mongo纵观千象
SELECT cust_id,
SUM(price) as total
FROM orders
WHERE status = 'A'
GROUP BY cust_id
HAVING total > 250
db.orders.aggregate( [
{ $match: { status: 'A' } },
{
$group: {
- Struts2 Pojo(六)
Luob.
POJOstrust2
注意:附件中有完整案例
1.采用POJO对象的方法进行赋值和传值
2.web配置
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee&q
- struts2步骤
wuai
struts
1、添加jar包
2、在web.xml中配置过滤器
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.st