- 2021-01-09 哥伦比亚 《梦中的欢快葬礼和十二个异乡故事》 加西亚·马尔克斯 著 罗秀 译
juneyale
《梦中的欢快葬礼和十二个异乡故事》哥伦比亚加西亚·马尔克斯著罗秀译序《总统先生,一路走好!》“再给我一杯咖啡。”他用纯正的法语说。随即补充道:“要意式咖啡,能让人起死回生的那种。”并没有意识到话里的双关含义。当火车开始加速,荷马突然发现总统的手杖还在自己手中,于是跑到站台尽头,把手杖用力扔过去,希望总统能在半空中接住。但是手杖掉在了铁轨上,随即被碾得粉碎。那真是恐怖的一瞬。拉萨拉看到的最后一幕是那
- 懒人油泼面,治愈一切
惠顾星辰
图片发自App说起油泼面,自然会想到电视剧《白鹿原》里的一个场景,一个和主线剧情关系不大的小细节,这个细节的主角就是一碗热气腾腾的油泼面。剧情中,秦海璐下厨为张嘉译做油泼面,做面的过程应该是正宗的陕西古法,面宽油香,热油泼在面上的一刹那,随着“刺啦”的一声,香气仿佛冲破屏幕,萦绕在观众身旁,让观众们纷纷在弹幕中留下:“油泼面来了,流口水啊”、“看饿了想吃”等留言。一部《白鹿原》,连带着火了陕西油泼
- 当前最流行的架构设计模式
turingbooks
《微服务设计(第2版)》最可贵的地方在于,不光具备理论性与系统性,更为注重实践性与可操作性。全书勾勒出一幅从宏观到细节,再到组织落地的微服务架构整体实施蓝图。无论是对关注微服务领域的工程师与架构师,还是对寻求架构升级的管理者与决策者来说,本书都可以作为指导手册。——沈剑,快狗打车CTO《微服务设计(第2版)》萨姆·纽曼|著钟健鑫张沙沙智伟|译软件开发大神MartinFowler如此推荐本书:“微服
- 故事||致 爱上一个人
译垚
有时候,一首不出名,也不算很好听的歌曲,歌词和对白,与身边的一些故事,是那么的相似,人生有多少的故事,疼痛溶在一首音乐里......原创文/译垚网图致谢原创者侵删故事||致爱上一个人痛苦不需要预演爱时,撕心裂肺有多傲娇和狠心把真心爱你的人,伤得彻底为爱一个人,思念决堤浪潮无情的淹没真心抓住最后一根稻草,为等待硬撑泪水是睡前那声晚安哭泣一直不肯入眠幻影,均在梦中迈出脚步才知远方没有终点爱被拒千里之外
- 『读书•觉察•冥想‖第二百九十天』《生命之书—365天的静心冥想》作者:[印度]克里希那穆提著 胡因梦译
景熙惟
《生命之书-365天的静心冥想》十月十七日心智的更新我认为不断地努力想变成什么,便是脑子受损和退化的主因。你看我们老化的速度有多快,不但是那些六十岁以上的人,连年轻人都开始老化了。这里指的是心智上的退化。很少有人能够让心保持年轻,我指的年轻并不是有玩乐的兴致,而是一个不受染着的心——不被生活中的意外和事件所扭曲,不因为生活中的奋斗与挣扎而变得疲惫不堪。显然我们必须拥有一颗年轻的心,因为老旧的心已经
- 【呓 语】约翰·穆勒:我们活一场,值得一点更高级的快乐
诗人琉璃姬
选自约翰·穆勒《功利主义》第二章徐大建译上海人民出版社如果以为,那些赞成用功利来判别行为对错的人,是在一种狭隘的仅仅存在于口语中的意义上使用功利一词,将功利看作快乐的对立面,那真是太无知了。对于这种错误,只需提一下即可。要是误认为功利主义的哲学对手竟然也会产生如此荒唐的误解,哪怕是一时,也应该向他们表示道歉;这种误解之所以显得更不寻常,是因为对功利主义的另一种常见的批评恰好相反,指责功利主义把一切
- 冈田武彦与《王阳明大传》
ea41e0427fde
《王阳明大传》单单是序就有三个版,本书原作者是日本冈田武彦先生,由中国学生钱明译过来。王阳明是中国人,但他的著作却被日本人深为研究,在日本盛行后传回中国,正如序二里说的:阳明学失于吾国而求诸异邦。冈田武彦先生是阳明精神的虔诚践行者,写王阳明大传这套书,历时25年。而看完他对阳明学的贡献,不得不敬佩!1989年3月,由冈田先生发起在日本全国筹集300万日元资助的绍兴县王阳明墓修复工程训练竣工,同年4
- 中华上下5000年之刘秀重建汉王朝
随言随语_4989
好词:信任,坚忍,智慧,成熟,收腹,小恩小惠,心慌神乱,当机立断,新贵之家,聪明才智好段:冯译发现这一情况后马上报告给刘秀,刘秀当机立断,派两路大军阻拦赤眉军,赤眉军溃败如泥,刘秀把刘盆子他们接到洛阳,奉为上宾。感悟:刘秀是一个机智勇敢,但又有点心狠手辣的人。
- 甲虫部落(七)穿越地狱4
金之心
自译,原作者维克多·卢梭(1879-1960)。然后命运再次介入。因为,六只螳螂从它们躲藏的地方跃出空中,向它们的甲虫猎物扑去。长腿怪物可怕的边界,昆虫世界的祸害,把它们从一个河岸带到另一个河岸——幸运的是,对甲壳的居住者来说。甲虫云很快就溶解了。这一切都发生在几秒钟内。多德或汤米还没完全适应这种情况,螳螂就像甲虫一样消失了,每只螳螂的凹槽腿上都有一个猎物。没有布拉姆的迹象。这三个人独自一人站在小
- 赛季初真是八仙过海各显神通
A楠铂
赛季初真是八仙过海各显神通班里乱不乱他俩说了听说能认识这个字的都是高手我要的闪电不是2!小孩对发型不满意,在理发店崩溃痛哭33届金鸡奖颁奖礼现场张译给任素汐把脉楼主天生眼睛小,这是背景。割一下昨天下午片警来我们家下面是我们的对话片警:你这个照片得重新拍一下,来靠墙站我:好的,(站好了等拍照)片警:你眼睛睁开,别闭上我一个是行家,一个是专家,专家也怕行家狗咬电池爆炸起火,留宠物独自在家切记收好电池猫
- 文言文翻译的方法一般有如下几点!
教学手札
翻译文言句子要掌握翻译的原则、步骤和方法。翻译的基本原则是直译为主,意译为辅,译文要符合现代汉语习惯,做到明白、流畅、简洁。翻译时既要字句对应,又要根据需要进行必要的调整,使译文完整,准确,得体。文言文翻译的方法一般有如下几点:(1)留:把文言文中的专有名词(朝代、年号、人名、地名、物名、器具、官职、职称等)与现代汉语意思相同的保留不译。如:“庖丁为文惠君解牛”中的“文惠君”。(2)补:指将文言文
- 推开一扇门并不难
暖霞心理
相约读书打卡第154天,我是来自山西太原的史文霞,今天的读书内容是【美】威廉·贝纳德著,张玉译的《哈佛家训》第八部分《勇气——正直无畏的面对》5.《推开一扇门并不难》6.《趟过生命之河的小泥人》《推开一扇门并不难》有一位国王,出题考他的大臣,以便从中选拔出智慧勇敢的人担任国中要职。他让臣子们打开一扇其大无比的门。这扇门从来没打开过,所以臣子们认为这门肯定是打不开的。一些大臣望着门不住的摇头;另一些
- 【译】Swift算法俱乐部-布隆过滤器
Andy_Ron
Swift算法俱乐部本文是对SwiftAlgorithmClub翻译的一篇文章。SwiftAlgorithmClub是raywenderlich.com网站出品的用Swift实现算法和数据结构的开源项目,目前在GitHub上有18000+⭐️,我初略统计了一下,大概有一百左右个的算法和数据结构,基本上常见的都包含了,是iOSer学习算法和数据结构不错的资源。andyRon/swift-algori
- 绘本讲师阅读训练营【30期】11/21阅读原创《好大好大的鸡宝宝》
可乐妍妍
30025-邓艾华文/图:基思.格雷夫斯(美)译:孙莉莉,李佳舜封面在一个小小的农场里,有一个小的不能再小的鸡舍。鸡舍里有一只小小小小的母鸡却生了一枚巨大无比的蛋。这只蛋摇啊摇,晃啊晃,一支巨大的鸡宝宝破壳而出......这只鸡宝宝那么大那么大,所以他要交到一个朋友实在太难了,可是他居然凭着自己的聪明,友善,温暖,勇敢——改变了这一切。构图技巧特别有意思,像漫画一样,几只鸡的讨论起来,真的很有风格
- 『读书•练习•思考‖第一百三十一天』《奇迹课程一学员练习手册》作者:[美]海伦•舒曼编著若水译
景熙惟
【奇迹课程·练习手册】第一百三十一课寻求真理的人,绝不会徒劳无功第一百三十一课1第一百三十一课2练习:我愿看到一个异于如今的世界,我所寻求的世界,也决非我个人营造出来的。
- 【CSS in Depth 2 精译_027】4.4 Flexbox 元素对齐、间距等细节处理(下)+ 4.5 本章小结
安冬的码畜日常
CSSinDepth2css前端css3html5flexboxcss布局
当前内容所在位置(可进入专栏查看其他译好的章节内容)第一章层叠、优先级与继承(已完结)1.1层叠1.2继承1.3特殊值1.4简写属性1.5CSS渐进式增强技术1.6本章小结第二章相对单位(已完结)2.1相对单位的威力2.2em与rem2.3告别像素思维2.4视口的相对单位2.5无单位的数值与行高2.6自定义属性2.7本章小结第三章文档流与盒模型(已完结)3.1常规文档流3.2盒模型3.3元素的高度
- 大语文16
浚浚儿
输入小朋友语录锦瑟唐代/李商隐锦瑟无端五十弦,一弦一柱思华年。译锦瑟无缘无故地有五十根弦,每弦每节,都令人怀思黄金华年。庄生晓梦迷蝴蝶,望帝春心托杜鹃。译我心像庄子,为蝴蝶晓梦而迷惘;又像望帝化杜鹃,寄托春心哀怨,沧海月明珠有泪,蓝田日暖玉生烟。译沧海明月高照,鲛人泣泪皆成珠,蓝田红日和暖,可看到良玉生烟。此情可待成追忆,只是当时已惘然。译悲欢离合之情,岂待今日来追忆,只是当年却漫不经心,早已惘然
- 名诗我译(伊丽莎白·布朗宁篇)——Sonnets From The Portuguese(34) 葡萄牙的十四行诗 第34首
臻念
译文:真念一思作者:伊丽莎白·布朗宁Withthesameheart,Isaid,I'llanswertheeAsthose,whenthoushaltcallmebymyname--Lo,thevainpromise!Isthesame,thesame,Perplexedandruffledbylife'sstrategy?Whencalledbefore,ItoldhowhastilyIdro
- 「RIA学习力」《学习心理学》No.1,未闻
Nathan_2
「RIA学习力授权导师」便签输出第6期第1天《学习心理学》拆页一来自《第一章学习理论与教学导论》P9(一)学习的定义虽然本书讨论的学习理论之间存在差异,但这些理论在学习上确实有一些基本的确定性的假设。首先,它们都指出学习是人类行为表现performance,又译表现)或行为表现潜能的持久改变。这意味着学习者能够执行一些在学习发生之前不能执行的行动而且不管它们实际上是否有展示新习得行为表现的机会,这
- C语言要点归纳
ChenK21_idea
C/C++c语言
摘自:《C语言入门经典(第4版)》(美)lvorHorton.著杨浩.译北京.清华大学出版社【1】知识要点1C程序创建4个基本步骤:编辑,编译,链接,执行。编辑过程就是创建和修改C程序的源代码,我们编写的程序指令称为源代码。C编译器带一个编辑器,提供编写、管理、开发与测试程序的环境,有时也称为“集成开发环境(IDE)”。在UNIX或Linux上,最常用的的文本编辑器是vi,也可以使用emacs编辑
- 读书《写小说最重要的十件事》004
一叶枫红
第六章动词的人称和时态动词的人称和时态,在英语写作中特别重要,我这里就不讲了。本文的作者是厄休拉·勒古恩厄修拉·勒古恩(UrsulaK.LeGuin,1929年10月21日[4]-2018年1月22日)美国重要科幻、奇幻与女性主义与青少年儿童文学作家。著有小说20余部,以及诗集、散文集、游记、文学评论与多本童书。并与人合译老子《道德经》。所获文学奖与荣誉不计其数。她深受老子与人类学影响,作品常蕴含
- 名诗我译(艾米莉·狄金森篇25)——through bramble(穿过荆棘)
臻念
译文:真念一思作者:艾米莉·狄金森Throughlaneitlay--throughbramble--Throughclearingandthroughwood--BandittioftenpassedusUponthelonelyroad.穿过遍布的巷陌,穿过荆棘--穿过林间空地,穿过树林--经常有匪徒在那偏僻孤寂的路上与我们擦肩而过Thewolfcamepeeringcurious--Theo
- 《道德经》51-60章经典自译
远光的树洞
第五十一章尊道贵德道生之,德畜之,物形之,势成之。是以万物莫不尊道,而贵德。道之尊,德之贵,夫莫之命而常自然。故道生之,德畜之。长之育之。亭之毒之。养之覆之。生而不有,为而不恃,长而不宰。是谓玄德。道生成万物,德养育万物,万物都有独特的形态,顺应时势而成长。因此,万物没有不尊敬道、重视德的。道之所以受尊敬,德之所以受重视,就在于道德从不对万物进行干涉,而是顺其自然。所以,道生成了万物,德养育了万物
- 20.试译艾米莉·狄金森诗选 第一部分 生活
他不在这里
20.Itastealiquorneverbrewed,Fromtankardsscoopedinpearl;NotallthevatsupontheRhineYieldsuchanalcohol!InebriateofairamI,Anddebaucheeofdew,Reeling,throughendlesssummerdays,Frominnsofmoltenblue.Whenlandlor
- 资治通鉴|战国秦汉【82】渑池之会,蔺相如差点溅了秦昭襄王一脸血
KTBreal
小心溅你一脸血(网图侵删)导读我们接着看赵国名人蔺相如的第二个故事,这篇故事也是选入小学课本(至少我那时候是)。这也是蔺相如和秦王第二次见面,第二次的见面,更是气氛紧张,相互碰撞,火花四起,充满冲突。自译部分秦王派使者出使赵国,见赵王(赵何),说:“之前的事不好意思啦(完璧归赵与秦伐赵),秦王邀请您去渑池一聚,共结盟好。”赵王不知道秦昭襄王葫芦里卖的什么药,表示不想去,廉颇、蔺相如一起反对,说:“
- [译] Plaid 应用迁移到 AndroidX 的实践经历
weixin_34029680
移动开发javaruntime
原文地址:Cross-stitchingPlaidandAndroidX原文作者:TiemSong译文出自:掘金翻译计划本文永久链接:github.com/xitu/gold-m…译者:Mirosalva校对者:PhxNirvana一份AndroidX的迁移指南由VirginiaPoltrack提供图片。Plaid是一款呈现MaterialDesign风格和丰富交互界面的有趣应用。最近这款应用通过
- 『读书•觉察•冥想‖第二百四十五天』《生命之书—365天的静心冥想》作者:[印度]克里希那穆提著胡因梦译
景熙惟
《生命之书-365天的静心冥想》九月二日所有的思想都会分心总是在竞争、想要变得更好的心,是没有能力揭露真相的。只有全神贯注的心才能不断地自我揭露——因为能不断地揭露自己的真相,所以是富有创造性和解放能力的。这样的自我揭露可以使我们从贪得无厌之中解脱出来,进而摆脱掉复杂的智力活动。造成我们上瘾的便是这些复杂的智力活动,其中充满着好奇、揣测、肤浅的知识和闲言闲语,这些障碍会使我们的生命变得过度复杂。心
- 斯芬克斯谜语
暖霞心理
相约读书打卡第202天,我是来自山西太原的史文霞,今天的读书内容是【美】威廉·贝纳德著,张玉译的《哈佛家训II》第六部分《行动——汇聚大海的水滴》13.《斯芬克斯谜语》第七部分《心态——成就未来的境界》1.《快乐的油漆匠》《斯芬克斯谜语》有一个狮身人面的怪兽,名叫斯芬克斯。他有一个谜语,谜面是:“早晨用四只脚走路,中午用两只脚走路,傍晚用三只脚走路,他向每个路人说出这个谜语,如果猜不出谜底就会把他
- [译] How things get done on the Go Team
techdashen
golangjava开发语言
6天前,掌舵Go语言团队12年Rsc在golang-dev/群组发文宣布,将在9月1号后辞去当前职位,转去做Gaby和Oscar.这对于Go语言发展无疑是里程碑式的事件。本篇内容是根据6月份他和另外两位同事参与GoTime音频录制内容的整理与翻译,英文原文在gotime/go-time-318.md,过程中为符合中文惯用表达有适当删改,版权归原作者所有.AngelicaHill:欢迎收听GoTim
- 子张第十九 19.1 19.2
朴实李
19.1原:子张曰:士见危致命,见得思义,祭思敬,丧思哀,其可已矣。译:子张说:知识分子见到危难便献出生命,见到利益便想到礼义,祭祀想到认真严肃,守孝想到悲哀,这才可以了。记:在此《论语》临近结束之际,回顾儒门所宣讲之基本概念或范畴如仁、礼、学、孝、悌、忠、恕、智、德等,以及本章提及之义、敬、哀、命,与基督教之基本概念或范畴如主、爱、信、赎罪、得救、盼望、原罪、全知全能等相比较,与希腊哲学基本概念
- 多线程编程之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地址和规范建立相关的目录信息,再将原来的纯代码信息上传到新的环境。然后再重新检出,这样每次修改后就可以看到哪些文件被修改过,这对于增量发布的规范特别有用。
检出