- C语言 判断回文数
Y雨何时停T
c语言学习
一,回文数概念“回文”是指正读反读都能读通的句子,它是古今中外都有的一种修辞方式和文字游戏,如“我为人人,人人为我”等。在数学中也有这样一类数字有这样的特征,成为回文数。设n是一任意自然数。若将n的各位数字反向排列所得自然数n1与n相等,则称n为一回文数。例如,若n=1234321,则称n为一回文数;但若n=1234567,则n不是回文数。二,判断回文数实现思路一:数组与字符串将数字每一位按顺序放
- 【新教育-教师随笔】读《做最好的英语老师》有感
164c5aca7b79
伊川县直中学王素平《做最好的英语老师》这本书是作者这些年在他教学中得与失的总结。里面给我们提供了听力,单词,句子,阅读,作文等模块的教学方法,让我受益匪浅,现总结如下:一.语文教学给了我们什么启示?(1):现有的英语教材内容简单,枯燥,与学生的心智发展水平严重脱节。我们要给学生补中一些贴近学生生活,能感动和影响他们的经典作品。让学生学习知识的同时,有所感悟和思考,同时享受审美的乐趣!如AWiseO
- “静悄悄的革命”从教室里萌生出来
右央
今天通过阅读《静悄悄的革命》译者序和作者序等里面一些句子给我留下了深刻的思考。思考一:作者佐藤学看过数不清的教室和在各个教室里观摩。他发现:“没有哪一个教室和其他教室飘溢着完全相同的气息,或者完全相同的问题。”每个教室都有自己的独特之处,每个教室都带有自己的文化气息。所以,这个教室里的学生必须得到尊重,她们打开自己的心扉,她们的差异得到关注。师生关系是平等的,这样她们才能成为学习的主体。思考二:变
- 想起那晚的诗朗诵我就发笑
阿剑啊
图片发自App我念诗的样子一定很傻我想关掉那些灯,这样在黑暗中可以看到哪些眼睛发光我的姑蔑口音会沿着沉默的河流回到它们的青铜时代有时我想像你,在远方,风中像一棵被寒潮包裹的树像你站在人群中远远,听不到我此生沁血的句子有时我也会对着镜子念诗想象一条水银的路变得漫长在那里,一个聋子倾听,一个哑巴歌唱
- 【编译原理】方舟编译技术课程 — 词法分析
CSU_THU_SUT
编译原理编译器编译原理llvm
打开目录阅读更佳参考视频:方舟·编译技术入门与实战以及西交冯博琴老师的相关视频编译的过程包括词法分析(分析程序符号)、语法分析(分析语法单位)、中间代码生成、代码优化和目标代码生成。一、编译过程各部分的任务(1)词法分析:输入源程序,扫描分解源程序字符串,识别五类符号,包括定义符、标识符、运算符、界符和常数,转为单词符号。(2)语法分析:在词法分析基础上,将单词符号转为语法单位(如短句、子句、句子
- 如何组织段落
从昨到今
好的段落具有统一性和连贯性,清楚完整表达一个意思。一段落,一般需要由两个部分组成,即主题句和支持句。主题句主题句是段落中表达中心思想的句子。主题句表明这段话讲的主要内容,起统率作用。段落中的其他句子都与主题句所提出的思想有关,都是为说明、展开、服务主题句的。主题句的作用:一是限制概括作用;二是体现段落展开的方向;三是预示段落的展开方法。1.主题句在句首,统率全段的思想。2.主题句在句中,承上启下的
- 我想你了,老朋友
yi小爷丫头
我想你了,短短的四个字,是异地恋的爱情中最常用的句子。女孩发来一条信息:我想你了,你买机票飞到她的城市出现在她的面前。这可能是爱情中的想念。我想你了,老朋友。我想你了,你会为了朋友的一句我想你了,在她需要你的时候,会出现她面前吗?我的回答:我会。我很珍惜对我好的朋友,我会在心里记着她对我的好,然后把我好的东西分享都会给她,她对我好,恨不得把心掏出给她。她需要我的帮忙,我会义不容辞的跑去帮她,甚至觉
- matlab上下标如何输入,在Matlab中怎样输入特殊符号或者上标、下标
李一舟DESIGN
matlab上下标如何输入
Matlab的text/title/xlabel/ylabel对象支持简单的TeX排版语法,如希腊字母,上下标等例如text(0.5,0.5,'\alpha^\beta_2');Matlab图形中允许用TEX文件格式来显示字符。使用\bf,\it,\rm表示黑体,斜体,正体字符,特别注意大括号{}的用法。实例:在存在的图形上写一段有黑体、有斜体、有整体的句子。1、画图x=0:0.01:8;y=si
- 要想赚钱,你得优化自己的商业模式
紫苑书阁
要想赚钱,你得优化自己的商业模式书籍:《财富自由之路》字数:826看到这个题目,你可能会想:作为一个个体,我也有商业模式吗?对!它就像“一只无形的手”在影响你的收入、乃至你的生活和你的理想。在实现财富自由之前,我们每一个人都在出售自己的时间,所以用一个通俗易懂的句子来定义:所谓“个人商业模式,就是一个人出售自己时间的方式。”它有三种分类方式:第一种:一份时间出售一次比如:打零工和铁饭碗。第二种:同
- 今日读书所得 - 草稿
天下果盒1234
从今天起,开始读冯友兰先生的《中国哲学简史》,意在开拓眼界,培养自己严重欠缺的理性思维。这是一本重在讲理论知识的书籍,需要静心细读,我拿出了上学时读政治课本的劲头与方法去读它,先浏览,然后将勾画的内容出声音读一遍,最后讲自己认为最精髓的句子抄到笔记本上。这样读的后果是今天我只读了十页,不过收获还是有的,特整理一下:1.哲学家就是对于人生反思地思想并且能系统地表达他的思想。2.道家是哲学,教人顺乎自
- 句子分享
等在夜雨时
听到一些事,明明不相关,但总能在心里拐几个弯想到你。--张爱玲不是所有的过往都是美好,还有许多我们想要擦去却擦不去的残痕。--林徽因我知道人生本就是充满了离别,但最难过的是,我们总是没有机会好好说再见。--《少年派的奇幻漂流》世界这么大,人生这么长,总会有这么一个人,让你想要温柔的对待。--《哈尔的移动城堡》人常常都是这么误会自己的,以为自己恋旧,由为自己长情,其实只是你现在过得不好罢了。--《网
- 日语中「但是」大汇总!自测你掌握几个?
静学日语
日语中的表示转折的「但是」有好多种说法,对于它们的使用和区别,你了解吗?今天就来好好学习一下吧!首先总结一下日语中日常常见的表示转折语法!が、でも、しかし、ところがけれども、だけど、ただし。一、がが在句子中使用时主要有两种用法:1.用于句尾,表转折。例:彼は湖南に行きましたが、長沙へ行きませんでした。他去了湖南,但是没去长沙。2.铺垫ちょっと闻きたいんですが、トイレはどこ?请问一下,厕所在哪。(这
- 那些让我感到优秀的句子
星河赶路人
“最是那一低头的温柔,像一朵水莲花不胜凉风的娇羞。”想饮一些酒,让灵魂失重,好被风吹走。可一想到终将是你的路人,便觉得,沦为整个世界的路人。风虽大,都绕过我灵魂。长的不好看,优点也不多,梦想很平凡,如果说我喜欢你,你可不可以不要笑我。白酒很苦,但它不贵,姑娘虽美,但我不配,故事不长,也不难讲,喝完这杯,再谈理想聋子说放的炮不响,瞎子说点的灯不亮,瘸子说这炮很响,灯也很亮,只是这平坦的路上走起来却有
- 五言近体诗句,第2字和第3字,连续两个谓语结构复杂句
老街味道
前言今天说的几种复杂句,有个共同的特点,就是第2、3字是两个连续的谓语。诗句中的谓语,可能是动词,也可能是形容词、介词。一、前2字主谓,后三字谓语+宾语前2字是主谓结构,后三字是谓语+宾语。王力先生解释这种句式说:前2字为句子形式,后3字为谓语形式。《汉语诗律学》王力说的句子形式,就是主谓结构,谓语形式就是动宾结构。例如储光羲(唐)《送人寻裴斐》:柱史回清宪,谪居临汉川。迟君千里驾,方外赏云泉。路
- 愚痴的人,一直想要别人了解他,有智慧的人,却努力地了解自己!
纳西奇麒
愚痴的人,一直想要别人了解他。有智慧的人,却努力地了解自己想哭就哭,想笑就笑,不要因为世界虚伪,你也变得虚伪了别傻了,没有人懂你的口是心非。喜欢就说,讨厌就躲,心里头没太多猜测,总要轻松点,自己才好过似乎难过的时候,所有矫情的句子都是为自己量身定做,所有的故事都能感同身受这辈子你说过的最后悔的一句话是什么?”“你觉得怎么好看就怎么剪吧”人生唯一可以肯定的失败和最大的悲哀,莫过于从不敢冒险。——肯恩
- 近期读到的一眼就惊艳你的神仙句子
文案分享集
1.什么时候觉得情敌越多越好,当他们说我爱中国的时候。2.国家教育有方,金牌干干净净。3.人民有信仰,国家有力量,民族有希望。4.愿世界和平,可以温柔以待。5.我们生在红旗下,长在春风里,人民有信仰,国家有力量,目光所致皆是华夏,五星闪耀皆为信仰。6.以前那个连国歌都不愿意大声唱的小孩,现在因为国家如此骄傲。7.我落笔写下青春年华,只是墨色淡了,没能写出未来可期,也没能写出放荡不羁,所以我一生奔赴
- 你最看重的是什么?
蓝澜Queen余芳芳
图片发自App“你最看重的是什么?”一听这个问题,可能更像是鸡汤文里的句子。但我却是在理财类书籍里遇上这句。这个问题之后作者居然引出了“价值观”,之后我在阅读中就“醉翁之意不在酒”了。我们常说的三观,包括世界观、人生观和价值观。嘴上说得多了,就以为自己真懂或真拥有。现在我才发觉,我并没有弄懂什么是三观,并且我还没有形成完整的三观。首先是世界观,它是指我们对于世界的基本观点和看法。对此大概只能够对着
- 深入解读《Python之禅》:用实战代码诠释Python编程哲学20240914
Narutolxy
Python笔记技术干货分享python开发语言
深入解读《Python之禅》:用实战代码诠释Python编程哲学《Python之禅》(TheZenofPython)是Python语言的设计哲学,由TimPeters总结,包含了19条简洁而深刻的格言。当你在Python解释器中输入importthis时,这些格言便会展现在你的眼前。它们不仅仅是简单的句子,更是指导Python程序员编写优雅、简洁、可读代码的准则。本文将结合实际的最佳实践代码,逐条
- 周总结
暖暖重生
图片发自App英语英语已坚持七天,虽然每天在坚持读英语,但是没有预习和复习这个步骤,基本上记不住句子和单词,还是心没有静下来,语感也还没有,有点小和尚撞钟的感觉,下一个七天,要更投入这学习英语的20分钟里,好处是以前学的单词在不断巩固,只要坚持就会有收获!深蹲上周的周末在家带娃,惰性产生,所以没有完成任务,今天尝试了坐凳子快速弹起,感觉这个不错,一天还能做好几个100,接下来这周要尝试凳子弹起,注
- 配音温柔的文案长文情话,配音文案温柔短句伤感句子
配音新手圈
“总有很多山要登,乖乖,别停留。”“同一个小镇,为什么好久不见。”“一只自由鸟,自由到底。”兼职副业推荐公众号,配音新手圈,声优配音圈,新配音兼职圈,配音就业圈,鼎音副业,有声新手圈,每天更新各种远程工作与在线兼职,职位包括:写手、程序开发、剪辑、设计、翻译、配音、无门槛、插画、翻译、等等。。。每日更新兼职。“突然觉得平平淡淡就超级好了。”“按照大自然的规律,你该遇到我了。”“故事都往心里收一收,
- 五言近体句式总结篇10,2-3结构下篇,故国犹兵马他乡亦鼓鼙
老街味道
前言王力先生把2-3的五言近体诗句式总结了23种,昨天介绍了前11种,今天看一下后面的12种。昨天的11种是简单句和复杂句,今天的12中句式为复杂句和不完全句。十二、复杂句:前2字形容词,后3字句子形式留滞-才难尽,艰危-气益增。FF-NdV。前2字是并列关系,所以都是大写FF。后3字是主谓结构的句子形式。出自唐朝诗人杜甫的作品《泊岳阳城下》江国逾千里,山城仅百层。岸风翻夕浪,舟雪洒寒灯。留滞-才
- 村上春树一些很触动人心的句子
孔小系
1.每个人都有属于自己的一片森林,也许我们从来不曾去过,但它一直在那里,总会在那里。迷失的人迷失了,相逢的人会再相逢。——村上春树《挪威的森林》2.你要做一个不动声色的大人了。不准情绪化,不准偷偷想念,不准回头看。去过自己另外的生活。你要听话,不是所有的鱼都会生活在同一片海里。——村上春树《舞!舞!舞!》3.我一直以为人是慢慢变老的,其实不是,人是一瞬间变老的。——村上春树《舞!舞!舞!》4.哪里
- 读《三毛致不快乐的女孩》有感
晓晓_ec50
当看完三毛给不快乐的女孩的回信后,我在想三毛究竟是一个怎样的人呢?能写出这么舒心的信,让人如沐春风。那个不快乐的女孩收到三毛的回信,应该会很惊讶、很感动。重新审视自己,慢慢从雾霾中走出,做一个快乐的女孩。三毛的文字就像是一剂良药,能够医治我们这些受伤的心灵。优美的文字并不是自私华丽的堆砌,而是极其普通的词组成的句子,质朴而又贴切。我想“四两拨千斤”用于三毛笔下的文字再适合不过了,简简单单的词被她赋
- 第五课记录2021-09-15
跃过地平线
第一课时:生字新词:一、字词学习:摒弃了直接读拼音的办法,出示带拼音的词语,让学生直接读词语。“洼”怎么记忆?课文中的水洼指什么?出示文中的句子。""靴和什么有关呢?再出示各种靴子,比如马靴、水靴。再出示文中的其他词语,齐读。二、出示文中难读的句子。1.“这是一块印着落叶图案的、闪闪发光的地毯,从脚下一直铺到很远很远的地方,一直到路的尽头......”抓住“”闪闪发光”进行练习。闪闪发光的(?)比
- arXiv综述论文“Graph Neural Networks: A Review of Methods and Applications”
硅谷秋水
自动驾驶
arXiv于2019年7月10日上载的GNN综述论文“GraphNeuralNetworks:AReviewofMethodsandApplications“。摘要:许多学习任务需要处理图数据,该图数据包含元素之间的丰富关系信息。建模物理系统、学习分子指纹、预测蛋白质界面以及对疾病进行分类都需要一个模型从图输入学习。在其他如文本和图像之类非结构数据学习的领域中,对提取的结构推理,例如句子的依存关系
- 文言文翻译的方法一般有如下几点!
教学手札
翻译文言句子要掌握翻译的原则、步骤和方法。翻译的基本原则是直译为主,意译为辅,译文要符合现代汉语习惯,做到明白、流畅、简洁。翻译时既要字句对应,又要根据需要进行必要的调整,使译文完整,准确,得体。文言文翻译的方法一般有如下几点:(1)留:把文言文中的专有名词(朝代、年号、人名、地名、物名、器具、官职、职称等)与现代汉语意思相同的保留不译。如:“庖丁为文惠君解牛”中的“文惠君”。(2)补:指将文言文
- NLP_jieba中文分词的常用模块
Hiweir ·
NLP_jieba的使用自然语言处理中文分词人工智能nlp
1.jieba分词模式(1)精确模式:把句子最精确的切分开,比较适合文本分析.默认精确模式.(2)全模式:把句子中所有可能成词的词都扫描出来,cut_all=True,缺点:速度快,不能解决歧义(3)paddle:利用百度的paddlepaddle深度学习框架.简单来说就是使用百度提供的分词模型.use_paddle=True.(4)搜索引擎模式:在精确模式的基础上,对长词再进行切分,提高召回率,
- 【系统架构设计师】解释器模式
Evaporator Core
解释器模式python开发语言
解释器模式(InterpreterPattern)是一种行为型设计模式,它定义了文法的表示,并定义了一个解释器,该解释器使用该表示来解释语言中的句子。在解释器模式中,通常包括一个抽象语法树(AbstractSyntaxTree,AST),用于表示输入的语言文法,以及一系列的解释器类,每个类对应文法中的一个符号或符号的组合。解释器模式主要适用于那些需要将一个语言中的句子解释成程序可以理解的另一种形式
- 【181】《班主任工作中的心理效应》读书笔记(一百三十七)2023-04-29
南风如我意
-----------《班主任工作中的心理效应》读书笔记二十文/李现风2023年读书笔记读书笔记以以下三个出发点为目的:一、书中的思想,提升自己的教育理念;二、书中的值得借鉴的做法,提升自己的教育技巧;三、书中的美句,有鉴于哲理性的句子,提升自己文章的语言魅力和教育文化水准。读《班主任工作中的心理效应》作者刘儒德读书笔记二十:第二部分面向个体学生26习得性无助-----绝望的心态不是一天养成的28
- 20180929 count
Maglight
1)翻译下面的句子:重要的不是发生了什么事,而是你如何应对这件事。Whatcountsthemostisnotthethingshappened,buthowyourespondtoit.2)结合自己的生活、学习、工作、兴趣等,想象在什么语境下会用到这个表达。先简要描述这个场景,再造句。场景:学几何最重要的目的是逻辑造句:Whenitcomestogeometry,logiccounts/matt
- 多线程编程之卫生间
周凡杨
java并发卫生间线程厕所
如大家所知,火车上车厢的卫生间很小,每次只能容纳一个人,一个车厢只有一个卫生间,这个卫生间会被多个人同时使用,在实际使用时,当一个人进入卫生间时则会把卫生间锁上,等出来时打开门,下一个人进去把门锁上,如果有一个人在卫生间内部则别人的人发现门是锁的则只能在外面等待。问题分析:首先问题中有两个实体,一个是人,一个是厕所,所以设计程序时就可以设计两个类。人是多数的,厕所只有一个(暂且模拟的是一个车厢)。
- How to Install GUI to Centos Minimal
sunjing
linuxInstallDesktopGUI
http://www.namhuy.net/475/how-to-install-gui-to-centos-minimal.html
I have centos 6.3 minimal running as web server. I’m looking to install gui to my server to vnc to my server. You can insta
- Shell 函数
daizj
shell函数
Shell 函数
linux shell 可以用户定义函数,然后在shell脚本中可以随便调用。
shell中函数的定义格式如下:
[function] funname [()]{
action;
[return int;]
}
说明:
1、可以带function fun() 定义,也可以直接fun() 定义,不带任何参数。
2、参数返回
- Linux服务器新手操作之一
周凡杨
Linux 简单 操作
1.whoami
当一个用户登录Linux系统之后,也许他想知道自己是发哪个用户登录的。
此时可以使用whoami命令。
[ecuser@HA5-DZ05 ~]$ whoami
e
- 浅谈Socket通信(一)
朱辉辉33
socket
在java中ServerSocket用于服务器端,用来监听端口。通过服务器监听,客户端发送请求,双方建立链接后才能通信。当服务器和客户端建立链接后,两边都会产生一个Socket实例,我们可以通过操作Socket来建立通信。
首先我建立一个ServerSocket对象。当然要导入java.net.ServerSocket包
ServerSock
- 关于框架的简单认识
西蜀石兰
框架
入职两个月多,依然是一个不会写代码的小白,每天的工作就是看代码,写wiki。
前端接触CSS、HTML、JS等语言,一直在用的CS模型,自然免不了数据库的链接及使用,真心涉及框架,项目中用到的BootStrap算一个吧,哦,JQuery只能算半个框架吧,我更觉得它是另外一种语言。
后台一直是纯Java代码,涉及的框架是Quzrtz和log4j。
都说学前端的要知道三大框架,目前node.
- You have an error in your SQL syntax; check the manual that corresponds to your
林鹤霄
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option,changed_ids ) values('0ac91f167f754c8cbac00e9e3dc372
- MySQL5.6的my.ini配置
aigo
mysql
注意:以下配置的服务器硬件是:8核16G内存
[client]
port=3306
[mysql]
default-character-set=utf8
[mysqld]
port=3306
basedir=D:/mysql-5.6.21-win
- mysql 全文模糊查找 便捷解决方案
alxw4616
mysql
mysql 全文模糊查找 便捷解决方案
2013/6/14 by 半仙
[email protected]
目的: 项目需求实现模糊查找.
原则: 查询不能超过 1秒.
问题: 目标表中有超过1千万条记录. 使用like '%str%' 进行模糊查询无法达到性能需求.
解决方案: 使用mysql全文索引.
1.全文索引 : MySQL支持全文索引和搜索功能。MySQL中的全文索
- 自定义数据结构 链表(单项 ,双向,环形)
百合不是茶
单项链表双向链表
链表与动态数组的实现方式差不多, 数组适合快速删除某个元素 链表则可以快速的保存数组并且可以是不连续的
单项链表;数据从第一个指向最后一个
实现代码:
//定义动态链表
clas
- threadLocal实例
bijian1013
javathreadjava多线程threadLocal
实例1:
package com.bijian.thread;
public class MyThread extends Thread {
private static ThreadLocal tl = new ThreadLocal() {
protected synchronized Object initialValue() {
return new Inte
- activemq安全设置—设置admin的用户名和密码
bijian1013
javaactivemq
ActiveMQ使用的是jetty服务器, 打开conf/jetty.xml文件,找到
<bean id="adminSecurityConstraint" class="org.eclipse.jetty.util.security.Constraint">
<p
- 【Java范型一】Java范型详解之范型集合和自定义范型类
bit1129
java
本文详细介绍Java的范型,写一篇关于范型的博客原因有两个,前几天要写个范型方法(返回值根据传入的类型而定),竟然想了半天,最后还是从网上找了个范型方法的写法;再者,前一段时间在看Gson, Gson这个JSON包的精华就在于对范型的优雅简单的处理,看它的源代码就比较迷糊,只其然不知其所以然。所以,还是花点时间系统的整理总结下范型吧。
范型内容
范型集合类
范型类
- 【HBase十二】HFile存储的是一个列族的数据
bit1129
hbase
在HBase中,每个HFile存储的是一个表中一个列族的数据,也就是说,当一个表中有多个列簇时,针对每个列簇插入数据,最后产生的数据是多个HFile,每个对应一个列族,通过如下操作验证
1. 建立一个有两个列族的表
create 'members','colfam1','colfam2'
2. 在members表中的colfam1中插入50*5
- Nginx 官方一个配置实例
ronin47
nginx 配置实例
user www www;
worker_processes 5;
error_log logs/error.log;
pid logs/nginx.pid;
worker_rlimit_nofile 8192;
events {
worker_connections 4096;}
http {
include conf/mim
- java-15.输入一颗二元查找树,将该树转换为它的镜像, 即在转换后的二元查找树中,左子树的结点都大于右子树的结点。 用递归和循环
bylijinnan
java
//use recursion
public static void mirrorHelp1(Node node){
if(node==null)return;
swapChild(node);
mirrorHelp1(node.getLeft());
mirrorHelp1(node.getRight());
}
//use no recursion bu
- 返回null还是empty
bylijinnan
javaapachespring编程
第一个问题,函数是应当返回null还是长度为0的数组(或集合)?
第二个问题,函数输入参数不当时,是异常还是返回null?
先看第一个问题
有两个约定我觉得应当遵守:
1.返回零长度的数组或集合而不是null(详见《Effective Java》)
理由就是,如果返回empty,就可以少了很多not-null判断:
List<Person> list
- [科技与项目]工作流厂商的战略机遇期
comsci
工作流
在新的战略平衡形成之前,这里有一个短暂的战略机遇期,只有大概最短6年,最长14年的时间,这段时间就好像我们森林里面的小动物,在秋天中,必须抓紧一切时间存储坚果一样,否则无法熬过漫长的冬季。。。。
在微软,甲骨文,谷歌,IBM,SONY
- 过度设计-举例
cuityang
过度设计
过度设计,需要更多设计时间和测试成本,如无必要,还是尽量简洁一些好。
未来的事情,比如 访问量,比如数据库的容量,比如是否需要改成分布式 都是无法预料的
再举一个例子,对闰年的判断逻辑:
1、 if($Year%4==0) return True; else return Fasle;
2、if ( ($Year%4==0 &am
- java进阶,《Java性能优化权威指南》试读
darkblue086
java性能优化
记得当年随意读了微软出版社的.NET 2.0应用程序调试,才发现调试器如此强大,应用程序开发调试其实真的简单了很多,不仅仅是因为里面介绍了很多调试器工具的使用,更是因为里面寻找问题并重现问题的思想让我震撼,时隔多年,Java已经如日中天,成为许多大型企业应用的首选,而今天,这本《Java性能优化权威指南》让我再次找到了这种感觉,从不经意的开发过程让我刮目相看,原来性能调优不是简单地看看热点在哪里,
- 网络学习笔记初识OSI七层模型与TCP协议
dcj3sjt126com
学习笔记
协议:在计算机网络中通信各方面所达成的、共同遵守和执行的一系列约定 计算机网络的体系结构:计算机网络的层次结构和各层协议的集合。 两类服务: 面向连接的服务通信双方在通信之前先建立某种状态,并在通信过程中维持这种状态的变化,同时为服务对象预先分配一定的资源。这种服务叫做面向连接的服务。 面向无连接的服务通信双方在通信前后不建立和维持状态,不为服务对象
- mac中用命令行运行mysql
dcj3sjt126com
mysqllinuxmac
参考这篇博客:http://www.cnblogs.com/macro-cheng/archive/2011/10/25/mysql-001.html 感觉workbench不好用(有点先入为主了)。
1,安装mysql
在mysql的官方网站下载 mysql 5.5.23 http://www.mysql.com/downloads/mysql/,根据我的机器的配置情况选择了64
- MongDB查询(1)——基本查询[五]
eksliang
mongodbmongodb 查询mongodb find
MongDB查询
转载请出自出处:http://eksliang.iteye.com/blog/2174452 一、find简介
MongoDB中使用find来进行查询。
API:如下
function ( query , fields , limit , skip, batchSize, options ){.....}
参数含义:
query:查询参数
fie
- base64,加密解密 经融加密,对接
y806839048
经融加密对接
String data0 = new String(Base64.encode(bo.getPaymentResult().getBytes(("GBK"))));
String data1 = new String(Base64.decode(data0.toCharArray()),"GBK");
// 注意编码格式,注意用于加密,解密的要是同
- JavaWeb之JSP概述
ihuning
javaweb
什么是JSP?为什么使用JSP?
JSP表示Java Server Page,即嵌有Java代码的HTML页面。使用JSP是因为在HTML中嵌入Java代码比在Java代码中拼接字符串更容易、更方便和更高效。
JSP起源
在很多动态网页中,绝大部分内容都是固定不变的,只有局部内容需要动态产生和改变。
如果使用Servl
- apple watch 指南
啸笑天
apple
1. 文档
WatchKit Programming Guide(中译在线版 By @CocoaChina) 译文 译者 原文 概览 - 开始为 Apple Watch 进行开发 @星夜暮晨 Overview - Developing for Apple Watch 概览 - 配置 Xcode 项目 - Overview - Configuring Yo
- java经典的基础题目
macroli
java编程
1.列举出 10个JAVA语言的优势 a:免费,开源,跨平台(平台独立性),简单易用,功能完善,面向对象,健壮性,多线程,结构中立,企业应用的成熟平台, 无线应用 2.列举出JAVA中10个面向对象编程的术语 a:包,类,接口,对象,属性,方法,构造器,继承,封装,多态,抽象,范型 3.列举出JAVA中6个比较常用的包 Java.lang;java.util;java.io;java.sql;ja
- 你所不知道神奇的js replace正则表达式
qiaolevip
每天进步一点点学习永无止境纵观千象regex
var v = 'C9CFBAA3CAD0';
console.log(v);
var arr = v.split('');
for (var i = 0; i < arr.length; i ++) {
if (i % 2 == 0) arr[i] = '%' + arr[i];
}
console.log(arr.join(''));
console.log(v.r
- [一起学Hive]之十五-分析Hive表和分区的统计信息(Statistics)
superlxw1234
hivehive分析表hive统计信息hive Statistics
关键字:Hive统计信息、分析Hive表、Hive Statistics
类似于Oracle的分析表,Hive中也提供了分析表和分区的功能,通过自动和手动分析Hive表,将Hive表的一些统计信息存储到元数据中。
表和分区的统计信息主要包括:行数、文件数、原始数据大小、所占存储大小、最后一次操作时间等;
14.1 新表的统计信息
对于一个新创建
- Spring Boot 1.2.5 发布
wiselyman
spring boot
Spring Boot 1.2.5已在7月2日发布,现在可以从spring的maven库和maven中心库下载。
这个版本是一个维护的发布版,主要是一些修复以及将Spring的依赖提升至4.1.7(包含重要的安全修复)。
官方建议所有的Spring Boot用户升级这个版本。
项目首页 | 源