- 2021-06-25
龙杏仁Long
【雪漠之约早读229】[玫瑰][玫瑰][玫瑰]《光明大手印:实修顿入》上卷p12—14页空性智慧不离自性还没有明心见性的修行人一定要明白,修炼不是让你形成一种盲目的新习惯,不是让你成为定力绝佳的熟练技工,更不是让你长生不老、返老还童,而是经由一种特定的方式,用大善、大爱、大美的理念与经得起推敲、验证的真理改变你的心灵,在日复一日的熏染中,让你的心灵变得博大,让你的人格更趋完善。在这个前提下,才谈得
- 2021-06-25
卧舟闻梅
温柔的力量身处费尔南多.佩索阿所谓的海角和尖峰所组成的世界中,连善良都需要锋芒的时代,如何依凭温柔处世立身?温柔的表现形式是轻柔,“吹面不寒杨柳风”,让人感受不到凛冽的力量,诚如Beyond歌中所唱“带出温暖永远在背后”。但,温柔是有力量的,只不过这种力量以一种和缓的形式表达出来而已。法国作家拉丹有一则寓言《西风和南风》广为人知。狂暴凛冽的西风在比赛中一筹莫展,而徐徐吹拂的南风却轻易取胜,就是表明
- 2021-06-25心理咨询技术第二课
榛果Latte
对于“学术尊重”,我的理解是放空自己,怀着敬畏与谦卑之心来学习专业课程。在课程中,了解到“学术尊重”有三个关键词:“听”、“用心”、“动脑子”。说实话,老师在讲“学术尊重”的时候我的压力很大,因为我自认为我很用心的听,用心学,也在动脑思考,为什么还是要说我们没有用心没有好好听没有动脑子?后来想了一下,我去听的内容是否添加了我的主观意识?我是否用心去感受了来访者语言背后的真实意图?我能否客观公立的把
- 2021-06-25
50f74981c544
中原焦点网络中级25初级28复训陈菲坚持分享第217天约练822021年6月25日今天有点儿闷热,中午的时候一阵倾盆大雨,把闷热的感觉稍稍缓解了一些,可能因为没有下透,下午出太阳的时候,感受到是潮热粘腻的感觉,对于生长的北方的我,还是觉得不适。约练感悟:咨询师1.1顺势而为,贴着来访者就好。1.2来访者的反思和共情能力特别强,在体验时有了更多的不同。1.3不预设,来访者以为合适的,就是在她的世界里
- 2021-06-25
姗姗_52f9
刘姗姗中原焦点团队坚持分享第1426天《万物皆可善待》傍晚快7点时,我在房间里画向日葵,只听到大门开锁的声音,又听到两种不同的脚步声,便知道是爸妈回来了。只听我爸问我妈:“咦?今天你咋回来嫩晚?”我家门店通常6点多就关门了,我妈最后一个走,因为我爸是步行回家,所以早走一会儿,白天也会早到。我妈:“等燕子妈妈回家呢,今天飞回来的有点晚。”不知怎的,听到我妈说这话,我觉得她真可爱,是那种特别温暖的,有
- 2021-06-25
十豆口_cf24
中原焦点团队网络中25王新喜坚持分享第218天总约练150读书会61中级约练咨询师34次2021-06-25今早约练,做观察员,咨询师老师的循环问话,引发了来访者老师的思考,扩大了知觉。假如xxx就在你的面前,你打算如何跟他汇报这件事情?如果xxx就在你的面前,听到了你的汇报,他会又怎样的表现或感受如何?反思到自己,我们不要背负来访者的问题,能做多少做多少,有改变是难得的,没有改变是正常的,很多事
- 2021-06-25
吕志刚l
京❤️达总店:吕志刚2021年6月24日落地真经严格就是爱,放纵既是害目标确认目标:油卡目标:30个完成28个。今日体验,工作中遇到了难以解决的困难,不要气馁,任何事情总有一个结局,保持乐观积极的心态,说不定下一步是惊喜呢
- 2021-06-25
Ss_c946
今天上了周莹老师的私教,没有对比图,课上到一半做的身体评估,但是老师会跟你沟通,平时哪里不舒服,编排也是梵音的固体编排,先放松肩颈,在拜日A,因为我跟老是说我下腰背部不舒服,所以没有做站立体式,老师课后有跟我沟通,体验课中,到底是体式练习重要,还是对比图重要,应该怎么去上好体验课
- 2021-06-25
感恩学习相信小陶
感恩!六点签到4119天即凡是能被火烧掉的东西都不重要,比如金钱、房子或者其他物质财富,而无法烧掉的东西才重要,总结起来有三样,那就是一个人的知识、能力和价值观,这也是深藏于内心并真正属于自己的“三把火”。在我看来,求知、思考和实践最能让人保持一颗“少年心”。
- 图文小编《杨浦、成毅》为你发布!全球长度第一的中国隧道
杨书鸿
说到我们国家的基建,那可是闻名于世的,就基建技术而言是非常值得国人骄傲的,很多看起来不可能完成的任务,在我们基建工人的努力下都成功完工。近几年国家在桥梁建设上也是成就颇多,就以港珠澳为例,跨海大桥仿佛已经成了我们国家的建筑名片。实际上基建并不仅仅是在桥梁建设上,铁路和高路也是重要的组成部分,有时候建筑难度甚至不亚于修建桥梁。图文来自/杨书鸿/发布时间/2021-06-25要想公路通过山川其实不仅仅
- 2021-06-25
LoveStranger
旭日升起,预热的黄光徐徐的撒入我们寝室,一个个慵懒的身子仅仅翻了个身,已经是七点了,但我们却都难以起床。我叫彭士季,今年21岁,已经大三了,是个名副其实的大学废宅,是个没对象、没成绩、没有钱的三无人员。大一的时候,原来寝室的人都很嫌弃我,因为我懒、邋遢、又宅受到了排挤,他们清一色的投票让辅导员把我调到了现在的这个寝室。正所谓人以类聚物以群分,我们寝室的四个室友和我无出其右,就是混完这四年就拉倒了事
- 2021-06-25
优优
作为一个职场女性,如何平衡事业与家庭抱你就不能搬砖,搬砖就不能抱你。恐怕是众多职业女性的无奈吧。对于职场妈妈来说,没有充足的时间陪伴孩子永远是最大的痛,而很多孩子又都是磨人的小妖精,恨不得24小时都要挂到妈妈身上,甚至连妈妈上个厕所的时间都不给。你是否为了更好地陪伴孩子而有过舍弃事业的想法,但是又不愿放弃这么多年在事业上的打拼而苦恼呢?《给自己1小时》作者江岚,时间管理普及者,“积木定制时间管理法
- 2021-06-25
啊大甘
花开花落——飘洒的青春“十年磨一剑”年复一年的坚守明日终要绽放。带着他们的的青春奔跑在考场上。今日的小聚注定明天的分离,回首过往阵阵幽怨叹息,往日师生情谊历历在目过而不忘。不知明日在何处,离别之际忽而觉得他们的笑容可掬,一切过错都是应当的。离别的愁苦是最沉重的。无论以后走向何处,无论平日间的过往如何。留下的情谊是真切的,看着他们熟悉而又陌生的背影让我想起了背影中的朱自清与他父亲的离别之情。是多么的
- 2021-06-25
翅之梦
❤️国学爱爱国学❤️传统文化每日分享❤️《庄子》外篇《在宥》【原文】五世俗之人,皆喜人之同乎己而恶人之异于己也。同于己而欲之,异于己而不欲者,以出乎众为心也。夫以出乎众为心者,曷常出乎众哉[1]!因众以宁[2],所闻不如众技众矣。而欲为人之国者,此揽乎三王之利而不见其患者也[3]。此以人之国侥倖也,几何侥倖而不丧人之国乎!其存人之国也,无万分之一;而丧人之国也,一不成而万有余丧矣。悲夫,有土者之不
- 2021-06-25
千里马会军
衷心祝愿完胜凯旋沙场点兵在今天,加油加油九二班!正常发挥水平显,最后胜利必属咱!独一无二九二班,莘莘学子气宇轩。起早贪黑下苦功,披星戴月三百天。养兵千日今出战,东风万里旌旗展。攻城从来不怕坚,攻卷何时畏惧难。浩博、梦迪、韩嘉睿,洛阳一高在召唤。晓丫、瑞阳、马奕展,志在必得省重点。家鹤、郑好、马河阳,坚决考取省示范。佳宝、刘艺、韩倩雯,定把高中梦儿圆。昂飞、天涯、徐新新,静哲、卓雅、牛甜甜。待到领住
- 2021-06-25
797885d211d1
世法哲言》(二)【是非由或自论,凡事之非,莫可于执,着之抗言之斗,自度非业加盛,终至入患,由是之道故面是非切勿挂怀。】图片所有是非之本体都是不可执着的,它只能给人们带来坏处,只会给人们带来不幸和灾难,因此,在我们面临是非的时候切不可执着它。是非出现以后,让别人自己去理论,他高兴怎么说,就怎么说。不然的话,一纠缠在是非里,就会造成争辩,就要争辩谁真谁假,谁正谁负,也就要造成互相之间言语上的争斗。而且
- 2021-06-25
池池win
今天上了年轻后弯,简直太开心了,轮式第一次自己推起来啦。老师声音很好听,整体课程练习很舒适,编排很流畅,只是口令熟悉度膝盖稍微加强。下午维护和写定金表,维护全部跟上,开心,定金表填写也发现了自己聊客户的缺点,7大问题没有问全,需要加强
- 2021-06-25
蛐蛐曲儿
换到46这面来上课了,很不适。从环境到硬件设施,再加上马上初三,都要适应。还好,还有一群志同道合的老友可以凑在一起。开了关于生地和准初三的家长会,老师们很着急,这几天还十分炎热,调整心态,哄好孩子,考个好成绩!一天的高跟鞋,好累!
- 2021-06-25
我命由我不由天CYZ
2021.6.24今日感悟:总是乐观淡然,积极向上,能够把挫折踩在脚下,把困难当作箭靶,把坎坷逐个踏平,把烦恼视为生活中的佐料,把忧愁写成美丽的诗行。
- 小学生陪读记(56):2021-06-25
小初学生陪读笔记
这几天磨耳朵用的是纳米盒中的校内英语课文,本学期英语是区教育局调研科目,我本已打算好让娃裸考,架不住英语老师这回急了,天天在校内抓这科,别的老师也尽量给英语让位,真没见英语老师这么负责过。早读停了古诗文,改成语数科的背诵。语文已经让娃背学校练习册中课本中的阅读题,数学背默知识点,科学背诵练习册和习题集。背诵这件事也没有什么捷径,此前没有日积月累的内容,临到期末这么磨磨枪用途没有理想中的大。下个学期
- 2021-06-25
1b510155e4ef
读书写作让人心情愉悦昨天我和我姑娘唠嗑,讨论她是早起学习效果好,还是晚睡学习效果好。唠这唠着,她突然对我说:妈我发现一个问题,你现在每说一句话都爱说四字成语呢?还爱给我讲一些大道理。我哈哈大笑,让你发现了,因为我这几天正在学习写拆书稿呢。不由自主的就想用华丽的词语,说话就联想我看过的书里的大道理。我真的有变化,有,我姑娘说:还挺大呢,看你这几天心情也很好呢,还总说我得写文章去了。我还以为你看我学习
- 2021-06-25
雨红_ab21
习惯五知彼解己金句:大部分人在聆听时并不是想理解对方,而是为了做出回应。这样的人要么说话,要么准备说话,不断地用自己的模式过滤一切,用自己的经历理解别人的生活。曾经的我也是这样。当听到对方说什么的时候,我回应的就是我的认知,以及我的人生经验,显得我好像是一方圣贤似的。后来了解过一点心理学,有一个工具叫25度眼。就是说每一个人看待问题的角度可能只看到25度,更智慧的人看到的角度更广阔。比如高晓松总是
- 2021-06-25读书卡片NO.50《内在小孩》第一章 谢谢你,内在小孩
人生由我1314
全书思维导图阅读打卡第179天作者:修蓝博士我见:1、当你遇见另一个自己,并透过荷欧波诺波诺的方法与他更亲密结合,那么这“另一个自己”必定能给你意想不到的帮助。2、你周遭发生的事(包含问题),都是由内在小孩所拥有的记忆引起的。消除因其问题的记忆,就可以解决问题。3、越是清理,内在小孩越年能不断地教导我们重要的事。4、内在小孩的问题,就像存储在计算机存储器内的资料,数量非常庞大,他们完全由内在小孩来
- 2021-06-25林泽的晨间日记4
林泽
今天是什么日子~与女友的纪念日!起床:7点(哪怕是周六,这可怕的生物钟啊)就寝:今天不同上班,11点就睡。天气:下雨了,大雨和小雨来回转心情:有点不开心,今天比昨天收益低了4贝纪念日:会员第5天,与女友的纪念日任务清单昨日完成的任务,最重要的三件事:1.在发表了5篇文章,两篇叙事,一篇提出学生的问题,一篇消零(包含背英语的坚持),还有一篇晨间日记。2.教室全部布置全部完成。3.资料全部准备好改进:
- 2021-06-25
京心达_周莎
2021.6.25今日体验:生活中遇到的低谷坎坷,当时觉得太难过了,但一旦过去,回头看时也不过如此。时间并不能解决一切问题,但会把原来我们怎么也想不通的问题变得不再重要了。
- 2021-06-25
岚麟小五
词汇中孕育的浪漫词典不但能使人们通晓词意,还能为我们揭示单词的渊源。一般说来,在词典上单词词意的后面用括号括起来的就是这个单词的起源和历史。单词并不像大多数人们认为的那样是枯燥乏味的音符,它们其实是非常绚烂多彩的,几乎每一个单词的起源都是一个罗曼蒂克的故事。假如我们不能从各种语言和文明的精华中汲取营养,我们就不可能会创造出这样丰富多彩的词汇,要是那样的话,我们就连像“telephonethegro
- 2021-06-25
淼淼FineYoga梵音瑜伽
团课很舒服,年轻后弯。址谚老师一如既往的优秀。下午在教室维护,登记客户跟踪记录。一天就这么过去了。谢谢店长给我们休息时间。以后真的在多呆核心
- 2021-06-25手握千万粉丝90花,自降身价做主播,直播间叫哥被吐槽掉价
LH云控
孙一宁与王思聪之间“由爱生恨”引发的爆料互撕,在最近可算是让吃瓜群众看足了热闹,素人或网红一旦与王校长有所关联,那热度自是不会少的,想想当初的张予曦,原本只是一个名不见经传的平面模特,现今都成欢瑞的当家花旦了,所以孙一宁虽然因此黑料被扒,嘲讽不断,但也确实肉眼可见的红了,社交账号涨粉迅速,开播短短几天,粉丝刷礼物的收入便高达百万,这种程度的流量变现,哪怕是现今有点名气的小明星都会眼红。直播间人气互
- 2021-06-25
慢慢成长吧p
宜狂背说课,宜精简熟练,宜流利上口,宜多喝水,宜觉得自己很行,宜接纳自己的不足。忌胡思乱想,忌否定自己。昨晚上想到,如果自己先接纳了自己,并且开始渐渐的开始做一个更好的自己,把你的自信展示出来,把你的阳光表现出来,先感动自己,也许在这个过程中,也会感动别人。
- 2021-06-25
拈指一笑
早上下雨了,虽然是夏天,但是特别凉快。天一凉,感觉蚊子好像也躲起来了。垣下在修路,这两天上下班特别不方便。虽然大家都抱怨,可是有什么办法呢!高考成绩出来了,这两天不管走到哪,都听到大家再炫耀娃,炫耀成绩。一个同事说亲戚家原本看好考清华北大的学生,竟然还没有考到600,而隔壁邻居家原本不看好的顽皮孩子,反而考了650多。这可真是让人不知道说什么好了!最后只能归结一句各人有各命吧!虽然每天都坐着,但还
- windows下源码安装golang
616050468
golang安装golang环境windows
系统: 64位win7, 开发环境:sublime text 2, go版本: 1.4.1
1. 安装前准备(gcc, gdb, git)
golang在64位系
- redis批量删除带空格的key
bylijinnan
redis
redis批量删除的通常做法:
redis-cli keys "blacklist*" | xargs redis-cli del
上面的命令在key的前后没有空格时是可以的,但有空格就不行了:
$redis-cli keys "blacklist*"
1) "blacklist:12:
[email protected]
- oracle正则表达式的用法
0624chenhong
oracle正则表达式
方括号表达示
方括号表达式
描述
[[:alnum:]]
字母和数字混合的字符
[[:alpha:]]
字母字符
[[:cntrl:]]
控制字符
[[:digit:]]
数字字符
[[:graph:]]
图像字符
[[:lower:]]
小写字母字符
[[:print:]]
打印字符
[[:punct:]]
标点符号字符
[[:space:]]
- 2048源码(核心算法有,缺少几个anctionbar,以后补上)
不懂事的小屁孩
2048
2048游戏基本上有四部分组成,
1:主activity,包含游戏块的16个方格,上面统计分数的模块
2:底下的gridview,监听上下左右的滑动,进行事件处理,
3:每一个卡片,里面的内容很简单,只有一个text,记录显示的数字
4:Actionbar,是游戏用重新开始,设置等功能(这个在底下可以下载的代码里面还没有实现)
写代码的流程
1:设计游戏的布局,基本是两块,上面是分
- jquery内部链式调用机理
换个号韩国红果果
JavaScriptjquery
只需要在调用该对象合适(比如下列的setStyles)的方法后让该方法返回该对象(通过this 因为一旦一个函数称为一个对象方法的话那么在这个方法内部this(结合下面的setStyles)指向这个对象)
function create(type){
var element=document.createElement(type);
//this=element;
- 你订酒店时的每一次点击 背后都是NoSQL和云计算
蓝儿唯美
NoSQL
全球最大的在线旅游公司Expedia旗下的酒店预订公司,它运营着89个网站,跨越68个国家,三年前开始实验公有云,以求让客户在预订网站上查询假期酒店时得到更快的信息获取体验。
云端本身是用于驱动网站的部分小功能的,如搜索框的自动推荐功能,还能保证处理Hotels.com服务的季节性需求高峰整体储能。
Hotels.com的首席技术官Thierry Bedos上个月在伦敦参加“2015 Clou
- java笔记1
a-john
java
1,面向对象程序设计(Object-oriented Propramming,OOP):java就是一种面向对象程序设计。
2,对象:我们将问题空间中的元素及其在解空间中的表示称为“对象”。简单来说,对象是某个类型的实例。比如狗是一个类型,哈士奇可以是狗的一个实例,也就是对象。
3,面向对象程序设计方式的特性:
3.1 万物皆为对象。
- C语言 sizeof和strlen之间的那些事 C/C++软件开发求职面试题 必备考点(一)
aijuans
C/C++求职面试必备考点
找工作在即,以后决定每天至少写一个知识点,主要是记录,逼迫自己动手、总结加深印象。当然如果能有一言半语让他人收益,后学幸运之至也。如有错误,还希望大家帮忙指出来。感激不尽。
后学保证每个写出来的结果都是自己在电脑上亲自跑过的,咱人笨,以前学的也半吊子。很多时候只能靠运行出来的结果再反过来
- 程序员写代码时就不要管需求了吗?
asia007
程序员不能一味跟需求走
编程也有2年了,刚开始不懂的什么都跟需求走,需求是怎样就用代码实现就行,也不管这个需求是否合理,是否为较好的用户体验。当然刚开始编程都会这样,但是如果有了2年以上的工作经验的程序员只知道一味写代码,而不在写的过程中思考一下这个需求是否合理,那么,我想这个程序员就只能一辈写敲敲代码了。
我的技术不是很好,但是就不代
- Activity的四种启动模式
百合不是茶
android栈模式启动Activity的标准模式启动栈顶模式启动单例模式启动
android界面的操作就是很多个activity之间的切换,启动模式决定启动的activity的生命周期 ;
启动模式xml中配置
<activity android:name=".MainActivity" android:launchMode="standard&quo
- Spring中@Autowired标签与@Resource标签的区别
bijian1013
javaspring@Resource@Autowired@Qualifier
Spring不但支持自己定义的@Autowired注解,还支持由JSR-250规范定义的几个注解,如:@Resource、 @PostConstruct及@PreDestroy。
1. @Autowired @Autowired是Spring 提供的,需导入 Package:org.springframewo
- Changes Between SOAP 1.1 and SOAP 1.2
sunjing
ChangesEnableSOAP 1.1SOAP 1.2
JAX-WS
SOAP Version 1.2 Part 0: Primer (Second Edition)
SOAP Version 1.2 Part 1: Messaging Framework (Second Edition)
SOAP Version 1.2 Part 2: Adjuncts (Second Edition)
Which style of WSDL
- 【Hadoop二】Hadoop常用命令
bit1129
hadoop
以Hadoop运行Hadoop自带的wordcount为例,
hadoop脚本位于/home/hadoop/hadoop-2.5.2/bin/hadoop,需要说明的是,这些命令的使用必须在Hadoop已经运行的情况下才能执行
Hadoop HDFS相关命令
hadoop fs -ls
列出HDFS文件系统的第一级文件和第一级
- java异常处理(初级)
白糖_
javaDAOspring虚拟机Ajax
从学习到现在从事java开发一年多了,个人觉得对java只了解皮毛,很多东西都是用到再去慢慢学习,编程真的是一项艺术,要完成一段好的代码,需要懂得很多。
最近项目经理让我负责一个组件开发,框架都由自己搭建,最让我头疼的是异常处理,我看了一些网上的源码,发现他们对异常的处理不是很重视,研究了很久都没有找到很好的解决方案。后来有幸看到一个200W美元的项目部分源码,通过他们对异常处理的解决方案,我终
- 记录整理-工作问题
braveCS
工作
1)那位同学还是CSV文件默认Excel打开看不到全部结果。以为是没写进去。同学甲说文件应该不分大小。后来log一下原来是有写进去。只是Excel有行数限制。那位同学进步好快啊。
2)今天同学说写文件的时候提示jvm的内存溢出。我马上反应说那就改一下jvm的内存大小。同学说改用分批处理了。果然想问题还是有局限性。改jvm内存大小只能暂时地解决问题,以后要是写更大的文件还是得改内存。想问题要长远啊
- org.apache.tools.zip实现文件的压缩和解压,支持中文
bylijinnan
apache
刚开始用java.util.Zip,发现不支持中文(网上有修改的方法,但比较麻烦)
后改用org.apache.tools.zip
org.apache.tools.zip的使用网上有更简单的例子
下面的程序根据实际需求,实现了压缩指定目录下指定文件的方法
import java.io.BufferedReader;
import java.io.BufferedWrit
- 读书笔记-4
chengxuyuancsdn
读书笔记
1、JSTL 核心标签库标签
2、避免SQL注入
3、字符串逆转方法
4、字符串比较compareTo
5、字符串替换replace
6、分拆字符串
1、JSTL 核心标签库标签共有13个,
学习资料:http://www.cnblogs.com/lihuiyy/archive/2012/02/24/2366806.html
功能上分为4类:
(1)表达式控制标签:out
- [物理与电子]半导体教材的一个小问题
comsci
问题
各种模拟电子和数字电子教材中都有这个词汇-空穴
书中对这个词汇的解释是; 当电子脱离共价键的束缚成为自由电子之后,共价键中就留下一个空位,这个空位叫做空穴
我现在回过头翻大学时候的教材,觉得这个
- Flashback Database --闪回数据库
daizj
oracle闪回数据库
Flashback 技术是以Undo segment中的内容为基础的, 因此受限于UNDO_RETENTON参数。要使用flashback 的特性,必须启用自动撤销管理表空间。
在Oracle 10g中, Flash back家族分为以下成员: Flashback Database, Flashback Drop,Flashback Query(分Flashback Query,Flashbac
- 简单排序:插入排序
dieslrae
插入排序
public void insertSort(int[] array){
int temp;
for(int i=1;i<array.length;i++){
temp = array[i];
for(int k=i-1;k>=0;k--)
- C语言学习六指针小示例、一维数组名含义,定义一个函数输出数组的内容
dcj3sjt126com
c
# include <stdio.h>
int main(void)
{
int * p; //等价于 int *p 也等价于 int* p;
int i = 5;
char ch = 'A';
//p = 5; //error
//p = &ch; //error
//p = ch; //error
p = &i; //
- centos下php redis扩展的安装配置3种方法
dcj3sjt126com
redis
方法一
1.下载php redis扩展包 代码如下 复制代码
#wget http://redis.googlecode.com/files/redis-2.4.4.tar.gz
2 tar -zxvf 解压压缩包,cd /扩展包 (进入扩展包然后 运行phpize 一下是我环境中phpize的目录,/usr/local/php/bin/phpize (一定要
- 线程池(Executors)
shuizhaosi888
线程池
在java类库中,任务执行的主要抽象不是Thread,而是Executor,将任务的提交过程和执行过程解耦
public interface Executor {
void execute(Runnable command);
}
public class RunMain implements Executor{
@Override
pub
- openstack 快速安装笔记
haoningabc
openstack
前提是要配置好yum源
版本icehouse,操作系统redhat6.5
最简化安装,不要cinder和swift
三个节点
172 control节点keystone glance horizon
173 compute节点nova
173 network节点neutron
control
/etc/sysctl.conf
net.ipv4.ip_forward =
- 从c面向对象的实现理解c++的对象(二)
jimmee
C++面向对象虚函数
1. 类就可以看作一个struct,类的方法,可以理解为通过函数指针的方式实现的,类对象分配内存时,只分配成员变量的,函数指针并不需要分配额外的内存保存地址。
2. c++中类的构造函数,就是进行内存分配(malloc),调用构造函数
3. c++中类的析构函数,就时回收内存(free)
4. c++是基于栈和全局数据分配内存的,如果是一个方法内创建的对象,就直接在栈上分配内存了。
专门在
- 如何让那个一个div可以拖动
lingfeng520240
html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml
- 第10章 高级事件(中)
onestopweb
事件
index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/
- 计算两个经纬度之间的距离
roadrunners
计算纬度LBS经度距离
要解决这个问题的时候,到网上查了很多方案,最后计算出来的都与百度计算出来的有出入。下面这个公式计算出来的距离和百度计算出来的距离是一致的。
/**
*
* @param longitudeA
* 经度A点
* @param latitudeA
* 纬度A点
* @param longitudeB
*
- 最具争议的10个Java话题
tomcat_oracle
java
1、Java8已经到来。什么!? Java8 支持lambda。哇哦,RIP Scala! 随着Java8 的发布,出现很多关于新发布的Java8是否有潜力干掉Scala的争论,最终的结论是远远没有那么简单。Java8可能已经在Scala的lambda的包围中突围,但Java并非是函数式编程王位的真正觊觎者。
2、Java 9 即将到来
Oracle早在8月份就发布
- zoj 3826 Hierarchical Notation(模拟)
阿尔萨斯
rar
题目链接:zoj 3826 Hierarchical Notation
题目大意:给定一些结构体,结构体有value值和key值,Q次询问,输出每个key值对应的value值。
解题思路:思路很简单,写个类词法的递归函数,每次将key值映射成一个hash值,用map映射每个key的value起始终止位置,预处理完了查询就很简单了。 这题是最后10分钟出的,因为没有考虑value为{}的情