- 今日联对0306
诗图佳得
自对联:烟销皓月临江浒,水漫金山荡塔裙。一一肖士平2020.3.6.1、试对肖老师联:烟销皓月临江浒,夜笼寒沙梦晚舟。耀哥求正2、试对萧老师联:烟销浩月临江浒,雾散乾坤解汉城。秀霞习作请各位老师校正3、自对联:烟销皓月临江浒,水漫金山荡塔裙。一一肖士平2020.3.6.4、试对肖老师垫场联:烟销皓月临江浒,雾锁寒林缈葉丛。小智求正[抱拳]5、试对肖老师联:烟销皓月临江浒;风卷乱云入峰巅。一一五品6
- 渝婧感恩日记第68天
梁渝婧lydia
1.哇!我真是太幸福啦!感恩奇迹感恩训练营毕业典礼,让我能共振到同学们的喜悦和能量,感谢!感谢!感谢!2.哇!我真是太幸福啦!感恩每天早起,运动3公里!这个星期又做到连续三天,不间断!感谢亲爱的渝婧!你真的是非常的棒!加油,继续坚持!感谢!感谢!感谢!3.哇!我真是太幸福啦!感恩曾正波班主任给我们分享的艾宾浩斯的记忆曲线255学习法,让我蠢蠢欲试,感谢!感谢!感谢!4.哇!我真是太幸福啦!感恩胜利
- 手机上有什么兼职可以做?网上兼职 一单一结 手机就可以做?
优惠券高省
建议上班族和全职宝妈把空闲时间拿出来一点做做副业,什么也不耽搁还能多一笔收入!推荐大家一定要试一试!!!只要有手机就可以做,下面小编就为大家推荐用手机就可以做的三类网上兼职工作。一,高省APP高省APP佣金更高,模式更好,终端用户不流失。【高省】是一个自用省钱佣金高,分享推广赚钱多的平台,百度有几百万篇报道,也期待你的加入。万方导师高省邀请码005500,注册送双皇冠会员,送万元推广大礼包,教你如
- 2021-01-09 哥伦比亚 《梦中的欢快葬礼和十二个异乡故事》 加西亚·马尔克斯 著 罗秀 译
juneyale
《梦中的欢快葬礼和十二个异乡故事》哥伦比亚加西亚·马尔克斯著罗秀译序《总统先生,一路走好!》“再给我一杯咖啡。”他用纯正的法语说。随即补充道:“要意式咖啡,能让人起死回生的那种。”并没有意识到话里的双关含义。当火车开始加速,荷马突然发现总统的手杖还在自己手中,于是跑到站台尽头,把手杖用力扔过去,希望总统能在半空中接住。但是手杖掉在了铁轨上,随即被碾得粉碎。那真是恐怖的一瞬。拉萨拉看到的最后一幕是那
- 【创客文案社】第三期写手招募
筱瑶123
创客文案社第三期写手招募开始了。要求:1:注册一个月以上2:本身热爱写作3:有时间参与接单投稿参与方式:可以关注公众号:写作灵感;也可以通过其他转发文章的文友帮忙拉入群;也可以简信我。参与之后的文友,会先进入新人班,进行基本的试稿与培训,先接一些比较简单的单子;在这里可以一边赚钱,一边学习。不知不觉,来三四个月了,也发现了很多很有意思的现象。1:在上写一篇文章,基本都是几毛钱,多的也不过几块钱的收
- 改变从每一刻
震震一点儿飞飞
每天要做的事情很多,思考的时间太少,整理的不够,所以,每天过的很快,但过的太单薄了,不知道进步在哪里?今天的意义在哪里?这问题到底出在哪里呢?哪里都很乱,时间可能还是被浪费了!要做的事情咬咬牙也就做了,想到看到就做到,是不是就会简单很多!立刻做,去试一试!
- 有心栽花花不发,无心插枝枝发芽
幽默静好
今年的倒春寒来势凶猛,仿佛一夜之间,开得热热闹闹的迎春花,便像是使完了力气,结束了一年一度的花期。小区里的园丁是勤劳的,将那些开败了的枝条进行精心修剪,我散步路过,看见堆在地上的不少,便随手捡了几枝。记不得曾经在哪里看过,说迎春花很好种植,只要捡略粗的枝条,随便插在花盆里,按时浇浇水就能成活。我也想试一试。回家找了个小花盆,将捡来的枝条剪成几小节,将盆插满。放在了阳台的一个角落里。说实话,我没太在
- 【课例观察】林黛玉进贾府
香路有缘
打开名师课堂,发现高一正在讲《红楼梦》之《林黛玉进贾府》一节,从去年秋天就开始读《红楼梦》,断断续续一直持续到现在,即便自己觉得很用心地在读了,其中的精华也很难领悟十分之一二。看到史老师选的这个课题,感觉很亲切,不由自主跟她出发,再次走进林黛玉走进贾府。【课例观察】《林黛玉进贾府》一,导语设计老师激情澎湃朗诵《红楼梦》引子歌词:开辟鸿蒙,谁为情种?都只为风月情浓。趁着这奈何天,伤怀日,寂寥时,试遣
- 今日头条极速版邀请码是多少(亲测5个可用邀请码及填写方法)
桃朵十三
第一次接触今日头条极速版app我记得是2018年7月份左右吧,当时手机上弹出一个小广告说看新闻还能赚零花钱,抱着好奇的心理下载了试一试,刚开始每天刷几条新闻或视频第二天早上金币兑换成一元多钱,可以提现到支付宝或者微信,弄得不亦乐乎。心想不给钱没事我也会看看新闻呢,何乐而不为呢。今日头条极速版邀请码是1712201738或1451455648或1805884301,秒懂你的阅读喜好,秒杀碎片化时间。
- 2018-08-11
daring婧
贩卖毒品是法律严厉打击的行为,却依然有人铤而走险、以身试法,但最终得到的只会是法律的惩罚。贩卖毒品谋取小利,不知悔改“二进宫”黄某曾于2016年12月29日因贩卖毒品罪被钦州市钦南区人民法院判处有期徒刑十个月,缓刑一年。但得到缓刑机会的黄某却不以为然,认为只要贩卖毒品的数量不大,就不会被抓进看守所,依旧继续贩卖着毒品。2018年4月11日,黄某在钦州市钦南区四马路将1小包毒品海洛因(净重0.1克)
- 《流浪地球》:当太阳将要死去,让我们带着地球去流浪
逝去的往昔
春节假期,看了两场电影,今天的《流浪地球》看得震撼至极。影片改编于刘慈欣的同名小说,观影之前特意在微信读书上阅读完了那个短篇。图片发自App我对科幻其实是无感的。拗不过孩子们的期盼,还是跟他们一起去了影院。看完之后才知道自己是多么浅薄。电影的效果跟书籍是无法相比的。看完书已经折服于大刘的想象力了,看完电影更加感叹导演的尽心竭力,正如预告片中所言,郭帆与他的队友在四年的时间里,将影片做到了最优化。试
- 懒人油泼面,治愈一切
惠顾星辰
图片发自App说起油泼面,自然会想到电视剧《白鹿原》里的一个场景,一个和主线剧情关系不大的小细节,这个细节的主角就是一碗热气腾腾的油泼面。剧情中,秦海璐下厨为张嘉译做油泼面,做面的过程应该是正宗的陕西古法,面宽油香,热油泼在面上的一刹那,随着“刺啦”的一声,香气仿佛冲破屏幕,萦绕在观众身旁,让观众们纷纷在弹幕中留下:“油泼面来了,流口水啊”、“看饿了想吃”等留言。一部《白鹿原》,连带着火了陕西油泼
- 当前最流行的架构设计模式
turingbooks
《微服务设计(第2版)》最可贵的地方在于,不光具备理论性与系统性,更为注重实践性与可操作性。全书勾勒出一幅从宏观到细节,再到组织落地的微服务架构整体实施蓝图。无论是对关注微服务领域的工程师与架构师,还是对寻求架构升级的管理者与决策者来说,本书都可以作为指导手册。——沈剑,快狗打车CTO《微服务设计(第2版)》萨姆·纽曼|著钟健鑫张沙沙智伟|译软件开发大神MartinFowler如此推荐本书:“微服
- 高考作文:不要成为当代贾宝玉
如烟出岫
《红楼梦》里面写道大观园这一段,是凸显贾宝玉的才华的高光时刻。比如,《红楼梦》写到“大观园试才题对额”时有一个情节,为元妃(贾元春)省亲修建的大观园竣工后,众人给园中桥上亭子的匾额题名。有人主张从欧阳修《醉翁亭记》“有亭翼然”一句中,取“翼然”二字;贾政认为“此亭压水而成”,题名“还须偏于水”,主张从“泻出于两峰之间”中拈出一个“泻”字,有人即附和题为“泻玉”;贾宝玉则觉得用“沁芳”更为新雅,贾政
- 故事||致 爱上一个人
译垚
有时候,一首不出名,也不算很好听的歌曲,歌词和对白,与身边的一些故事,是那么的相似,人生有多少的故事,疼痛溶在一首音乐里......原创文/译垚网图致谢原创者侵删故事||致爱上一个人痛苦不需要预演爱时,撕心裂肺有多傲娇和狠心把真心爱你的人,伤得彻底为爱一个人,思念决堤浪潮无情的淹没真心抓住最后一根稻草,为等待硬撑泪水是睡前那声晚安哭泣一直不肯入眠幻影,均在梦中迈出脚步才知远方没有终点爱被拒千里之外
- 今日联对0829
诗图佳得
肖老师早上好!各位老师早上好!有感昨晚遛弯巧遇小学同学,勉出一联接场,供大家凑凑趣:日落归巢逢老友,???????。为免仓促,提议请仙子老师拨冗提前做个准备,明日为大家出联[抱拳][抱拳][抱拳]@仙子 期待您的佳作[胜利][胜利][胜利][胜利]一一孙小智试对孙老师出联:日落归巢逢老友;霞飞起舞恋新风。一一五品仙子老师好!马老师好!孙老师好!刘老师好!试对孙老师联:日落归巢逢老友,晨明到海看新天
- 宝妈在家有哪些副业可以操作?推荐4个副业最适合宝妈做!
一起高省
人们对于全职妈妈的印象往往就是在家带孩子,不用工作非常轻松,其实不然。全职妈妈也是有工作的,这份主业就是全年无休带孩子,照顾家庭,而且大部分全职妈妈都因此没有经济来源。那么有没有适合的“副业兼职”,今天我就为大家整理了几个值得一试的全职妈妈副业兼职。1、线上客服,我们可以在网上找兼职客服的工作。一些大型的平台往往会招聘电话客服或者是线上客服,比如淘宝,菜鸟,支付宝等等,这些平台的客服工作互相不冲突
- 开始执行清单管理
张明杰
参加实践管理营已经3周了,开始之前提出了种种要求,自己虽然没说,但是觉得还是有点难度的。说实话,内心是抱着坚持下来就放起的想法,因为曾经做过一些事情让自己很难受,自己有时候是在逃避难受的那种感受。但是还是决定试一试,因为就算是你有一万个放弃的理由,但是还有一个理由坚持。这个是最近大家都处于疲惫期时,有人发的7中应对方法,今早在听樊登读书会时也提到了人为什么会发生改变,其实就是因为发现差异,关于差异
- 干什么都要大胆去闯,大胆去试
今日昱言
干什么都要大胆去闯,大胆去试,没有什么大不了,你可以想一下,最坏的结果是什么,那都是你可以承受的。所以说你要大胆的去试,大胆的去想,不试永远没有机会,要积极的去争取。不要老想着别人来催促你,那个时代早已经过去了,你应该自己积极的推销自己,积极的去争取。图片发自App这是刚看到的一篇文章,写的很好,要学会放下,只有放下,你才会知道有一些事情根本就是无所谓的,有一些坚持是不值得的,是不需要的,并且只有
- 设背包密码系统的超递增序列为A=(3,4,9,17,35),乘数t=19,模数k=73,试对good night加密
CHENGlady
密码学密码学背包密码
PS:后续在此基础上更新Java代码1.超递增序列含义超递增序列是指一个正整数序列,其中每个元素a[i](i≥2)都大于它前面所有元素之和,即a[i]>(a[1]+a[2]+...+a[i-1])2.加密公式C=(B*)modkC是明文组3.求B公式:B≡t*Amodk解释:B:是通过私钥(一个超递增序列)和某个模数和乘数进行模乘运算得到的序列,以此作为公钥t:乘数A:题目给出的超递增序列k:模数
- 『读书•觉察•冥想‖第二百九十天』《生命之书—365天的静心冥想》作者:[印度]克里希那穆提著 胡因梦译
景熙惟
《生命之书-365天的静心冥想》十月十七日心智的更新我认为不断地努力想变成什么,便是脑子受损和退化的主因。你看我们老化的速度有多快,不但是那些六十岁以上的人,连年轻人都开始老化了。这里指的是心智上的退化。很少有人能够让心保持年轻,我指的年轻并不是有玩乐的兴致,而是一个不受染着的心——不被生活中的意外和事件所扭曲,不因为生活中的奋斗与挣扎而变得疲惫不堪。显然我们必须拥有一颗年轻的心,因为老旧的心已经
- 【呓 语】约翰·穆勒:我们活一场,值得一点更高级的快乐
诗人琉璃姬
选自约翰·穆勒《功利主义》第二章徐大建译上海人民出版社如果以为,那些赞成用功利来判别行为对错的人,是在一种狭隘的仅仅存在于口语中的意义上使用功利一词,将功利看作快乐的对立面,那真是太无知了。对于这种错误,只需提一下即可。要是误认为功利主义的哲学对手竟然也会产生如此荒唐的误解,哪怕是一时,也应该向他们表示道歉;这种误解之所以显得更不寻常,是因为对功利主义的另一种常见的批评恰好相反,指责功利主义把一切
- 99分
普普通通的中学生
最近,我们班进行了好几次考试,其中,光是数学就进行了两次。两张试卷都非常的简单,可是,我却两张试卷都得了九十九分,这究竟是为什么呢?别着急,听我慢慢跟你道来:前几天,第二单元的试卷刚考完,我就特别担心——这么简单的一张试卷,要是分数考低了,那可就不好了。等啊等,试卷总算发下来了。可是,当我把试卷打开的那一瞬间,我惊呆了——为什么得了九十九分呢?我当时特别认真的检查过了,哪儿错了呢?我仔细地看了看试
- 冈田武彦与《王阳明大传》
ea41e0427fde
《王阳明大传》单单是序就有三个版,本书原作者是日本冈田武彦先生,由中国学生钱明译过来。王阳明是中国人,但他的著作却被日本人深为研究,在日本盛行后传回中国,正如序二里说的:阳明学失于吾国而求诸异邦。冈田武彦先生是阳明精神的虔诚践行者,写王阳明大传这套书,历时25年。而看完他对阳明学的贡献,不得不敬佩!1989年3月,由冈田先生发起在日本全国筹集300万日元资助的绍兴县王阳明墓修复工程训练竣工,同年4
- 中华上下5000年之刘秀重建汉王朝
随言随语_4989
好词:信任,坚忍,智慧,成熟,收腹,小恩小惠,心慌神乱,当机立断,新贵之家,聪明才智好段:冯译发现这一情况后马上报告给刘秀,刘秀当机立断,派两路大军阻拦赤眉军,赤眉军溃败如泥,刘秀把刘盆子他们接到洛阳,奉为上宾。感悟:刘秀是一个机智勇敢,但又有点心狠手辣的人。
- 甲虫部落(七)穿越地狱4
金之心
自译,原作者维克多·卢梭(1879-1960)。然后命运再次介入。因为,六只螳螂从它们躲藏的地方跃出空中,向它们的甲虫猎物扑去。长腿怪物可怕的边界,昆虫世界的祸害,把它们从一个河岸带到另一个河岸——幸运的是,对甲壳的居住者来说。甲虫云很快就溶解了。这一切都发生在几秒钟内。多德或汤米还没完全适应这种情况,螳螂就像甲虫一样消失了,每只螳螂的凹槽腿上都有一个猎物。没有布拉姆的迹象。这三个人独自一人站在小
- 用心做事,未来可期
Trulyjane
兜美夜说之Day️️用心做事,未来可期从最开始不敢发朋友圈,担心被屏蔽,到现在成为常态,我把我的感受分享给了他们,希望他们也能受益,我做到了;夜说在飞飞的指导下,也坚持每天更新!我卖给他们的美体衣和内衣都是让她们试后满意才会给我转账,不会催账,因为相信彼此,相信公司提供的产品!!用心对待生活中的每一天,对生活充满希望,对未来有太多期许,所以我坚持做到每天原创自己的朋友圈文字,对自己的一天的总结,那
- 赛季初真是八仙过海各显神通
A楠铂
赛季初真是八仙过海各显神通班里乱不乱他俩说了听说能认识这个字的都是高手我要的闪电不是2!小孩对发型不满意,在理发店崩溃痛哭33届金鸡奖颁奖礼现场张译给任素汐把脉楼主天生眼睛小,这是背景。割一下昨天下午片警来我们家下面是我们的对话片警:你这个照片得重新拍一下,来靠墙站我:好的,(站好了等拍照)片警:你眼睛睁开,别闭上我一个是行家,一个是专家,专家也怕行家狗咬电池爆炸起火,留宠物独自在家切记收好电池猫
- 文言文翻译的方法一般有如下几点!
教学手札
翻译文言句子要掌握翻译的原则、步骤和方法。翻译的基本原则是直译为主,意译为辅,译文要符合现代汉语习惯,做到明白、流畅、简洁。翻译时既要字句对应,又要根据需要进行必要的调整,使译文完整,准确,得体。文言文翻译的方法一般有如下几点:(1)留:把文言文中的专有名词(朝代、年号、人名、地名、物名、器具、官职、职称等)与现代汉语意思相同的保留不译。如:“庖丁为文惠君解牛”中的“文惠君”。(2)补:指将文言文
- 毛里塔尼亚 连载小说 悬疑的疑惑→失重(四百五七)
黎战
毛里塔尼亚连载小说悬疑的疑惑→失重(四百五七)一切都是鬼使神差,谁都说不清楚,为什么又会登程,在飞鹰的心里始终感觉到,去证明一下到底有没有,被古老巫术验证的可能。无论这种人类的巫术有多么强大或是多么渺小或是满口雌黄,都是可以一试真假。天空和沙漠都一样的阴霾和阴沉,看不出天象是什么意思或者是在寓言着什么?这片沙漠的尽头在哪里?飞鹰的脑海里记着那个巫术大师的右边墙上的那幅图景,好像是个天体图又好像是一
- Java实现的基于模板的网页结构化信息精准抽取组件:HtmlExtractor
yangshangchuan
信息抽取HtmlExtractor精准抽取信息采集
HtmlExtractor是一个Java实现的基于模板的网页结构化信息精准抽取组件,本身并不包含爬虫功能,但可被爬虫或其他程序调用以便更精准地对网页结构化信息进行抽取。
HtmlExtractor是为大规模分布式环境设计的,采用主从架构,主节点负责维护抽取规则,从节点向主节点请求抽取规则,当抽取规则发生变化,主节点主动通知从节点,从而能实现抽取规则变化之后的实时动态生效。
如
- java编程思想 -- 多态
百合不是茶
java多态详解
一: 向上转型和向下转型
面向对象中的转型只会发生在有继承关系的子类和父类中(接口的实现也包括在这里)。父类:人 子类:男人向上转型: Person p = new Man() ; //向上转型不需要强制类型转化向下转型: Man man =
- [自动数据处理]稳扎稳打,逐步形成自有ADP系统体系
comsci
dp
对于国内的IT行业来讲,虽然我们已经有了"两弹一星",在局部领域形成了自己独有的技术特征,并初步摆脱了国外的控制...但是前面的路还很长....
首先是我们的自动数据处理系统还无法处理很多高级工程...中等规模的拓扑分析系统也没有完成,更加复杂的
- storm 自定义 日志文件
商人shang
stormclusterlogback
Storm中的日志级级别默认为INFO,并且,日志文件是根据worker号来进行区分的,这样,同一个log文件中的信息不一定是一个业务的,这样就会有以下两个需求出现:
1. 想要进行一些调试信息的输出
2. 调试信息或者业务日志信息想要输出到一些固定的文件中
不要怕,不要烦恼,其实Storm已经提供了这样的支持,可以通过自定义logback 下的 cluster.xml 来输
- Extjs3 SpringMVC使用 @RequestBody 标签问题记录
21jhf
springMVC使用 @RequestBody(required = false) UserVO userInfo
传递json对象数据,往往会出现http 415,400,500等错误,总结一下需要使用ajax提交json数据才行,ajax提交使用proxy,参数为jsonData,不能为params;另外,需要设置Content-type属性为json,代码如下:
(由于使用了父类aaa
- 一些排错方法
文强chu
方法
1、java.lang.IllegalStateException: Class invariant violation
at org.apache.log4j.LogManager.getLoggerRepository(LogManager.java:199)at org.apache.log4j.LogManager.getLogger(LogManager.java:228)
at o
- Swing中文件恢复我觉得很难
小桔子
swing
我那个草了!老大怎么回事,怎么做项目评估的?只会说相信你可以做的,试一下,有的是时间!
用java开发一个图文处理工具,类似word,任意位置插入、拖动、删除图片以及文本等。文本框、流程图等,数据保存数据库,其余可保存pdf格式。ok,姐姐千辛万苦,
- php 文件操作
aichenglong
PHP读取文件写入文件
1 写入文件
@$fp=fopen("$DOCUMENT_ROOT/order.txt", "ab");
if(!$fp){
echo "open file error" ;
exit;
}
$outputstring="date:"." \t tire:".$tire."
- MySQL的btree索引和hash索引的区别
AILIKES
数据结构mysql算法
Hash 索引结构的特殊性,其 检索效率非常高,索引的检索可以一次定位,不像B-Tree 索引需要从根节点到枝节点,最后才能访问到页节点这样多次的IO访问,所以 Hash 索引的查询效率要远高于 B-Tree 索引。
可能很多人又有疑问了,既然 Hash 索引的效率要比 B-Tree 高很多,为什么大家不都用 Hash 索引而还要使用 B-Tree 索引呢
- JAVA的抽象--- 接口 --实现
百合不是茶
抽象 接口 实现接口
//抽象 类 ,方法
//定义一个公共抽象的类 ,并在类中定义一个抽象的方法体
抽象的定义使用abstract
abstract class A 定义一个抽象类 例如:
//定义一个基类
public abstract class A{
//抽象类不能用来实例化,只能用来继承
//
- JS变量作用域实例
bijian1013
作用域
<script>
var scope='hello';
function a(){
console.log(scope); //undefined
var scope='world';
console.log(scope); //world
console.log(b);
- TDD实践(二)
bijian1013
javaTDD
实践题目:分解质因数
Step1:
单元测试:
package com.bijian.study.factor.test;
import java.util.Arrays;
import junit.framework.Assert;
import org.junit.Before;
import org.junit.Test;
import com.bijian.
- [MongoDB学习笔记一]MongoDB主从复制
bit1129
mongodb
MongoDB称为分布式数据库,主要原因是1.基于副本集的数据备份, 2.基于切片的数据扩容。副本集解决数据的读写性能问题,切片解决了MongoDB的数据扩容问题。
事实上,MongoDB提供了主从复制和副本复制两种备份方式,在MongoDB的主从复制和副本复制集群环境中,只有一台作为主服务器,另外一台或者多台服务器作为从服务器。 本文介绍MongoDB的主从复制模式,需要指明
- 【HBase五】Java API操作HBase
bit1129
hbase
import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.HColumnDescriptor;
import org.apache.ha
- python调用zabbix api接口实时展示数据
ronin47
zabbix api接口来进行展示。经过思考之后,计划获取如下内容: 1、 获得认证密钥 2、 获取zabbix所有的主机组 3、 获取单个组下的所有主机 4、 获取某个主机下的所有监控项  
- jsp取得绝对路径
byalias
绝对路径
在JavaWeb开发中,常使用绝对路径的方式来引入JavaScript和CSS文件,这样可以避免因为目录变动导致引入文件找不到的情况,常用的做法如下:
一、使用${pageContext.request.contextPath}
代码” ${pageContext.request.contextPath}”的作用是取出部署的应用程序名,这样不管如何部署,所用路径都是正确的。
- Java定时任务调度:用ExecutorService取代Timer
bylijinnan
java
《Java并发编程实战》一书提到的用ExecutorService取代Java Timer有几个理由,我认为其中最重要的理由是:
如果TimerTask抛出未检查的异常,Timer将会产生无法预料的行为。Timer线程并不捕获异常,所以 TimerTask抛出的未检查的异常会终止timer线程。这种情况下,Timer也不会再重新恢复线程的执行了;它错误的认为整个Timer都被取消了。此时,已经被
- SQL 优化原则
chicony
sql
一、问题的提出
在应用系统开发初期,由于开发数据库数据比较少,对于查询SQL语句,复杂视图的的编写等体会不出SQL语句各种写法的性能优劣,但是如果将应用系统提交实际应用后,随着数据库中数据的增加,系统的响应速度就成为目前系统需要解决的最主要的问题之一。系统优化中一个很重要的方面就是SQL语句的优化。对于海量数据,劣质SQL语句和优质SQL语句之间的速度差别可以达到上百倍,可见对于一个系统
- java 线程弹球小游戏
CrazyMizzz
java游戏
最近java学到线程,于是做了一个线程弹球的小游戏,不过还没完善
这里是提纲
1.线程弹球游戏实现
1.实现界面需要使用哪些API类
JFrame
JPanel
JButton
FlowLayout
Graphics2D
Thread
Color
ActionListener
ActionEvent
MouseListener
Mouse
- hadoop jps出现process information unavailable提示解决办法
daizj
hadoopjps
hadoop jps出现process information unavailable提示解决办法
jps时出现如下信息:
3019 -- process information unavailable3053 -- process information unavailable2985 -- process information unavailable2917 --
- PHP图片水印缩放类实现
dcj3sjt126com
PHP
<?php
class Image{
private $path;
function __construct($path='./'){
$this->path=rtrim($path,'/').'/';
}
//水印函数,参数:背景图,水印图,位置,前缀,TMD透明度
public function water($b,$l,$pos
- IOS控件学习:UILabel常用属性与用法
dcj3sjt126com
iosUILabel
参考网站:
http://shijue.me/show_text/521c396a8ddf876566000007
http://www.tuicool.com/articles/zquENb
http://blog.csdn.net/a451493485/article/details/9454695
http://wiki.eoe.cn/page/iOS_pptl_artile_281
- 完全手动建立maven骨架
eksliang
javaeclipseWeb
建一个 JAVA 项目 :
mvn archetype:create
-DgroupId=com.demo
-DartifactId=App
[-Dversion=0.0.1-SNAPSHOT]
[-Dpackaging=jar]
建一个 web 项目 :
mvn archetype:create
-DgroupId=com.demo
-DartifactId=web-a
- 配置清单
gengzg
配置
1、修改grub启动的内核版本
vi /boot/grub/grub.conf
将default 0改为1
拷贝mt7601Usta.ko到/lib文件夹
拷贝RT2870STA.dat到 /etc/Wireless/RT2870STA/文件夹
拷贝wifiscan到bin文件夹,chmod 775 /bin/wifiscan
拷贝wifiget.sh到bin文件夹,chm
- Windows端口被占用处理方法
huqiji
windows
以下文章主要以80端口号为例,如果想知道其他的端口号也可以使用该方法..........................1、在windows下如何查看80端口占用情况?是被哪个进程占用?如何终止等. 这里主要是用到windows下的DOS工具,点击"开始"--"运行",输入&
- 开源ckplayer 网页播放器, 跨平台(html5, mobile),flv, f4v, mp4, rtmp协议. webm, ogg, m3u8 !
天梯梦
mobile
CKplayer,其全称为超酷flv播放器,它是一款用于网页上播放视频的软件,支持的格式有:http协议上的flv,f4v,mp4格式,同时支持rtmp视频流格 式播放,此播放器的特点在于用户可以自己定义播放器的风格,诸如播放/暂停按钮,静音按钮,全屏按钮都是以外部图片接口形式调用,用户根据自己的需要制作 出播放器风格所需要使用的各个按钮图片然后替换掉原始风格里相应的图片就可以制作出自己的风格了,
- 简单工厂设计模式
hm4123660
java工厂设计模式简单工厂模式
简单工厂模式(Simple Factory Pattern)属于类的创新型模式,又叫静态工厂方法模式。是通过专门定义一个类来负责创建其他类的实例,被创建的实例通常都具有共同的父类。简单工厂模式是由一个工厂对象决定创建出哪一种产品类的实例。简单工厂模式是工厂模式家族中最简单实用的模式,可以理解为是不同工厂模式的一个特殊实现。
- maven笔记
zhb8015
maven
跳过测试阶段:
mvn package -DskipTests
临时性跳过测试代码的编译:
mvn package -Dmaven.test.skip=true
maven.test.skip同时控制maven-compiler-plugin和maven-surefire-plugin两个插件的行为,即跳过编译,又跳过测试。
指定测试类
mvn test
- 非mapreduce生成Hfile,然后导入hbase当中
Stark_Summer
maphbasereduceHfilepath实例
最近一个群友的boss让研究hbase,让hbase的入库速度达到5w+/s,这可愁死了,4台个人电脑组成的集群,多线程入库调了好久,速度也才1w左右,都没有达到理想的那种速度,然后就想到了这种方式,但是网上多是用mapreduce来实现入库,而现在的需求是实时入库,不生成文件了,所以就只能自己用代码实现了,但是网上查了很多资料都没有查到,最后在一个网友的指引下,看了源码,最后找到了生成Hfile
- jsp web tomcat 编码问题
王新春
tomcatjsppageEncode
今天配置jsp项目在tomcat上,windows上正常,而linux上显示乱码,最后定位原因为tomcat 的server.xml 文件的配置,添加 URIEncoding 属性:
<Connector port="8080" protocol="HTTP/1.1"
connectionTi