- ARM中断处理过程
落汤老狗
嵌入式linux
一、前言本文主要以ARM体系结构下的中断处理为例,讲述整个中断处理过程中的硬件行为和软件动作。具体整个处理过程分成三个步骤来描述:1、第二章描述了中断处理的准备过程2、第三章描述了当发生中的时候,ARM硬件的行为3、第四章描述了ARM的中断进入过程4、第五章描述了ARM的中断退出过程本文涉及的代码来自3.14内核。另外,本文注意描述ARM指令集的内容,有些sourcecode为了简短一些,删除了T
- 马小秋 秋言物语直播间 |如何唤醒被利益熏心、忘本忘恩之人?
秋言物语
看到这个话题,马小秋十分赞同做人不能忘本忘恩。马小秋认为,首先要知道,我们是中国人,是龙的传人,那么我们的“本”究竟是什么呢?马小秋认为,我们的“本”是老祖宗传承下来的中华优秀传统文化,比如四书五经、《弟子规》、《道德经》等等,这些都是我们千百年来一脉相承的文化之根、为人之本。记得在2018年的“硅谷龙(纽约)峰会”上,马小秋跟在座的华人朋友、外国友人介绍了《道德经》,分享了《道德经》教给我们做人
- 请用幸福影响他人,请不要看不惯别人
吕氏春秋驴驴
这个世间包罗万象,这个世间丰富多彩,这个世间色彩缤纷。。。。。如果只一种模式,一种色彩,一种花朵,一样容颜,一种人,一个思想。。。。。多么无趣啊!不管怎样的思想和生活方式只要能够安慰自己的心灵,能克服自己的恐惧感受祥和,充满生命的活力。。。。就是正确的活法。读了金刚经你会感觉博大精深空灵之美,看见基督徒你会感知被爱,易经道德经你会定位人生不纠结,读了鲁米你会跟宇宙自然神灵做朋友,人生无意义会让你珍
- 道德经·第十七章
制心一处_无为而无不为
道德经·第十七章【作者】老子【朝代】春秋时期[原文]太上①,不知有之②;其次,亲而誉之;其次,畏之;其次,侮之。信不足焉,有不信焉。悠兮③,其贵言④。功成事遂,百姓皆谓“我自然”⑤。[译文]最好的统治者,人民并不知道他的存在;其次的统治者,人民亲近他并且称赞他;再次的统治者,人民畏惧他;更次的统治者,人民轻蔑他。统治者的诚信不足,人民才不相信他,最好的统治者是多么悠闲。他很少发号施令,事情办成功了
- 道德经第九章
套马地汉纸
道德经第9章原文:持而盈之,不如其已;揣而锐之,不可长保。金玉满堂,莫之能守;富贵而骄,自遗其咎。功遂身退,天之道。译文:要求过分圆满,不如适可而止。不停锤打一个(金属)物体想使它尖锐得不再尖锐,那肯定是难保持长久的。金银玉帛满堂,谁又能永远守得住呢?富而又骄傲,一定会给自己留下祸根。功成名就以后,就该收敛退隐,这才符合自然的规律。事物的发展。总是运动变化的,自然界也罢,人世间也罢,欲望也罢,任何
- 129/365 给宝贝的第23封信:《道德经》第四章:道冲
珍珠能量站
亲爱的宝贝:今天周六,我在外学习,听几位创业讲师讲授创业的相关知识,一天共4个老师讲解了7个小时。之前线上培训了40个小时,听了这么多,我还是觉得只是窥见皮毛。可见任何一个领域,都可以深入下去,有无穷无尽的细节值得研究。但是任何一件事,也可以用一句话总结。比如“道可道,非常道”创业,我理解的核心是:创立一个业务,通过调配资源,满足用户的需要。至于创立什么样的业务?调配哪些资源?满足用户什么需要?如
- 《道德经》第七十二章 民不畏威
AleoR
民不畏威,则大威至。无狭其所居,无厌其所生。夫唯不厌,是以不厌。是以圣人自知不自见,自爱不自责。故去彼取此。
- 交错时光的爱恋【第五章】
苏羽花
第二天上马车,幻儿教无瑕认识几个简单的字,一早上就在写字中度过。下午幻儿就与无忌共乘一匹马。因为在她的缠功之下,使得石无忌只好点头答应。列出一长串三年以来北方上门求亲的名单。幻儿发现,举凡世家公子多为纨挎子弟不成材者!商人子弟尤为流气。她可要小心注意了,石家财大业大,生下的后代可别也成了那般!教育绝对不可缺,她背靠在丈夫怀中念着:“高大平,擅长调戏下女、上妓院。方天恩,好赌成性、挥霍无度。就只有这
- “无”,有大用
我若盛开
2021/7/7日更36/100网图,侵删《道德经》节选解析“三十辐,共一毂;当其无,有车之用。埏埴以为器,当其无,有器之用。凿户牖以为室,当其无,有室之用。故有之以为利,无之以为用。”译文:三十根辐条汇集到一根毂的孔洞当中,有了车毂中空的地方,才有车的作用。揉和陶土做成器皿,有了器具中空的地方,才有器皿的作用。开凿门窗建造房屋,有了门窗四壁内的空虚部分,才有房屋的作用。所以,“有”只是提供了条件
- 读《道德经》28
华南帝虎
甘德礼(读《道德经》28)原创分享609+277天,光山心协智慧父母课堂持续分享第262天原文知其雄,守其雌,为天下谿。为天下谿,常德不离,复归于婴儿。知其白,守其黑,为天下式。为天下式,常德不忒,复归于无极。知其荣,守共辱,为天下谷。为天下谷,常徳乃足,复归于朴。朴散则为器,圣人用之则为官长,故大制不割。译文越是自己雄强刚猛,越是要守得住雌柔安静,就像山间低凹的溪水样。像溪水一样,那规律性的德就
- 101个浪漫的点子..哈哈有需要可以试试...中英对照~
Hecks
学习心得IDEAUPGo音乐网页游戏
Thisisafreebonusversionof101RomanticIdeas.Feelfreetoforwardtoormakecopiesforyourfriends.下面是101个浪漫的点子。可随意转发给你的朋友们IDEA#1点子1Ifyourpartnerisgoingawayforafewdays,tellherthatyouareworriedabouthersoyouhaveor
- 【道德经】第二十四章 企者不立
稀土永磁Amy
企者不立,跨者不行。自见者不明,自是者不彰,自伐者无功,自矜者不长。其于道也,曰余食赘行,物或恶之,故有道者不处也。踮起脚跟,想要站得高的人反而站不稳;跳跃式地前行的人反而走不远。自我显摆的人,反而难以显明;自以为是的人,其优点反而得不到彰显;自吹自擂的人,有功劳也没人承认;自高自大的人,难以成为领袖人物。
- 《道德经》第四十八章1
清风8351
第48章为学日益第一节【原文】为学日益①,为道日损②。损之又损,以至于无为。无为而无不为。【注释】①益:作“增加”讲。②损:作“减少”讲。【译文】追求学问的人,知识一天比一天增加。追求大“道”的人,欲念一天比一天减少,私欲减少再减少,就达到了无为的境地。如果能够做到无为,即不妄为,就没有什么事情是做不成的了。【解析】老子本章开篇就阐述了为学和为道的不同。他指出:为学就是坚持不懈地向外界探索新知,知
- 道德经·第二十六章
李问寸
原文:重为轻根,静为躁君,是以君子终日行,不离辎重;虽有荣观燕处,超然。奈何以万乘之主,而以身轻天下?轻则失本,躁则失君。译文:厚重是轻率的根本,静定是躁动的主宰。因此君子终日行走,不离开载装行李的车辆。虽然有美食胜景吸引着他,却能安然处之。为什么大国的君主,还要轻率躁动以治天下呢?轻率就会失去根本;急躁就会丧失主导。此章宣讲根的教法,道法自然就是归根,复性就是道法自然。什么是根呢?对于树来讲,根
- 2022-11-02
丛培国
【日精进打卡第1702天】【知~学习】《六项精进》《大学》【读书】1、《董明珠传》OK2、《活法》二遍OK3、《心》OK4、《干法》OK5、《可复制的领导力》OK6、《把信送给加西亚》OK7、《思维方式》OK8、《不抱怨的世界》OK9、《六项精进》OK10、《京瓷哲学》OK11、《心若菩提》OK12、《任正非传》13、《道德经说什么》00814、《中南海》11015、《素直之心》OK16、《经营者
- 《人生只有一件事》Day9
麗華
第五章:高效人生1、“听话”的效能你听我的,我就听你的,人和人的关系就这么简单,仅此而已。这么简单的道理主要有两个原因:其一,我们太执着于是非对错,觉得自己的看法精辟、有道理,所以别人一定会听;其二,我们太沉迷于自己的角色,觉得自己是老板、主管、父母、老师、前辈,所以别人必须听我们的。这一点,我做的不够好。和孩子沟通经常听到一半,发现说的不对,就打断孩子的话,说出自己的观点。导致孩子也很生气,会经
- 坤燕亲子日记第1063之和孩子讲述妈妈小时候的故事
坤燕_634c
坤燕亲子日记第1063之和孩子讲述妈妈小时候的故事亲子共读记录之小猪2101天共读时间:睡前共读时长:50分钟共读书目:中国历史5数字家园英文动画片猜猜我有多爱你亲子共读记录之阳阳12年+201天诗一首道德经第47章睡前聊天早上读诗,中午读史,晚上读经,我真是太幸福了,托两个孩子的福得以重新上一次学,读一读诗歌,讲一讲历史,还能读经。中午读史时,阳走开了会儿,我还是继续读,小猪说,先别读,等姐姐来
- 2018-05-15
木木_be35
(稻盛哲学学习会)打卡第62天姓名:柳琳部门:开发部组别:待定【知~学习】诵读《活法》第五章踏着人生的正道,走向光明的未来【内容感悟分享】原句分享:正因为“人为万物之灵”,所以上苍赋予了人类极为重大的任务。因此,我们有义务了解这个任务,认识自己的使命,尽一生的努力去磨炼灵魂。为了让灵魂比降生时更为美好,我们必须精进再精进。人为什么活着?我认为答案也在这里。认同先生的观点,原本我认为人来到这个世上的
- 长篇连载小说 叹春风
尤婆姨lilly
第五章1骤然间,世面萧条。因纸币突兀贬值,街面冷清,难得见着黄包车。顾老板立在街角半晌,才见着车,商量价格,撩起长袍坐了。自然又跑去神婆家溜达一圈。他想阿兰这小骚货越发离谱了,一个窑子的人都要瞅她脸色吃饭,连老板也得礼让三分。还给不给人活?真憋屈!偏是阿兰最得势,最有钱。姑娘们来来去去的多了,几个能捞得者恁多家私?谁不眼红?谁不馋?万一阿兰真死在他这儿?那恁大的家私该是谁的?趟或人当真死了,那等人
- 《道德经》第五十四章赏析
旭日老师
【原文】善建者不拔,善抱①者不脱,子孙以祭祀不辍②。修之于身,其德乃真;修之于家,其德乃余;修之于乡,其德乃长③;修之于邦④,其德乃丰;修之于天下,其德乃普。故以身观身,以家观家,以乡观乡⑤,以邦观邦,以天下观天下。吾何以知天下然哉?以此。【注释】1.抱:抱住、守住、固定、牢固。此句为善于抱住初心不改的不轻易放弃。一说为守住天下,与建立天下相对。2.子孙以祭祀不辍:辍,停止、断绝、终止。此句意为:
- 【菊言菊语】和爱丽丝一起去“漫游”(五)
山中雏菊
思考:本节微课讲述了书中一些典故的来历。您对哪一个典故印象深刻?还有哪些书籍或诗词也引用了典故?今天的微课继续跟着爱丽丝一起去漫游,《爱丽丝漫游奇境记》荒诞不经的故事情节让全世界的人们都为之疯狂。书中引用大量典故,这是作者卡罗尔写作的又一特点。第三章《绕圈跑和尾巴》中征服者威廉;第五章《毛毛虫的劝告》中改编的诗歌;第六章《猪和胡椒》中“公爵”“柴郡猫”;第七章《疯狂的茶会》中“疯帽匠”“三月兔”“
- 艺凡读易中天中华史《百家争鸣》27
艺凡会发光
易中天中华史《百家争鸣》第五章:生存之道之两种活法两种道艺凡:老子的天,当真无情吗?易中天:无情。老子说得很清楚,天地不仁,以万物为刍狗。艺凡:什么意思?易中天:万物虽为天地所创造,所生成,天地却始用终弃,漠然视之,完全不当回事。这当然不仁,也无情。艺凡:那天地既然无情,为什么又说“天将救之,以慈卫之”,弱者都会得到呵护和救助?易中天:因为天道原本如此。老子说得非常清楚:天下之至柔,驰骋天下之至坚
- 古之善为士者——读《道德经》第十五章
十年一觉扬州梦_a7f1
原文:古之善为道者,微妙玄通,深不可识。夫唯不可识。故强为之容。豫兮若冬涉川,犹兮若畏四邻,俨兮其若客,涣兮若冰之将释,敦兮其若朴,旷兮其若谷,浑兮其若浊;孰能浊以静之徐清,孰能安逸动之徐生。保此道者不欲盈。夫唯不盈,故能蔽不新成。译文:古时有道之士是不可思议的,他胸中的智慧,深邃不易解。因为他不易解,所以要描述他的话,也只能勉强形容而已。他小心谨慎的样子好像冬天涉足于冰川;警觉戒惕的精神好像提防
- “第一步”“下一步”“再一步”“每一步”
雅州国明
工作中,我们要高度重视“第一步”。举棋要落子,走路要抬脚。《道德经》云,一生二,二生三,三生万物。没有“一”,就没有“二”,就不能接二连三。重视“第一步”,这是因为,如果不迈开第一步,那就只停留在想和说上,没法落到行和做上,老鼠给猫戴铃铛,你讨论千万遍,可能都找不出答案,但其并非无解,我们要树立“有解思维”,把外部因素、其他要素考虑进来,问题就迎刃而解,“借刀杀人”、“君子善假于物”之类的方法很多
- 《道德经》第三十章
南子阳
第三十章以道佐人主者,不以兵强天下。其事好还。师之所处,荆棘生焉。大军之后,必有凶年。善有果而已,不敢以取强。果而勿矜,果而勿伐,果而勿骄。果而不得已,果而勿强。物壮则老,是谓不道,不道早已。直译:以道佐人主者,(用道来辅佐君主的人,);不以兵强天下。(不用兵力来强对天下,);其事好还。(这样处事才会有好的回报。);师之所处,(军队所到过的地方,);荆棘生焉。(就会荆棘丛生。);大军之后,(大军战
- 《道德经》第四十章——物生于有,有生于无
彼岸
反者道之动。弱者道之用。天下万物生于有,有生于无。反:循环往复。弱:柔弱。有:有形物质,指有名称的物质。无:指无形之道。循环往复,是道运动的特点。柔弱,是道作用于万物的表现。天下万物产生于看得见的有形质,有形质又产生于不可见的无形质。本章强调的是道的特点,就是循环往复,以柔弱作用于万物,道就是这样无时无刻不在发挥自己的作用,宇宙万物都处在其支配中,从而无中生有,由中产生万物。而如果我们想要得道,就
- 5.1.3同位角、内错角、同旁内角教学设计
彭水432苏孝
一、内容分析《同位角、内错角、同旁内角》是人教版初中数学七年级下册第五章《相交线平行线》的第一节第三课时的内容。学生已经有了邻补角、对顶角的认识,在此基础上引出这节课,即由两条直线被第三条直线所截形成的八个角的位置关系——同位角、内错角、同旁内角。由于涉及到角的个数较多,位置复杂,很多同学难于理解掌握。二、教学目标1、理解“三线八角”中没有公共顶点的角的位置关系,知道什么是同位角、内错角、同旁内角
- 道德经每日读第二十八章
象浦
知其雄,守其雌,为天下溪。为天下溪,常德不离,复归于婴儿。知其白,守其辱,为天下谷。为天下谷,常德乃足,复归于朴。知其白,守其黑,为天下式。为天下式,常德不忒,复归于无极。朴散则为器,圣人用之,则为官长,故大智不割。【解释】知道什么是雄强,却安守柔弱,甘作天下的沟溪。甘作天下的沟溪,永恒的德就不会离失,回复到初生的婴儿的状态。明知什么是明亮,却安守黑暗,甘作天下的模式。甘作天下的模式,永恒的德就不
- 儿童文学概论(第五章 中国儿童文学历史发展概述)
考文学
编辑|考文学排版|考文学一、古代儿童文学遗产的范围:1民间文学:神话、传说、寓言、儿歌2古典文学3启蒙读物二、怎样看待我国现代之前的儿童文学?应从哪几方面去发掘我国史前儿童文学的遗产?对中国来说,儿童这个概念是在现代文学史上才出现的,所以我们把现代以前的儿童文学叫做史前儿童文学。在现代之前,我们克不曾把儿童当作文学的独立的独立的读者对象,但这并不表明我们就缺乏这方面的文学遗产;纵然我国古代的文学形
- 2023-09-06
万小平惟道是从_0e6f
时间:2023年09月05-06日姓名:万小平诵读道德经:今日诵读08遍,本月累计22遍!徒步20000步今日感悟:《工作生活就是我们修行的道场》昨天聊吧有老师分享说:在亲子教育存在一些问题,不知道该如何是好!?针对这个问题我们在亲子教育颇有建树的老师做了很全面的,很深入的分享,而且针对性地给了一些解决方法!…大家听后很受启发!非常感恩大家愿意来聊吧把自己的故事分享出来,您的这份真诚值得我们学习!
- 多线程编程之join()方法
周凡杨
javaJOIN多线程编程线程
现实生活中,有些工作是需要团队中成员依次完成的,这就涉及到了一个顺序问题。现在有T1、T2、T3三个工人,如何保证T2在T1执行完后执行,T3在T2执行完后执行?问题分析:首先问题中有三个实体,T1、T2、T3, 因为是多线程编程,所以都要设计成线程类。关键是怎么保证线程能依次执行完呢?
Java实现过程如下:
public class T1 implements Runnabl
- java中switch的使用
bingyingao
javaenumbreakcontinue
java中的switch仅支持case条件仅支持int、enum两种类型。
用enum的时候,不能直接写下列形式。
switch (timeType) {
case ProdtransTimeTypeEnum.DAILY:
break;
default:
br
- hive having count 不能去重
daizj
hive去重having count计数
hive在使用having count()是,不支持去重计数
hive (default)> select imei from t_test_phonenum where ds=20150701 group by imei having count(distinct phone_num)>1 limit 10;
FAILED: SemanticExcep
- WebSphere对JSP的缓存
周凡杨
WAS JSP 缓存
对于线网上的工程,更新JSP到WebSphere后,有时会出现修改的jsp没有起作用,特别是改变了某jsp的样式后,在页面中没看到效果,这主要就是由于websphere中缓存的缘故,这就要清除WebSphere中jsp缓存。要清除WebSphere中JSP的缓存,就要找到WAS安装后的根目录。
现服务
- 设计模式总结
朱辉辉33
java设计模式
1.工厂模式
1.1 工厂方法模式 (由一个工厂类管理构造方法)
1.1.1普通工厂模式(一个工厂类中只有一个方法)
1.1.2多工厂模式(一个工厂类中有多个方法)
1.1.3静态工厂模式(将工厂类中的方法变成静态方法)
&n
- 实例:供应商管理报表需求调研报告
老A不折腾
finereport报表系统报表软件信息化选型
引言
随着企业集团的生产规模扩张,为支撑全球供应链管理,对于供应商的管理和采购过程的监控已经不局限于简单的交付以及价格的管理,目前采购及供应商管理各个环节的操作分别在不同的系统下进行,而各个数据源都独立存在,无法提供统一的数据支持;因此,为了实现对于数据分析以提供采购决策,建立报表体系成为必须。 业务目标
1、通过报表为采购决策提供数据分析与支撑
2、对供应商进行综合评估以及管理,合理管理和
- mysql
林鹤霄
转载源:http://blog.sina.com.cn/s/blog_4f925fc30100rx5l.html
mysql -uroot -p
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[root@centos var]# service mysql
- Linux下多线程堆栈查看工具(pstree、ps、pstack)
aigo
linux
原文:http://blog.csdn.net/yfkiss/article/details/6729364
1. pstree
pstree以树结构显示进程$ pstree -p work | grep adsshd(22669)---bash(22670)---ad_preprocess(4551)-+-{ad_preprocess}(4552) &n
- html input与textarea 值改变事件
alxw4616
JavaScript
// 文本输入框(input) 文本域(textarea)值改变事件
// onpropertychange(IE) oninput(w3c)
$('input,textarea').on('propertychange input', function(event) {
console.log($(this).val())
});
- String类的基本用法
百合不是茶
String
字符串的用法;
// 根据字节数组创建字符串
byte[] by = { 'a', 'b', 'c', 'd' };
String newByteString = new String(by);
1,length() 获取字符串的长度
&nbs
- JDK1.5 Semaphore实例
bijian1013
javathreadjava多线程Semaphore
Semaphore类
一个计数信号量。从概念上讲,信号量维护了一个许可集合。如有必要,在许可可用前会阻塞每一个 acquire(),然后再获取该许可。每个 release() 添加一个许可,从而可能释放一个正在阻塞的获取者。但是,不使用实际的许可对象,Semaphore 只对可用许可的号码进行计数,并采取相应的行动。
S
- 使用GZip来压缩传输量
bijian1013
javaGZip
启动GZip压缩要用到一个开源的Filter:PJL Compressing Filter。这个Filter自1.5.0开始该工程开始构建于JDK5.0,因此在JDK1.4环境下只能使用1.4.6。
PJL Compressi
- 【Java范型三】Java范型详解之范型类型通配符
bit1129
java
定义如下一个简单的范型类,
package com.tom.lang.generics;
public class Generics<T> {
private T value;
public Generics(T value) {
this.value = value;
}
}
- 【Hadoop十二】HDFS常用命令
bit1129
hadoop
1. 修改日志文件查看器
hdfs oev -i edits_0000000000000000081-0000000000000000089 -o edits.xml
cat edits.xml
修改日志文件转储为xml格式的edits.xml文件,其中每条RECORD就是一个操作事务日志
2. fsimage查看HDFS中的块信息等
&nb
- 怎样区别nginx中rewrite时break和last
ronin47
在使用nginx配置rewrite中经常会遇到有的地方用last并不能工作,换成break就可以,其中的原理是对于根目录的理解有所区别,按我的测试结果大致是这样的。
location /
{
proxy_pass http://test;
- java-21.中兴面试题 输入两个整数 n 和 m ,从数列 1 , 2 , 3.......n 中随意取几个数 , 使其和等于 m
bylijinnan
java
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
public class CombinationToSum {
/*
第21 题
2010 年中兴面试题
编程求解:
输入两个整数 n 和 m ,从数列 1 , 2 , 3.......n 中随意取几个数 ,
使其和等
- eclipse svn 帐号密码修改问题
开窍的石头
eclipseSVNsvn帐号密码修改
问题描述:
Eclipse的SVN插件Subclipse做得很好,在svn操作方面提供了很强大丰富的功能。但到目前为止,该插件对svn用户的概念极为淡薄,不但不能方便地切换用户,而且一旦用户的帐号、密码保存之后,就无法再变更了。
解决思路:
删除subclipse记录的帐号、密码信息,重新输入
- [电子商务]传统商务活动与互联网的结合
comsci
电子商务
某一个传统名牌产品,过去销售的地点就在某些特定的地区和阶层,现在进入互联网之后,用户的数量群突然扩大了无数倍,但是,这种产品潜在的劣势也被放大了无数倍,这种销售利润与经营风险同步放大的效应,在最近几年将会频繁出现。。。。
如何避免销售量和利润率增加的
- java 解析 properties-使用 Properties-可以指定配置文件路径
cuityang
javaproperties
#mq
xdr.mq.url=tcp://192.168.100.15:61618;
import java.io.IOException;
import java.util.Properties;
public class Test {
String conf = "log4j.properties";
private static final
- Java核心问题集锦
darrenzhu
java基础核心难点
注意,这里的参考文章基本来自Effective Java和jdk源码
1)ConcurrentModificationException
当你用for each遍历一个list时,如果你在循环主体代码中修改list中的元素,将会得到这个Exception,解决的办法是:
1)用listIterator, 它支持在遍历的过程中修改元素,
2)不用listIterator, new一个
- 1分钟学会Markdown语法
dcj3sjt126com
markdown
markdown 简明语法 基本符号
*,-,+ 3个符号效果都一样,这3个符号被称为 Markdown符号
空白行表示另起一个段落
`是表示inline代码,tab是用来标记 代码段,分别对应html的code,pre标签
换行
单一段落( <p>) 用一个空白行
连续两个空格 会变成一个 <br>
连续3个符号,然后是空行
- Gson使用二(GsonBuilder)
eksliang
jsongsonGsonBuilder
转载请出自出处:http://eksliang.iteye.com/blog/2175473 一.概述
GsonBuilder用来定制java跟json之间的转换格式
二.基本使用
实体测试类:
温馨提示:默认情况下@Expose注解是不起作用的,除非你用GsonBuilder创建Gson的时候调用了GsonBuilder.excludeField
- 报ClassNotFoundException: Didn't find class "...Activity" on path: DexPathList
gundumw100
android
有一个工程,本来运行是正常的,我想把它移植到另一台PC上,结果报:
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.mobovip.bgr/com.mobovip.bgr.MainActivity}: java.lang.ClassNotFoundException: Didn't f
- JavaWeb之JSP指令
ihuning
javaweb
要点
JSP指令简介
page指令
include指令
JSP指令简介
JSP指令(directive)是为JSP引擎而设计的,它们并不直接产生任何可见输出,而只是告诉引擎如何处理JSP页面中的其余部分。
JSP指令的基本语法格式:
<%@ 指令 属性名="
- mac上编译FFmpeg跑ios
啸笑天
ffmpeg
1、下载文件:https://github.com/libav/gas-preprocessor, 复制gas-preprocessor.pl到/usr/local/bin/下, 修改文件权限:chmod 777 /usr/local/bin/gas-preprocessor.pl
2、安装yasm-1.2.0
curl http://www.tortall.net/projects/yasm
- sql mysql oracle中字符串连接
macroli
oraclesqlmysqlSQL Server
有的时候,我们有需要将由不同栏位获得的资料串连在一起。每一种资料库都有提供方法来达到这个目的:
MySQL: CONCAT()
Oracle: CONCAT(), ||
SQL Server: +
CONCAT() 的语法如下:
Mysql 中 CONCAT(字串1, 字串2, 字串3, ...): 将字串1、字串2、字串3,等字串连在一起。
请注意,Oracle的CON
- Git fatal: unab SSL certificate problem: unable to get local issuer ce rtificate
qiaolevip
学习永无止境每天进步一点点git纵观千象
// 报错如下:
$ git pull origin master
fatal: unable to access 'https://git.xxx.com/': SSL certificate problem: unable to get local issuer ce
rtificate
// 原因:
由于git最新版默认使用ssl安全验证,但是我们是使用的git未设
- windows命令行设置wifi
surfingll
windowswifi笔记本wifi
还没有讨厌无线wifi的无尽广告么,还在耐心等待它慢慢启动么
教你命令行设置 笔记本电脑wifi:
1、开启wifi命令
netsh wlan set hostednetwork mode=allow ssid=surf8 key=bb123456
netsh wlan start hostednetwork
pause
其中pause是等待输入,可以去掉
2、
- Linux(Ubuntu)下安装sysv-rc-conf
wmlJava
linuxubuntusysv-rc-conf
安装:sudo apt-get install sysv-rc-conf 使用:sudo sysv-rc-conf
操作界面十分简洁,你可以用鼠标点击,也可以用键盘方向键定位,用空格键选择,用Ctrl+N翻下一页,用Ctrl+P翻上一页,用Q退出。
背景知识
sysv-rc-conf是一个强大的服务管理程序,群众的意见是sysv-rc-conf比chkconf
- svn切换环境,重发布应用多了javaee标签前缀
zengshaotao
javaee
更换了开发环境,从杭州,改变到了上海。svn的地址肯定要切换的,切换之前需要将原svn自带的.svn文件信息删除,可手动删除,也可通过废弃原来的svn位置提示删除.svn时删除。
然后就是按照最新的svn地址和规范建立相关的目录信息,再将原来的纯代码信息上传到新的环境。然后再重新检出,这样每次修改后就可以看到哪些文件被修改过,这对于增量发布的规范特别有用。
检出