- 对于写作者最重要的两点:热情和分享
鱼和熊掌兼得
【热情】在开头,塔奇曼提到光有热情是不够的。但是,要想长期的坚持写作,没有热情是不行的。很多人都说,这是一个对写作者很优待的时代,也有很多人前仆后继的写作。在写作这条路上的人,始终很多,一些人来了,一些人走了,但是能坚持下来的却只有那么几个。不知道什么时候开始,写作变现这个词火了起来。不管是谁,都想来分一杯羹。可是写作变现真的没有这么容易,鱼哥说过,写作的人千千万万,能变现的也不过是其中的千分之一
- 学写作的第四天
石声藤
第四节如何坚持长期写下去?①摘要学好写作,重要的是持续性。如何坚持,就从淡化“坚持”这个词开始。做很多事,根本不是用坚持来驱动的,而是你清晰的认识,这件事很重要,你才坚持。②从本质认识写作的重要性意识决定人的行动。如果你从本质认识到某件事的重要性,即使没人逼你,你也会去坚持做,比如赚钱。认识写作的重要性,不认识,重新多学几遍第一节。③要让自己不断从写作中收益一件事能不断给你带来回报,是驱动你坚持做
- 一日禅
清心阁
今天突然对喂养这个词,有了一些感觉。喂是我主动,对方被动,而养呢,是我等待对方主动的过程。我每天对于我的身体要喂养一些什么呢?随心所欲的吃一些垃圾食品,那样绝对不妥,吃有营养的食品,特别是素食。对我的精神,喂养一些什么呢?消极的还是积极的。对我的孩子,对我的老公,对我的朋友呢?这也是我活着的意义的一部分吧。
- 好事多磨
红豆_
今天从店长那里学到了一个词,好事多磨。今天所发生的事情也让我深刻的领会了这个词的意义。原本定好今晚签合同,上午房东突然打来电话说他不想租给那两个女孩了。也就是我的客户,房东说,有其他人帮他找到了一个租客,价格就是他定的价格,不还价,并且押一付三。这一对比,我的客户一点优势都没有。可是客户明天就要搬家了,这个时候,上哪给客户找房子去,客户也上班,没有时间看房。听完房东的话,跟房东也商量了很久,房东很
- 养生和烟火气十足的生活
玉竹园
内经素问的第二篇四季调神大论中是故圣人不治已病,治未病,不治已乱,治未乱,此之谓也。夫病已成而后药之,乱已成而后治之,譬犹渴而穿井,斗而铸锥,不亦晚乎。小绵羊穴健脾穴提到养生这个词,你会不会觉得离自己很遥远认为是上年纪的大爷大妈的专属?有的人觉得自己年纪轻不需要,有些是我上有老下有小工作忙忙叨叨,哪有闲心和时间来养生?养生是个很宽泛的词,也很抽象,无从下手感到迷茫。相信在阅读的你也会有过这样的闪念
- 5条实操干货有效打造你的个人品牌
长安行动派
这是ZerK的第46篇原创相信大家对个人品牌这个词已经不在陌生。尤其是在知识付费的年代,你的个人品牌,就是你的标签!在《深度工作》中说到,在未来有三种人会越来越贵第一种人:能与机器对话,操纵机器的人。人工智能时代的到来,机器毕竟部分取代人类。第二种人:IP,知识产权或者文学潜在财产就像有些网上课程一周卖出的钱和一个机构卖一年一样多。价值99元的课程,10万人购买,是很常见的。爱产出大概就是10万✖
- 三维人生
墨尽言
这是我第一篇文章,说实在的,我也不知道该写点什么。其实在这里,永远都都有比自己强的人,也都会有后来居上者。其实,这又怎样?我们总有别人没有经历过的人生,总有别人不熟悉的技能。最近,我试着把个人努力思考的方向转换至另一面,我暂且将它称之为“三维人生”。何为三维人生呢?相信大家都听说过三维这个词吧,一般通常指的是空间上的三维(也可以自行百度一下),那因为我经常接触到三维软件。在软件中,会给你标示出一个
- 那些三观不正听了却很舒服的话
鱼籽酱文化
那些三观不正听了却很舒服的话,能让你瞬间释怀。你要和我一样痛苦,才算道歉。对于喜欢的人和事物,我永远都是双标。努力不一定会成功,但不努力真的很轻松。善解人意是什么东西?委屈我自己让你开心吗?喜欢胜过所有道理,原则抵不过我乐意。既往不咎,这个词太虚伪,它不适合我,我喜欢风水轮流转,给我往死里转。如果说话伤到了你,请别怀疑我的教养,我就是故意的。强扭的瓜不甜,但扭下来了我就开心。为什么要替别人考虑,我
- 2023-08-22我是医药代表4
山鹰53
。。。漫谈医药代表医药代表这个词,应该是出现在八十年达,第一代的医药代表是出自合资医药公司,我算是第二代的医药代表,那时的医药生产竞争还没有那么明显,第一次了解医药代表这个词,还是合资药厂西安杨森,那时医药代表主要的工作就是从学术上向医生宣传新药的知识,主要是组织学术研讨会议的形式,给医生发一发产品宣传资料,他们的产品是很独特的,所以市场反应都很好,胃动力药什么的,都是独一无二的。医药代表主要就是
- 多模态Transformer之文本与图像联合建模 - Transformer教程
shandianfk_com
ChatGPTTransformertransformer深度学习人工智能
大家好,今天我们来聊聊一个既前沿又有趣的话题——多模态Transformer,特别是文本与图像的联合建模。对于很多小伙伴来说,Transformer这个词已经不陌生了,但它不仅仅应用于自然语言处理,还能在图像处理、甚至是多模态数据的处理上大显身手。接下来,我会带大家深入了解什么是多模态Transformer,以及它是如何实现文本与图像的联合建模的。Transformer简介首先,我们简单回顾一下T
- 头脑风暴的正确打开方式
hongl127
我们对头脑风暴这个词并不陌生,我们能够看到一群人在会议室中进行的激烈而疯狂的头脑风暴。但是我们是否想过,一群人围在一起短时间内针对一个问题进行思想碰撞真的有效吗?怎么才是开展头脑风暴的正确方式呢?这里我将分享郝广才老师在《创意思维课》上介绍的内容,包括头脑风暴的四个原则、七个步骤和常见误区,以及开展真正有效头脑风暴的两个建议。头脑风暴必须要准守四个原则。原则一是,禁止批判。我们在开会的时候,不能批
- 面对容貌焦虑,请与自己和解
Alin曾玲
容貌焦虑,网络流行词,是指在放大颜值作用的环境下,很多人对于自己的外貌不够自信。关于“容貌焦虑”这个词,也许是随着年龄的增长,越发能体会到这个容貌焦虑的心情。岁月留下的眼纹、颈纹、下垂的苹果肌,失去灵动的双眼,还有生完小孩以后走形的身材等等。于是,越来越多的轻医美走进了我们的心底。其实在能力范围内若是能做一些后天的保养来延缓衰老的速度,我也是认可的。可若是盲目的一味追求外在完美,而忽视了内在的修行
- 这些景观代表着人做过的努力
Andylee
阅读《忧郁的热带》中列维斯特劳斯有关探险的记录内容时,就会想起斯文·赫定的游记。这两位巨匠的文字,都带着“精确”。我们不知道他们在游历之前针对自己陌生的疆域下过多少功夫。他们几乎没有放过在游历中所遇到的任何细微之处。在“观察”这个词语上,他们做到了事无巨细。与其期待他们的作品读到一些什么结论,还不如在这些看似闲笔的细节上多琢磨一下。这些细节对于读者的帮助更大。在提及对于“细节的观察”这个环节上,有
- 你被卷了吗?地产人
地产人观察日记
最近有点儿文思泉涌,更文积极性大增,主要是有自己想说的话题!内卷,本是一个社会学术语,现在用来代指非理性的内部竞争!最开始这个词频繁的用在互联网行业中,近一段时间开始蔓延到各行各业。01学历内卷在2020年地产行业人才报告中,地产行业本科学历人才占比67.06%,硕士及以上学历人才占11.4%。而在2018年的同类数据中,地产行业本科以上学历占比76%,本科学历64%,硕士学历10%,博士及博士后
- 这个队长有点撩 第17章 泛黄的记忆
世界有那么多人
世界有那么多人著这时,夏晴柔打来了电话。“你还想去家里吃饭吗?要不我带你去一个新开的法式餐厅吃吧,下回再去我家吧。”“好,就听师父的。”“不好,除了‘师父’这个词,我想要你给我起一个特别的称呼,专属于我的称呼,好不好?”他低沉的声线里夹杂着一丝委屈的情绪,仿佛转了几个弯,甜得能腻死人。那深邃的眸子闪着丝丝光亮,像夜空中璀璨的星辰。浓密的长睫垂了下来,棱角分明的脸上噙着一抹狡黠的笑。江嘉叹了一口气,
- 莆田鞋到底值不值得买 见识一下真正的莆田鞋是什么样子
优鞋之家
莆田鞋到底值不值得买见识一下真正的莆田鞋是什么样子“衣带渐宽终不悔,为伊消得人憔悴”,历史上的爱情故事告诉我们执着的追求无可厚非,即使是对于一双美鞋的执念。莆田鞋,这个词汇一度在鞋迷心中掀起波澜,有人因其而疯狂,有人因其而迷惘。那么,莆田鞋值不值得买?在这个时尚高速发展的时代,理由总是比怀疑更加动人。QQ图片20240110215905.jpg莆田鞋买的人多吗?答案是肯定的,它的受欢迎程度可见一斑
- 2021年1月9日学习复盘
幽韵离殇
知识焦虑是因为对未知的焦虑,也可以说是因为认识到自己的不足以后,想要让自己变得更加优秀或者说不那么无知而对知识产生的一种焦虑。知识焦虑表现为喜欢屯书、各种课程,但是花钱买的书和课程有几个是100%学完的?我也很喜欢屯,在没有了解这个词汇的时候,我觉得自己是不是有喜欢屯东西的习惯。书和课程都屯了,但是基本上都没有怎么学,也是今年做了计划和改变,才渐渐把这些课程给重新规划起来。昨天学了老师的“运用断舍
- 凭什么嘲讽小镇做题家?
Lei_7897
最近小镇做题家这个词实在火出圈,在简单了解后不由得感慨,我们越经历越多的人看不清历史,分不清我们的历史任务了。小镇做题家在我看来是适当抛弃综合发展,把精力放在高考上的学生们。在我看来,他们最有着吃苦的本事,是具有勇气向上攀登的勇者,也是我们社会真正的普通人应该做的事情。我们还需要小镇做题家们,首先我们总人口拥有的高素质人才的比例远低于西方发达国家,特别是本科生;其次,这些“生活在小镇上的人”才是我
- 听书:《清醒地活》
WEde诗和远方
读完本文约需35分钟讲今天这本书需要勇气,听今天这本书更需要勇气,这本书的名字叫作《清醒地活》。需要勇气的原因是听不懂的人听完会说这本书是心灵鸡汤,内容不可信。但是听懂的人就会觉得这本书醍醐灌顶,我就是用这个词来描述我读完后的感受。读完这本书到今天,我已经有半个多月的时间没有生过气了,我的心情始终保持在平静和喜悦的状态当中,但并不是这半个月没有发生任何令我生气的事,而是我不需要生气,因为这本书给了
- 亲人之间的爱
123重新看见
这几天抽时间刷都挺好,演的确实好啊,我对好的概念就是让人看了一眼就不由自主不想换台,不想关手机能继续看下去,让你不停的追剧,没事就在想里面的人物剧情,这是演的非常好了,这部剧就是后者。这几年原生家庭这个词很火,但这么赤裸裸的把重男轻女,自私自利,原生家庭对孩子造成不同的影响,这些不那么正能量的话题以电视剧的形式播出还真是不多见,刚开始苏明玉妈妈去世了,我们看到的是一个冷漠无情的女儿,一滴眼泪没留,
- 外贸人的日常分享:话术 vs 产品
外贸赶路人Michael
facebook微信开放平台微信公众平台
最近在做外贸的过程中,总是听到有人在谈【话术】。这个词如今似乎已经被“用烂”了,搞得大家都在追求更好的话术,好像一套好的话术就能包打天下,把客户“拿捏”得稳稳的。老板们更是三天两头挂在嘴边:“这个客户不下单,肯定是你的话术不行!”其实,话术在外贸中确实很重要,是沟通的桥梁,是你和客户建立信任的工具。但是,一味地强调话术,却忽视了最根本的东西——产品,才是问题的关键。有些老板上了几节所谓的管理课、开
- 想要最大限度减少前交叉韧带损伤?你需要的是学会如何正确的跳跃和落地
前叉之家
如果你已经不幸遭受了前交叉韧带(ACL)损伤,那么你肯定了解这种伤害有多么的痛苦,前交叉韧带撕裂或者断裂会让患者丢失部分甚至丧失很多剧烈运动的能力,若想要恢复这些丢失的运动能力,必须通过重建手术来帮助恢复前交叉韧带的功能。一般在前交叉韧带受伤之后,您需要与康复治疗师一起进行一系列康复运动,这些康复能够帮助你恢复关节活动度(简称ROM,你可能见过这个词但不知道意思)、力量以及减少关节的肿胀和疼痛。通
- 浅读《韭菜的自我修养》
景琛
这几天,断断续续把笑来老师的《韭菜的自我修养》看完了。老师只花了两三天写了这本小册子,我等粉丝就甘愿掏腰包买单,老师的个人品牌溢价可是真的高!而老师的营销能力是真强,专门在今日头条做了一个微访谈为自己的新书造势,这个访谈总共问了11个问题,就有8处回答提到了新书,这完全就是在打广告啊。我拿到书本身就晚了些,老师所说的最诚意之作是必须要读的。“韭菜”这个词在小册子中出现了185次。所谓的“韭菜”,指
- 凡事不可过度,留点距离才能产生美
紜魚
作者:紜魚成年人的世界里少点矫情,除非你有个坚实的后盾,不然还是要实在点的。有人说:既然矫情这个词用多了会惹人指指点点,那么让自己有一颗玻璃心总行吧。其实还是想给矫情找借口,如果玻璃心摔碎了怎么办?人总要活得实在点的,你的生活你的心情都是需要自己来维护的。总是想着寻求一个庇护,只会让自己陷进更深的泥潭里无法自拔。就像和好友去商场购物,你想要买个合适的花篮。面对着几个形态各异的花篮,你喜欢蓝色的,好
- 一个心理学小白对“躺平”的理解
作家小渡渡
最近,网络上有一个热词,叫“躺平”。我对这个词的最初理解,始于儿子前一段时间表现出的无所欲,对什么都不感兴趣,对什么都不在乎。本来正是青春绽放中的他,却沉迷于手机、沉迷于游戏和玄幻小说,几次被老师请家长。直到我在网上见到了“躺平”这个词,我才对儿子前段时间的表现有了一定的理解。作为一个业余时间学习了四五年心理学的“心理学小白”,我也谈谈对这个热词的理解。“躺平”是一个新潮的网络热语,它是指放弃反抗
- 看书学习的意义
静月月
看到这个标题我想起了之前看过一篇文章里的“低品质勤奋者”这个词。大概意思是说面对各种爆炸信息我们盲目追求看书,报学习班,把自己累成狗,看似很勤奋实质上并没有什么结果的一类人群。我估计大家都不喜欢去做这种出力不讨好的事情吧。我有一段时间也是一直处于这种状态:每天一醒来首先拿起手机,各种APP签到。新闻热点要关注,知识星球的更新内容要学习,朋友圈又有人发了免费领取资料或者限时优惠的社群学习机会都是不能
- 热点
黯然小混账
最近耳朵里总出现FT这个词,火的很,所以我觉得我还是不看了,因为看了怕忍不住加单,但这样做明明是错的,我始终觉得人性就是人性,贪婪和欲望对于大多人都无法抗拒,就像你看见很多币涨,形势一片大好,你就会想再买,你想赚钱,就会想更多的赚钱一样。但是往往事与愿违,主要你敢买,它就敢跌。比如HT,它悄悄涨的时候没太多人注意,但是它涨起来以后,反而各种利好消息不断,然后很多人开买,认定必到100,结果发现跌下
- 除了你自己,谁也不可以对你“不”
森林树
书名:《谁说你不能坚持》作者:程龙出版社:电子工业出版社字数:244K阅读者:森林树阅读时间:3小时看名字就知道了,这是一本教读者如何坚持的一本书。“坚持”这个词因为今年罗胖的跨年演讲,变得格外火爆。但是这个词绝对不是因为罗胖才有影响力的,只是今年才这么傲娇地出现在大众的视野里,让人们知道它的重要性。很多在“坚持”这件事上坚持的人,都在我意识到坚持很重要时就已经成功了,比如每天坚持录60秒语音的罗
- 我们要不要及时行乐?
变成了一朵云
网课截图,可能和内容不是很吻合,见谅哈作为年轻人,我们到底要不要及时行乐?今天上网课时,受到老师的话的触动,突然想到这个问题。于是下课后,我仔细思索了一下。为了讨论这个词,我特意去百度了一下。百度词条中,及时行乐意思是:不失时机,寻欢作乐。出自汉乐府《西门行》诗:“夫为乐,为乐当及时。”现在我们很多年轻人,甚至包括之前的我自己,都觉得及时行乐没什么不好的啊?人生嘛,享受当下最重要,毕竟你不知道明天
- 2022年适合宝妈做的副业都有哪些?
优惠券高省
近几年,副业这个词是越来越火了,越来越多人在本职工作之外做一些副业,或者有想做副业的想法。毕竟,爱情可以不搞,但钱必须得搞。大家普遍的认知是,副业是在上班的同时,利用业余时间做一份兼职。这样的理解也没有错,但如果仅仅把副业当成一份赚取短期收入、补贴家用的兼职,那就把副业看窄了。在我看来,真正的副业,不是短期获利这么简单,而是要看这件事是否有长期发展的潜力,这份副业能不能发挥自己的价值。其实一般做副
- Java序列化进阶篇
g21121
java序列化
1.transient
类一旦实现了Serializable 接口即被声明为可序列化,然而某些情况下并不是所有的属性都需要序列化,想要人为的去阻止这些属性被序列化,就需要用到transient 关键字。
- escape()、encodeURI()、encodeURIComponent()区别详解
aigo
JavaScriptWeb
原文:http://blog.sina.com.cn/s/blog_4586764e0101khi0.html
JavaScript中有三个可以对字符串编码的函数,分别是: escape,encodeURI,encodeURIComponent,相应3个解码函数:,decodeURI,decodeURIComponent 。
下面简单介绍一下它们的区别
1 escape()函
- ArcgisEngine实现对地图的放大、缩小和平移
Cb123456
添加矢量数据对地图的放大、缩小和平移Engine
ArcgisEngine实现对地图的放大、缩小和平移:
个人觉得是平移,不过网上的都是漫游,通俗的说就是把一个地图对象从一边拉到另一边而已。就看人说话吧.
具体实现:
一、引入命名空间
using ESRI.ArcGIS.Geometry;
using ESRI.ArcGIS.Controls;
二、代码实现.
- Java集合框架概述
天子之骄
Java集合框架概述
集合框架
集合框架可以理解为一个容器,该容器主要指映射(map)、集合(set)、数组(array)和列表(list)等抽象数据结构。
从本质上来说,Java集合框架的主要组成是用来操作对象的接口。不同接口描述不同的数据类型。
简单介绍:
Collection接口是最基本的接口,它定义了List和Set,List又定义了LinkLi
- 旗正4.0页面跳转传值问题
何必如此
javajsp
跳转和成功提示
a) 成功字段非空forward
成功字段非空forward,不会弹出成功字段,为jsp转发,页面能超链接传值,传输变量时需要拼接。接拼接方式list.jsp?test="+strweightUnit+"或list.jsp?test="+weightUnit+&qu
- 全网唯一:移动互联网服务器端开发课程
cocos2d-x小菜
web开发移动开发移动端开发移动互联程序员
移动互联网时代来了! App市场爆发式增长为Web开发程序员带来新一轮机遇,近两年新增创业者,几乎全部选择了移动互联网项目!传统互联网企业中超过98%的门户网站已经或者正在从单一的网站入口转向PC、手机、Pad、智能电视等多端全平台兼容体系。据统计,AppStore中超过85%的App项目都选择了PHP作为后端程
- Log4J通用配置|注意问题 笔记
7454103
DAOapachetomcatlog4jWeb
关于日志的等级 那些去 百度就知道了!
这几天 要搭个新框架 配置了 日志 记下来 !做个备忘!
#这里定义能显示到的最低级别,若定义到INFO级别,则看不到DEBUG级别的信息了~!
log4j.rootLogger=INFO,allLog
# DAO层 log记录到dao.log 控制台 和 总日志文件
log4j.logger.DAO=INFO,dao,C
- SQLServer TCP/IP 连接失败问题 ---SQL Server Configuration Manager
darkranger
sqlcwindowsSQL ServerXP
当你安装完之后,连接数据库的时候可能会发现你的TCP/IP 没有启动..
发现需要启动客户端协议 : TCP/IP
需要打开 SQL Server Configuration Manager...
却发现无法打开 SQL Server Configuration Manager..??
解决方法: C:\WINDOWS\system32目录搜索framedyn.
- [置顶] 做有中国特色的程序员
aijuans
程序员
从出版业说起 网络作品排到靠前的,都不会太难看,一般人不爱看某部作品也是因为不喜欢这个类型,而此人也不会全不喜欢这些网络作品。究其原因,是因为网络作品都是让人先白看的,看的好了才出了头。而纸质作品就不一定了,排行榜靠前的,有好作品,也有垃圾。 许多大牛都是写了博客,后来出了书。这些书也都不次,可能有人让为不好,是因为技术书不像小说,小说在读故事,技术书是在学知识或温习知识,有些技术书读得可
- document.domain 跨域问题
avords
document
document.domain用来得到当前网页的域名。比如在地址栏里输入:javascript:alert(document.domain); //www.315ta.com我们也可以给document.domain属性赋值,不过是有限制的,你只能赋成当前的域名或者基础域名。比如:javascript:alert(document.domain = "315ta.com");
- 关于管理软件的一些思考
houxinyou
管理
工作好多看年了,一直在做管理软件,不知道是我最开始做的时候产生了一些惯性的思维,还是现在接触的管理软件水平有所下降.换过好多年公司,越来越感觉现在的管理软件做的越来越乱.
在我看来,管理软件不论是以前的结构化编程,还是现在的面向对象编程,不管是CS模式,还是BS模式.模块的划分是很重要的.当然,模块的划分有很多种方式.我只是以我自己的划分方式来说一下.
做为管理软件,就像现在讲究MVC这
- NoSQL数据库之Redis数据库管理(String类型和hash类型)
bijian1013
redis数据库NoSQL
一.Redis的数据类型
1.String类型及操作
String是最简单的类型,一个key对应一个value,string类型是二进制安全的。Redis的string可以包含任何数据,比如jpg图片或者序列化的对象。
Set方法:设置key对应的值为string类型的value
- Tomcat 一些技巧
征客丶
javatomcatdos
以下操作都是在windows 环境下
一、Tomcat 启动时配置 JAVA_HOME
在 tomcat 安装目录,bin 文件夹下的 catalina.bat 或 setclasspath.bat 中添加
set JAVA_HOME=JAVA 安装目录
set JRE_HOME=JAVA 安装目录/jre
即可;
二、查看Tomcat 版本
在 tomcat 安装目
- 【Spark七十二】Spark的日志配置
bit1129
spark
在测试Spark Streaming时,大量的日志显示到控制台,影响了Spark Streaming程序代码的输出结果的查看(代码中通过println将输出打印到控制台上),可以通过修改Spark的日志配置的方式,不让Spark Streaming把它的日志显示在console
在Spark的conf目录下,把log4j.properties.template修改为log4j.p
- Haskell版冒泡排序
bookjovi
冒泡排序haskell
面试的时候问的比较多的算法题要么是binary search,要么是冒泡排序,真的不想用写C写冒泡排序了,贴上个Haskell版的,思维简单,代码简单,下次谁要是再要我用C写冒泡排序,直接上个haskell版的,让他自己去理解吧。
sort [] = []
sort [x] = [x]
sort (x:x1:xs)
| x>x1 = x1:so
- java 路径 配置文件读取
bro_feng
java
这几天做一个项目,关于路径做如下笔记,有需要供参考。
取工程内的文件,一般都要用相对路径,这个自然不用多说。
在src统计目录建配置文件目录res,在res中放入配置文件。
读取文件使用方式:
1. MyTest.class.getResourceAsStream("/res/xx.properties")
2. properties.load(MyTest.
- 读《研磨设计模式》-代码笔记-简单工厂模式
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
package design.pattern;
/*
* 个人理解:简单工厂模式就是IOC;
* 客户端要用到某一对象,本来是由客户创建的,现在改成由工厂创建,客户直接取就好了
*/
interface IProduct {
- SVN与JIRA的关联
chenyu19891124
SVN
SVN与JIRA的关联一直都没能装成功,今天凝聚心思花了一天时间整合好了。下面是自己整理的步骤:
一、搭建好SVN环境,尤其是要把SVN的服务注册成系统服务
二、装好JIRA,自己用是jira-4.3.4破解版
三、下载SVN与JIRA的插件并解压,然后拷贝插件包下lib包里的三个jar,放到Atlassian\JIRA 4.3.4\atlassian-jira\WEB-INF\lib下,再
- JWFDv0.96 最新设计思路
comsci
数据结构算法工作企业应用公告
随着工作流技术的发展,工作流产品的应用范围也不断的在扩展,开始进入了像金融行业(我已经看到国有四大商业银行的工作流产品招标公告了),实时生产控制和其它比较重要的工程领域,而
- vi 保存复制内容格式粘贴
daizj
vi粘贴复制保存原格式不变形
vi是linux中非常好用的文本编辑工具,功能强大无比,但对于复制带有缩进格式的内容时,粘贴的时候内容错位很严重,不会按照复制时的格式排版,vi能不能在粘贴时,按复制进的格式进行粘贴呢? 答案是肯定的,vi有一个很强大的命令可以实现此功能 。
在命令模式输入:set paste,则进入paste模式,这样再进行粘贴时
- shell脚本运行时报错误:/bin/bash^M: bad interpreter 的解决办法
dongwei_6688
shell脚本
出现原因:windows上写的脚本,直接拷贝到linux系统上运行由于格式不兼容导致
解决办法:
1. 比如文件名为myshell.sh,vim myshell.sh
2. 执行vim中的命令 : set ff?查看文件格式,如果显示fileformat=dos,证明文件格式有问题
3. 执行vim中的命令 :set fileformat=unix 将文件格式改过来就可以了,然后:w
- 高一上学期难记忆单词
dcj3sjt126com
wordenglish
honest 诚实的;正直的
argue 争论
classical 古典的
hammer 锤子
share 分享;共有
sorrow 悲哀;悲痛
adventure 冒险
error 错误;差错
closet 壁橱;储藏室
pronounce 发音;宣告
repeat 重做;重复
majority 大多数;大半
native 本国的,本地的,本国
- hibernate查询返回DTO对象,DTO封装了多个pojo对象的属性
frankco
POJOhibernate查询DTO
DTO-数据传输对象;pojo-最纯粹的java对象与数据库中的表一一对应。
简单讲:DTO起到业务数据的传递作用,pojo则与持久层数据库打交道。
有时候我们需要查询返回DTO对象,因为DTO
- Partition List
hcx2013
partition
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.
You should preserve the original relative order of th
- Spring MVC测试框架详解——客户端测试
jinnianshilongnian
上一篇《Spring MVC测试框架详解——服务端测试》已经介绍了服务端测试,接下来再看看如果测试Rest客户端,对于客户端测试以前经常使用的方法是启动一个内嵌的jetty/tomcat容器,然后发送真实的请求到相应的控制器;这种方式的缺点就是速度慢;自Spring 3.2开始提供了对RestTemplate的模拟服务器测试方式,也就是说使用RestTemplate测试时无须启动服务器,而是模拟一
- 关于推荐个人观点
liyonghui160com
推荐系统关于推荐个人观点
回想起来,我也做推荐了3年多了,最近公司做了调整招聘了很多算法工程师,以为需要多么高大上的算法才能搭建起来的,从实践中走过来,我只想说【不是这样的】
第一次接触推荐系统是在四年前入职的时候,那时候,机器学习和大数据都是没有的概念,什么大数据处理开源软件根本不存在,我们用多台计算机web程序记录用户行为,用.net的w
- 不间断旋转的动画
pangyulei
动画
CABasicAnimation* rotationAnimation;
rotationAnimation = [CABasicAnimation animationWithKeyPath:@"transform.rotation.z"];
rotationAnimation.toValue = [NSNumber numberWithFloat: M
- 自定义annotation
sha1064616837
javaenumannotationreflect
对象有的属性在页面上可编辑,有的属性在页面只可读,以前都是我们在页面上写死的,时间一久有时候会混乱,此处通过自定义annotation在类属性中定义。越来越发现Java的Annotation真心很强大,可以帮我们省去很多代码,让代码看上去简洁。
下面这个例子 主要用到了
1.自定义annotation:@interface,以及几个配合着自定义注解使用的几个注解
2.简单的反射
3.枚举
- Spring 源码
up2pu
spring
1.Spring源代码
https://github.com/SpringSource/spring-framework/branches/3.2.x
注:兼容svn检出
2.运行脚本
import-into-eclipse.bat
注:需要设置JAVA_HOME为jdk 1.7
build.gradle
compileJava {
sourceCompatibilit
- 利用word分词来计算文本相似度
yangshangchuan
wordword分词文本相似度余弦相似度简单共有词
word分词提供了多种文本相似度计算方式:
方式一:余弦相似度,通过计算两个向量的夹角余弦值来评估他们的相似度
实现类:org.apdplat.word.analysis.CosineTextSimilarity
用法如下:
String text1 = "我爱购物";
String text2 = "我爱读书";
String text3 =