- 2019-02-03
雨夕小光
二月三日如果你是在这天出生,你是一个仁慈、慷慨、好脾气的人。你很有自制能力去控制自己,对于户外活动特别喜爱,有收集东西的特殊爱癖。
- 2019-02-03
af13e377fae3
张北路姜博士眼镜郑文丽日精进200天,相互鼓励,共同进步。1、比学习:学习同事的优点,改进自己的不足2比改变:改变自己的缺点,优化自己3:比付出:今天顾客比较多,比较忙,继续努力4:比谦卑:谦虚好学,坚持学习5:比感恩:感恩父母,感恩企业6:比坚持:坚持学习,坚持日精进,坚持读书提高自律力
- 2019-02-03
因梦而燃
今天不知怎的,睡神好似怎么也不想放过我。六点我那小眼神就早已瞟到了书上,可读完书后,就开始了自己的“回笼觉”。这一觉就睡到了十二点。哈哈哈。吃完饭后看到表上的时针就已经“飞”到了一上面。这可咋整,于是我就飞奔到了楼上,赶紧翻开书本奋笔疾书起来。这一坐就是一下午,老妈叫我吃饭我也是“恋恋不舍”,就一拖再拖,直到今天的任务完成。愿明天能起个早,一天的精气神儿倍好。哈哈哈!
- 2019-02-03
大黑豆豆麻麻
定位:爱好美食,吃而不胖的健康管理师与娃同步遨游故事的世界,建立线下读书荟。主题:美食大咖来打卡定时定点的线下读书荟内容:美食活动主题的延续性,能让热爱生活的人定期定点有新收获,在过程中能更有效插入个人品牌,营养美食+健康管理。读书荟有在线的阅读,延伸到线下,能使人养成良好的习惯,并且对语感有明显的链接,线下会更直观互动。图片发自App
- 2019-02-03
42b9e5dca292
今年最后一天上班了,好多同事也都请假提前回家准备过年了,来时的路上和地铁上人都很少,路上的大树上都缠上了彩色小灯,晚上看时很是漂亮。离年越来越近了,马上就可以连休了,工作一年的小长假眨眼就到了,最后再努力工作一天!
- 2019-02-03
蜀山黔水
R4DSwj2019,2,2library(tidyverse)library(nycflights13)library(forcats)library(lubridate)library(modelr)前言(1)导入R(readr)实际上就是读取保存文件、数据库或webApi中的数据,再加载到R的数据框中。(2)整理(tibble)就是将数据保存为一致的形式,以满足其所在数据集在语义上的要求。简
- 2019-02-03
217_block
今天我和爸爸妈妈回老家的时候,路过大珠山,然后爸爸给我讲了一个神话故事,是关于一只老鹰和一只乌龟的,这个故事是这样的一天,有一只乌龟,它是妖精,身后老时跟着一团水,这一团水的用处就是淹没庄,然后天上的一个神仙就生气了,排了一只老鹰来来啄乌龟的眼睛,只要乌龟动一下,老鹰就啄他眼睛一下。很多年过去了,他们两个都变成了石头,那个老鹰是一个神仙,那个乌龟是一个妖精!然后我就跟爸爸一起寻找那两个石头,找了半
- 2019-02-03
智囊团
1、每学习一个东西要知道学习这个的目的在哪里,对自己的未来有什么帮助,离成功还有多远。然后就这样慢慢的升级打怪。
- 2019-02-03
红色长城梦
东望敬老暖珠城一心为仁孝当先华东区/王克超报道孝老仁之本,和谐孝当先。为展现东望集团的发展理念,响应蚌埠市委、市政府的“诚信蚌埠·孝善珠城·红红火火过大年”迎新春主题活动,2019年02月02日8:00,东望集团华东区花鼓灯艺术团的38名在位志愿者,在团长冯开唐的率领下,驱车20多公里,又一次来到蚌埠市龙子湖区李楼乡敬老院,为在这里颐养天年的老人送温暖、献孝心、添快乐、增幸福。一到敬老院,志愿者们
- 2019-02-03
养志法灵龟
红尘中一粒红尘红尘中自认多情,难免被情所伤。却从未后悔。因为爱过的恨不起来,没爱过的,没有必要恨。相遇,是缘聚,相离,是缘尽。相遇,相离,悲伤,欢喜,真的没有必要怨恨,君且随缘。无论你有多想,也不能强求一个人爱你,当然也不能强求一个人不恨你。法不孤起,随缘而起。有法,即是有缘,我珍惜,无法,即是缘尽,我知足。这,就够了。随时,随遇,随性,随缘,随喜。发现佛法真的什么都了然,佛参透了一切,只是一句“
- 2019-02-03
爱你才就怕你没咒念
我觉得还是吃素好,以前去过雨花斋,那里就说:吃素是最大的放生,之前也有很多次放生的经历,但是因为学佛时间长了,放生的事也看多了,真就感到有人动歪脑筋,挣这份钱,学佛人要有智慧呀,买东西的时候要想想带动了背后的什么产业的发展。好比说一个小商小贩买鱼,因为没钱租门脸,两天都没开张,
- 2019-02-03
孙雨婷
贪吃的我清早,爸爸妈妈带我去三厂瑞鹰超市买年货。到了那里,妈妈说:“我们用400块钱的票买过年时吃的用的。”我们先向着食品区进发。不一会儿,我的眼睛全被一堆金黄的吃的吸引住了。我走近一看,原来是我最爱吃的香蕉干呀!我绕着这吃的转了一圈,突然,我看到了“免费品尝”这四个乌黑乌黑的大字,顿时,我就特别高兴。我立马跑回香蕉干面前,拿了两三香蕉干往觜里送,我在想:其它吃的会不会偷偷说我不公平呢?“别吃啦!
- 2019-02-03
学会慢慢长大
明天就是大年三十了,一年就这样过去了,中国人太重视春节了,大街上到处都是人,大包小包满满的都是吃的,我小时候特别喜欢春节,现在觉得春节好累人,身心疲惫。为了春节家家都备好多东西,自己开车回家的都是满满一车。现在人们生活水平高了几乎是家家有车,一年辛辛苦苦到这几天花钱如流水,觉得过年就应该吃好的,平时不吃的这几天也要买上点。真的是心酸的一代人呢……
- 2019-02-03
希言_HY
网络初级13期坚持分享74天夜深了,却感觉此刻是最自在的。不用急着想去做什么,可以坐下来懒懒的吃着瓜子写着分享,虽然没什么反思,但是这样几句好像也是给自己一个交代。只愿今晚一觉天亮,安稳一夜吧。
- 2019-02-03
DoubleOH
好开心啊!!今天去见了小学同学!我见她之前本来好忐忑有点紧张,特怕见了面没话说搞得尴尬,但是!完全没有!从八点半聊到现在因为太晚了要回家了才拜拜!感觉三观也是契合的,好开心,以前的好朋友现在还是我会喜欢的人,这种感觉怎么这么好啊。所以同理啊,命令你开学前必须回一趟云山!!不见汤老师不行!!!!
- 2019-02-03
尛凩袹尛
我的家乡处在老船外的千秋地,在千秋地与老船的玄空迷林中。我们孙家是整个千秋地中最为神秘的一个家族,至于是为什么我也不清楚。我在我们家一直是一个十分尴尬的存在,不是不受宠,我是我们家里最为受宠的,家里的人都十分敬重我,但是却又瞒着我些什么。我从有记忆起就对家族里的,不,是我身边的所有事情都有着十分浓烈的好奇,我自己都不清楚我好奇的是什么。�
- 2019-02-03
a张润泽
今天下午,我去以前幼儿园同学家玩。我们玩了拼装玩具,我拼装一个机器人,我们又看了会电视,然后又讲讲小学一年级的事情,讲着讲着奶奶就来接我回家了。
- 2019-02-03 星期日 晴 放假啦
锴博麻麻
再有半天班就结束了2018年的工作啦,终于放假了,突然的放假让我又觉得空空如也了,想来过年也没意思的很,外出串门在家收拾都不轻松,好在也就两天的事,我们计划着回孩子奶奶之前去看看他姥姥。中午我和老妹忙清,就去给我妈备点过年的礼盒,虽然我们也常年赖在娘家蹭吃蹭喝,但是过年的讲究不能落下,该准备得不能省了。买完东西接了战斗在学校最后一天的外甥,真是不易,辛苦老师们啦,然后一起回娘家啦!算是年前最后一顿
- 2019-02-03
寂然的莫迪
忙碌的一天,早上做了一个指甲,准备美美的过一个新年!中午约了朋友吃饭,聊了来年的工作打算,有没有兴趣改行换业,这个确实是个大问题我从来没有想过改行换业,虽然,这个是一个好机会,时机很好!可我还没有做好准备,很纠结!我不知道会如何回复!过年期间好好考虑吧!虽然说有选择是好的,可是未来不可知!图片发自App
- 2019-02-03
cf934eaf5c07
人一辈子遇到坏人多好人少上班生病不让请假学习不好后悔一辈子大了就明白2018太原已经开始严打上班2个月不开工资现实
- 2019-02-03
zll莲莲
金刚书院《智慧天天见》一万小时定律实修作业分享张莲莲2019年2月3日打卡践行第440天瑜伽早课共修:月累计2次,2019年共累计:440次读书会参与:1次本周作业主题:观空性,用空性解决身边的问题!1》观空性的同时能给我们带来什么更好的商业模式2》带着空性的觉知随喜那些好运成功的人!今日践行作业心得:1、观空性会让自己的思维模式越来越清晰!观空性今天带着觉知给员工上大课,告诉员工带着让每一桌来店
- 2019-02-03
檐牙燕雀
公司在应对国际金融危机时:第一,树立“应机”的战略思维。在金融危机中及时调整产品结构,适应国际需求的变化,不断开发适应市场要求的新产品、拓展经营范围等举措的自然延续,是公司长期树立“应机”战略思维、不断应对环境变化的必然结果。第二,培育适应“应机”战略的核心竞争力。“应机”战略的实施,需要企业的核心竞争力作保障。公司为了能够适应国际市场变化莫测的经营环境,持之以恒地在提升企业的核心竞争力上下功夫:
- 2019-02-03
雪飞在路上
今天宝宝从老家过来了!为了他真得什么都愿意付出!这就是爱!去超市采购了一百多元的菜!炖了排骨配香菇。炒了包菜、花菜、青瓜火腿、青椒炒肉丝、酱豆。还煮了粥,宝宝居然不吃。又煮了一锅米饭。结果我们差不多都消灭干净啦!
- 2019-02-03年货大采购
心有灵犀J
今天妈妈置办年货特别辛苦,我来帮妈妈完成今天的日更。年的味道越来越浓,又到了我们孩子欢乐的时光了,到处都是红,红色的新棉袄、红色的春联、红色的糖果、红色的鞭炮、红色的灯笼、红色的娃娃脸蛋……置办年货是家家户户重要的活动,我们的超极大采购开始啦!超市里的年货琳琅满目,水果蔬菜样样俱全,当然,最多的莫过于人了,瞧,正在挑捡莲藕的老人、正在往嘴里偷偷塞糖果的小孩子、孩子们紧紧攥着常年在外打工的爸爸的衣角
- 2019-02-03
落叶知晓
李时珍用坚持谱写传奇,“身如逆流船,心比铁石坚”。日复一日,年复一年,他跋山涉水,采药配方,望闻问切,救死扶伤,他用无数的平凡构筑了让人景仰的伟大,经过三十多年默默无闻的努力和坚持,李时珍弄清楚了许多药物的用途,解决了许多疑难问题,终于成就了中国药物学的空前巨著——《本草纲目》。
- 2019-02-03感赏与投射
冯梅fm
感赏姐姐帮着我包饺子,两垛饺子皮在我俩的配合下很快就包完了。感赏妈给我办了很多我想不到的年货。感赏老公疏通了厨房下水道,现在洗菜倒水就不用小心翼翼了。感赏儿子把自己的电脑键盘拆下来清洗,儿子对自己喜欢的东西特别小心很爱惜,儿子也是个爱清洁讲卫生的小伙子。感赏自己每年过年都会给爸妈拿大红包。感赏自己很勤快,每年过年前都会把家里卫生全部打扫一遍、清洗一遍。感赏自己是个顾家的人,为新年过得更丰盛忙碌着准
- 2019-02-03
小鱼_cc44
一.学习与实践1.付出不亚于任何人的努力2.要谦虚不要骄傲3.要每天反省4.活着就要感谢5.集善行思利他6.不要有感性的烦恼早上坐公交车上班,离进公交站还有大概100米的时候,发现车已进站马上要开走了,然后就狂奔,司机看到了,停在那里等我,上车后司机说“反正是红灯要等,等等你就当做件好事也蛮好的”感恩,虽然我等下一趟车也不会迟到,可是司机说的“就当做件好事”听着让人很舒服,也许他在生活中也是经常抱
- 2019-02-03
阳春没有雪
明年就大年了,也就是说,这一年真的就成为历史了,可是发现自己在体重上小有收获,其他方面收获很小,或者可以说是没收获的,有时侯发现自己真的是有病,脾气也不是很好。对了,今天父母又吵架了,父亲竟然拿母亲的病来说事,真是无语了。
- 2019-02-03 餐桌礼仪
赵雪奎
餐桌礼仪吃相能反映出一个人的教养,能看到背后的家庭文化和个人的修养品位。孔子教诫儿子道:“不学礼,无以立。”一个人如果不懂得礼,就无法在社会中立足。原文
- 2019-02-03
丁海斌
图片发自App从去年到现在,感受先行,对于艺术确实很好,对于做事,感受把你吓死了。今早林说放下感受,理性的计划。
- 对股票分析时要注意哪些主要因素?
会飞的奇葩猪
股票 分析 云掌股吧
众所周知,对散户投资者来说,股票技术分析是应战股市的核心武器,想学好股票的技术分析一定要知道哪些是重点学习的,其实非常简单,我们只要记住三个要素:成交量、价格趋势、振荡指标。
一、成交量
大盘的成交量状态。成交量大说明市场的获利机会较多,成交量小说明市场的获利机会较少。当沪市的成交量超过150亿时是强市市场状态,运用技术找综合买点较准;
- 【Scala十八】视图界定与上下文界定
bit1129
scala
Context Bound,上下文界定,是Scala为隐式参数引入的一种语法糖,使得隐式转换的编码更加简洁。
隐式参数
首先引入一个泛型函数max,用于取a和b的最大值
def max[T](a: T, b: T) = {
if (a > b) a else b
}
因为T是未知类型,只有运行时才会代入真正的类型,因此调用a >
- C语言的分支——Object-C程序设计阅读有感
darkblue086
applec框架cocoa
自从1972年贝尔实验室Dennis Ritchie开发了C语言,C语言已经有了很多版本和实现,从Borland到microsoft还是GNU、Apple都提供了不同时代的多种选择,我们知道C语言是基于Thompson开发的B语言的,Object-C是以SmallTalk-80为基础的。和C++不同的是,Object C并不是C的超集,因为有很多特性与C是不同的。
Object-C程序设计这本书
- 去除浏览器对表单值的记忆
周凡杨
html记忆autocompleteform浏览
&n
- java的树形通讯录
g21121
java
最近用到企业通讯录,虽然以前也开发过,但是用的是jsf,拼成的树形,及其笨重和难维护。后来就想到直接生成json格式字符串,页面上也好展现。
// 首先取出每个部门的联系人
for (int i = 0; i < depList.size(); i++) {
List<Contacts> list = getContactList(depList.get(i
- Nginx安装部署
510888780
nginxlinux
Nginx ("engine x") 是一个高性能的 HTTP 和 反向代理 服务器,也是一个 IMAP/POP3/SMTP 代理服务器。 Nginx 是由 Igor Sysoev 为俄罗斯访问量第二的 Rambler.ru 站点开发的,第一个公开版本0.1.0发布于2004年10月4日。其将源代码以类BSD许可证的形式发布,因它的稳定性、丰富的功能集、示例配置文件和低系统资源
- java servelet异步处理请求
墙头上一根草
java异步返回servlet
servlet3.0以后支持异步处理请求,具体是使用AsyncContext ,包装httpservletRequest以及httpservletResponse具有异步的功能,
final AsyncContext ac = request.startAsync(request, response);
ac.s
- 我的spring学习笔记8-Spring中Bean的实例化
aijuans
Spring 3
在Spring中要实例化一个Bean有几种方法:
1、最常用的(普通方法)
<bean id="myBean" class="www.6e6.org.MyBean" />
使用这样方法,按Spring就会使用Bean的默认构造方法,也就是把没有参数的构造方法来建立Bean实例。
(有构造方法的下个文细说)
2、还
- 为Mysql创建最优的索引
annan211
mysql索引
索引对于良好的性能非常关键,尤其是当数据规模越来越大的时候,索引的对性能的影响越发重要。
索引经常会被误解甚至忽略,而且经常被糟糕的设计。
索引优化应该是对查询性能优化最有效的手段了,索引能够轻易将查询性能提高几个数量级,最优的索引会比
较好的索引性能要好2个数量级。
1 索引的类型
(1) B-Tree
不出意外,这里提到的索引都是指 B-
- 日期函数
百合不是茶
oraclesql日期函数查询
ORACLE日期时间函数大全
TO_DATE格式(以时间:2007-11-02 13:45:25为例)
Year:
yy two digits 两位年 显示值:07
yyy three digits 三位年 显示值:007
- 线程优先级
bijian1013
javathread多线程java多线程
多线程运行时需要定义线程运行的先后顺序。
线程优先级是用数字表示,数字越大线程优先级越高,取值在1到10,默认优先级为5。
实例:
package com.bijian.study;
/**
* 因为在代码段当中把线程B的优先级设置高于线程A,所以运行结果先执行线程B的run()方法后再执行线程A的run()方法
* 但在实际中,JAVA的优先级不准,强烈不建议用此方法来控制执
- 适配器模式和代理模式的区别
bijian1013
java设计模式
一.简介 适配器模式:适配器模式(英语:adapter pattern)有时候也称包装样式或者包装。将一个类的接口转接成用户所期待的。一个适配使得因接口不兼容而不能在一起工作的类工作在一起,做法是将类别自己的接口包裹在一个已存在的类中。 &nbs
- 【持久化框架MyBatis3三】MyBatis3 SQL映射配置文件
bit1129
Mybatis3
SQL映射配置文件一方面类似于Hibernate的映射配置文件,通过定义实体与关系表的列之间的对应关系。另一方面使用<select>,<insert>,<delete>,<update>元素定义增删改查的SQL语句,
这些元素包含三方面内容
1. 要执行的SQL语句
2. SQL语句的入参,比如查询条件
3. SQL语句的返回结果
- oracle大数据表复制备份个人经验
bitcarter
oracle大表备份大表数据复制
前提:
数据库仓库A(就拿oracle11g为例)中有两个用户user1和user2,现在有user1中有表ldm_table1,且表ldm_table1有数据5千万以上,ldm_table1中的数据是从其他库B(数据源)中抽取过来的,前期业务理解不够或者需求有变,数据有变动需要重新从B中抽取数据到A库表ldm_table1中。
- HTTP加速器varnish安装小记
ronin47
http varnish 加速
上午共享的那个varnish安装手册,个人看了下,有点不知所云,好吧~看来还是先安装玩玩!
苦逼公司服务器没法连外网,不能用什么wget或yum命令直接下载安装,每每看到别人博客贴出的在线安装代码时,总有一股羡慕嫉妒“恨”冒了出来。。。好吧,既然没法上外网,那只能麻烦点通过下载源码来编译安装了!
Varnish 3.0.4下载地址: http://repo.varnish-cache.org/
- java-73-输入一个字符串,输出该字符串中对称的子字符串的最大长度
bylijinnan
java
public class LongestSymmtricalLength {
/*
* Q75题目:输入一个字符串,输出该字符串中对称的子字符串的最大长度。
* 比如输入字符串“google”,由于该字符串里最长的对称子字符串是“goog”,因此输出4。
*/
public static void main(String[] args) {
Str
- 学习编程的一点感想
Cb123456
编程感想Gis
写点感想,总结一些,也顺便激励一些自己.现在就是复习阶段,也做做项目.
本专业是GIS专业,当初觉得本专业太水,靠这个会活不下去的,所以就报了培训班。学习的时候,进入状态很慢,而且当初进去的时候,已经上到Java高级阶段了,所以.....,呵呵,之后有点感觉了,不过,还是不好好写代码,还眼高手低的,有
- [能源与安全]美国与中国
comsci
能源
现在有一个局面:地球上的石油只剩下N桶,这些油只够让中国和美国这两个国家中的一个顺利过渡到宇宙时代,但是如果这两个国家为争夺这些石油而发生战争,其结果是两个国家都无法平稳过渡到宇宙时代。。。。而且在战争中,剩下的石油也会被快速消耗在战争中,结果是两败俱伤。。。
在这个大
- SEMI-JOIN执行计划突然变成HASH JOIN了 的原因分析
cwqcwqmax9
oracle
甲说:
A B两个表总数据量都很大,在百万以上。
idx1 idx2字段表示是索引字段
A B 两表上都有
col1字段表示普通字段
select xxx from A
where A.idx1 between mmm and nnn
and exists (select 1 from B where B.idx2 =
- SpringMVC-ajax返回值乱码解决方案
dashuaifu
AjaxspringMVCresponse中文乱码
SpringMVC-ajax返回值乱码解决方案
一:(自己总结,测试过可行)
ajax返回如果含有中文汉字,则使用:(如下例:)
@RequestMapping(value="/xxx.do") public @ResponseBody void getPunishReasonB
- Linux系统中查看日志的常用命令
dcj3sjt126com
OS
因为在日常的工作中,出问题的时候查看日志是每个管理员的习惯,作为初学者,为了以后的需要,我今天将下面这些查看命令共享给各位
cat
tail -f
日 志 文 件 说 明
/var/log/message 系统启动后的信息和错误日志,是Red Hat Linux中最常用的日志之一
/var/log/secure 与安全相关的日志信息
/var/log/maillog 与邮件相关的日志信
- [应用结构]应用
dcj3sjt126com
PHPyii2
应用主体
应用主体是管理 Yii 应用系统整体结构和生命周期的对象。 每个Yii应用系统只能包含一个应用主体,应用主体在 入口脚本中创建并能通过表达式 \Yii::$app 全局范围内访问。
补充: 当我们说"一个应用",它可能是一个应用主体对象,也可能是一个应用系统,是根据上下文来决定[译:中文为避免歧义,Application翻译为应
- assertThat用法
eksliang
JUnitassertThat
junit4.0 assertThat用法
一般匹配符1、assertThat( testedNumber, allOf( greaterThan(8), lessThan(16) ) );
注释: allOf匹配符表明如果接下来的所有条件必须都成立测试才通过,相当于“与”(&&)
2、assertThat( testedNumber, anyOf( g
- android点滴2
gundumw100
应用服务器android网络应用OSHTC
如何让Drawable绕着中心旋转?
Animation a = new RotateAnimation(0.0f, 360.0f,
Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF,0.5f);
a.setRepeatCount(-1);
a.setDuration(1000);
如何控制Andro
- 超简洁的CSS下拉菜单
ini
htmlWeb工作html5css
效果体验:http://hovertree.com/texiao/css/3.htmHTML文件:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>简洁的HTML+CSS下拉菜单-HoverTree</title>
- kafka consumer防止数据丢失
kane_xie
kafkaoffset commit
kafka最初是被LinkedIn设计用来处理log的分布式消息系统,因此它的着眼点不在数据的安全性(log偶尔丢几条无所谓),换句话说kafka并不能完全保证数据不丢失。
尽管kafka官网声称能够保证at-least-once,但如果consumer进程数小于partition_num,这个结论不一定成立。
考虑这样一个case,partiton_num=2
- @Repository、@Service、@Controller 和 @Component
mhtbbx
DAOspringbeanprototype
@Repository、@Service、@Controller 和 @Component 将类标识为Bean
Spring 自 2.0 版本开始,陆续引入了一些注解用于简化 Spring 的开发。@Repository注解便属于最先引入的一批,它用于将数据访问层 (DAO 层 ) 的类标识为 Spring Bean。具体只需将该注解标注在 DAO类上即可。同时,为了让 Spring 能够扫描类
- java 多线程高并发读写控制 误区
qifeifei
java thread
先看一下下面的错误代码,对写加了synchronized控制,保证了写的安全,但是问题在哪里呢?
public class testTh7 {
private String data;
public String read(){
System.out.println(Thread.currentThread().getName() + "read data "
- mongodb replica set(副本集)设置步骤
tcrct
javamongodb
网上已经有一大堆的设置步骤的了,根据我遇到的问题,整理一下,如下:
首先先去下载一个mongodb最新版,目前最新版应该是2.6
cd /usr/local/bin
wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.0.tgz
tar -zxvf mongodb-linux-x86_64-2.6.0.t
- rust学习笔记
wudixiaotie
学习笔记
1.rust里绑定变量是let,默认绑定了的变量是不可更改的,所以如果想让变量可变就要加上mut。
let x = 1; let mut y = 2;
2.match 相当于erlang中的case,但是case的每一项后都是分号,但是rust的match却是逗号。
3.match 的每一项最后都要加逗号,但是最后一项不加也不会报错,所有结尾加逗号的用法都是类似。
4.每个语句结尾都要加分