- 2021-08-24 Say no to the next social
春生阁
Youknowthesort.Drinkswitholdfriendsyouhavenothingincommonwithanymore.Yoursecondcousinonceremoved’sbabyshowerwitha$100minimumpresentspend.Thesesortsofsocialengagementssuckthelivingtimeandmoneyoutofyou.
- 如何运用SCRM系统做好客户管理?
腾迹
bigdata产品运营大数据
随着互联网的更新迭代发展,大部分的企业都是有在应用SCRM系统来进行客户关系管理,丰富、完善用户标签,从而更加了解消费者所需要的产品和服务。SCRM的全称是SocialCustomerRelationshipManagement,是社会化客户关系管理的简称,主打的是以客户互动为中心,增加参与体验、互动了解,创造双向价值的工具。SCRM更加以消费者为中心,并且重点关注充分发挥每个消费者的社交价值,实
- 企业声誉-ESG表现与公司透明度(2009-2021年)
小王毕业啦
大数据大数据社科数据数据分析数据挖掘人工智能
ESG表现是指公司在环境(Environment)、社会(Social)和治理(Governance)方面的表现。这些领域的表现不仅反映了公司对可持续发展的承诺,也是衡量其社会责任的重要指标。环境(Environment):公司在减少碳足迹、保护自然资源和推动绿色能源使用方面的努力。社会(Social):公司在员工福利、社区参与和消费者权益保护方面的贡献。治理(Governance):公司在确保透
- 英语日积月累2023-06-08
抽刀断水2
StratifiedStratifiedStratified分层此外,欧洲社会相对来说是分阶层的;职业和社会地位是通过继承得到的。Moreover,Europeansocietywasrelativelystratified;occupationandsocialstatuswereinherited.straightforwardstraightforwardstraightforward直爽的
- vue3使用simple-mind-map,分分钟开发思维导图
码农九零
思维导图插件vue3vue.js
这几天又来了新需求,老板想在系统里一眼可以看到所有部门的相关信息,并且可以编辑,分配任务。所以需要实现一个可编辑的思维导图页面。思维导图?感觉很复杂的样子,这种很牛p的东西应该不是我三两天就能手写搞定的,于是我github转了一圈,果然不出我所料,对比了几个插件以后我是先选择了vue3-mindmap简单易用。既然好用那就直接npminstall到项目里使用就完了,可是不知道是我使用的方式方法不对
- Linux系统搭建思维导图软件Simple Mind Map并实现无公网IP远程访问
老秦包你会
linuxtcp/ip运维
文章目录1.Docker一键部署思维导图2.本地访问测试3.Linux安装Cpolar4.配置公网地址5.远程访问思维导图6.固定Cpolar公网地址7.固定地址访问SimpleMindMap是一个可私有部署的web思维导图工具。它提供了丰富的功能和特性,包含插件化架构、多种结构类型(逻辑结构图、思维导图、组织结构图等)、节点内容支持文本、图片、图标、超链接等,支持拖拽、导入导出功能、快捷键等。c
- iOS 第三方登录
YQ_苍穹
第三方登录原理友盟登录1.在友盟下载SDK下载SDK2.查看如何配置SDK3.将SDK(UMSocial_SDK)拖拽到项目中,然后按照友盟文档做相应的配置:如:修改plist文件,让其支持HTTPS请求为APP瘦身导入依赖框架指明那个应用集成登录在友盟官方文档中直接拷贝,三方登录代码就ok了新浪微博登录SSO授权不跳转到微博登录了,直接授权配置步骤:在上面友盟登录的基础上,将之前下载的SDK里面
- sci文章录用后能要求删除其中一位作者吗?
AC学术中心
sci
在SCI文章被录用后要求删除其中一位作者的情况,确实存在一定的可能性,但这一过程受到严格的条件限制和期刊政策的影响。以下是从多个角度综合分析得出的详细信息:期刊政策:大多数SCI期刊允许在proof(校稿)或online(在线发表)前进行作者变更,包括删除作者。然而,个别期刊可能有更严格的政策,规定在投稿后或录用后不再接受任何作者变更。因此,了解目标期刊的具体规定至关重要。变更条件:如果期刊允许在
- 一些可能很有用的矩阵知识
黑洞是不黑
transformer数学理论矩阵线性代数人工智能
一些可有可无的矩阵知识酉矩阵酉矩阵一个服从正态分布的向量乘以一个酉矩阵,得到的向量仍然服从正态分布酉矩阵是一个复数矩阵,满足其转置的共轭等于其逆矩阵。当一个向量通过一个酉矩阵进行线性变换时,它的模长保持不变,只是发生了旋转和缩放。这意味着如果原始向量服从正态分布,变换后的向量仍将服从相同的正态分布。proof:proof:proof:当一个向量服从正态分布时,其概率密度函数(PDF)可以表示为:f
- Psychology 心理学
the 8th dwarf
English心理学
psychology心理学mind心理,心灵,精神soul灵魂behavior行为psychologist心理学家philosophy哲学philosopher哲学家Empiricism经验主义Positivism实证主义biology生物学evolution进化genetics遗传学physiology生理学endocrine内分泌physics物理学psychophysics心理物理学Prin
- 疫情下的日本居家办公
我是聪
Japan'swhite-collarwarriorsstruggletoadapttosocialdistancing第一段In57ADaChineseemperor,Guangwu,gaveanenvoyfromthekingdomofWa,asJapanwasthenknown,asolidgoldseal,withahandleintheformofacoiledserpent.Suchs
- U2
申奕丰
Part1从本单元中我学到的最重要的理念:精读:Strengthensafetyprotection,improvethesocialsecurityenvironment,createaharmoniousenvironment.2,我在本片文章/音频/视频中学到的怦然心动的单词terroristfriskersideswaypolicyluxuryerror3,在本片文章/音频/视频中我最喜欢
- 前端从地址栏获取参数
weixin_47218354
前端javascript开发语言
//地址栏获取leturl=window.location.hrefletsearchParams=newURLSearchParams(url.split('?')[1])letsocialCreditCode=searchParams.get('socialCreditCode')这段JavaScript代码主要用于从当前网页的URL中获取查询参数。下面是详细的解释:leturl=window
- Day 49 英国首相无礼行为遭群嘲
居燃心理咨询师
Aphoto(picture)ofBorisJohnson(美国版的特朗普)sticking(putting,随意的放)hisfootonatableduringtalksinPariswiththeFrenchpresidenttriggered(扣动扳机,引发,引起)unflatteringcomments(负面评论)onsocialmedia.Butusersonbothsidesofthe
- Dot Leap 20 中文版
区块链生存指南
原文作者:BrunoŠkvorc原文链接:DotLeap.com订阅链接:dotleap.substack.comSubstrate区块链工具和界面开发教程,访问DotLeap.com(CANAAN注:中文教程可以访问Boka.network)DotLeap上线SubsocialSubsocial是一个基于substrate开发的社交链,功能上整合了Reddit,Twitter,Facebook,
- 2019-09-23 A lovable eccentric
RoadToGood
Trueeccentricsneverdeliberatelysetouttodrawattentiontothemselves.Theydisregardsocialconventionswithoutbeingconsciousthattheyaredoinganythingextraordinary.Thisinvariablywinsthemtheloveandrespectofother
- S03E07-句读《中国哲学的故事》---A Revision of Liu Hsin's Theory
Rachel09
ARevisionofLiuHsin'sTheory对刘歆理论的修正YetthoughthedetailsofLiuHsin'stheorymaybewrong,hisattempttotracetheoriginoftheschoolstocertainpoliticalandsocialcircumstancescertainlyrepresentsarightpointofview.刘歆理论
- What our digital social networks say about us? 朋友圈真能无限大?
MM2017
Theyturnupweeklyinmyinbox,gnawingawayatmysoul.Thekindwords,thesmilingfaces,theego-strokinginvitationstoconnect,allofwhichIguiltilyignore.它们每个星期在我的邮箱里出现,让我的灵魂饱受折磨,这些友善的文字和笑脸,放低身段以求建立往来的邀请函,我因忽视它们的存在而感到
- 心智AR (mind-ar-js): 开源Web增强现实SDK安装与使用指南
范凡灏Anastasia
心智AR(mind-ar-js):开源Web增强现实SDK安装与使用指南mind-ar-jsWebAugmentedReality.ImageTracking,FaceTracking.Tensorflow.js项目地址:https://gitcode.com/gh_mirrors/mi/mind-ar-js心智AR(mind-ar-js)是一款开源的Web增强现实(AR)软件开发工具包(SDK)
- 未来什么行业最赚钱?未来最赚钱有发展的五大行业推荐
好项目高省
生活中有很多行业都有着严重的溢价现象,这些高暴利的行业更是吸引着无数人的目光,那未来十年最紧缺生意哪些会依然暴利呢?我们一起盘点一下(一)电商导购【高省】高省的定位:社交、分享、电商高省通过“分享社交+场景电商”的OSO(OnlineSocializeOffline)模式,打通电商和社交平台,打通线上和线下,创建无边界新零售平台。帮助更多消费者买到需要的优质优惠商品,让更多用户分享实惠,享受全新的
- 2024年健康教育、食品安全与社会科学国际会议(ICHEFSSS 2024)
GuGu_chen
创业创新
2024年健康教育、食品安全与社会科学国际会议(ICHEFSSS2024)2024InternationalConferenceonHealthEducation,FoodSafetyandSocialSciences会议简介:食品安全社会科学是一个综合性的研究领域,旨在从社会科学的角度深入探究食品安全问题。它涉及到法学、经济学、管理学、社会学、伦理学、新闻学和国际关系学等多个学科的知识和方法。通
- 《社会科学研究:从思维开始(第10版)》作者: 肯尼斯·赫文(Kenneth Hoover) / 托德·多纳(Todd Donovan)
刘书朋
原作名:TheElementsofSocialScientificThinking10e内容简介:长销欧美三十年,时间见证价值•这是一本绝不晦涩的方法论书,跟随作者的讲解,即使基础薄弱也能一步步领会“科学”的要义,学会科学研究的基本步骤。是每一个即将做、正在做、还要做社会科学研究的人都不应该错过的书。•本书一反方法论书长篇累牍的传统,在精巧的谋篇布局中,将当代社会科学研究范式的精髓一一呈现。•10
- python正则匹配目录、文件名
snrnjhna
python
#!/usr/bin/python#-*-coding:UTF-8-*-#vim:setshiftwidth=2tabstop=2expandtabtextwidth=79:importrefilename="/Users/frankyu/Develop/sso/socialbase/login/dcorators.py"inputstr='Uup'inputstr=re.escape(input
- 挑战杯 python区块链实现 - proof of work工作量证明共识算法
laafeer
python
文章目录0前言1区块链基础1.1比特币内部结构1.2实现的区块链数据结构1.3注意点1.4区块链的核心-工作量证明算法1.4.1拜占庭将军问题1.4.2解决办法1.4.3代码实现2快速实现一个区块链2.1什么是区块链2.2一个完整的快包含什么2.3什么是挖矿2.4工作量证明算法:2.5实现代码3最后0前言优质竞赛项目系列,今天要分享的是python区块链实现-proofofwork工作量证明共识算
- 2003年高考英语北京卷 - 阅读理解C
让文字更美
Elephantsdon'tforget-atleast,femaleelephantsdon't.大象不会忘记——至少母象不会。Elephantfamiliesarematriarchal.Andthesocialknowledgegainedbytheoldestfemalesisthekeytothefamilygroup'ssurvival,accordingtoastudypublish
- 【雕爷学编程】Arduino动手做(201)---搭建行空板开发环境之Mind+编程2
驴友花雕
单片机嵌入式硬件Arduino物联网pythonDFRobot行空板
37款传感器与模块的提法,在网络上广泛流传,其实Arduino能够兼容的传感器模块肯定是不止37种的。鉴于本人手头积累了一些传感器和执行器模块,依照实践出真知(一定要动手做)的理念,以学习和交流为目的,这里准备逐一动手试试多做实验,不管成功与否,都会记录下来——小小的进步或是搞不掂的问题,希望能够抛砖引玉。【Arduino】168种传感器模块系列实验(资料代码+仿真编程+图形编程)实验二百零一:D
- 2022-08-02
论文小天才
2022InternationalConferenceonEconomicInnovationandSocialDevelopment大会主题:大规模迁移冲突和内战城乡发展商法产业经济学旅游经济学资源分配社会福利全球和平与安全网络安全妇女与两性平等食品安全保健和健康社会治理创新机构发展就业情况可持续的人类和社会发展社会变迁与生态文明媒体、信息和通信语言与文化的传承经济发展与深度学习大数据挖掘计量经
- 微博热搜榜单被撤下整改 突然感觉生活少了点什么......
英语学习社
昨日,微博热搜突然下线整改,这个消息传出可谓是几家欢喜几家愁啊,对新浪微博早就有意见的网友无不拍手称快。新浪的热搜榜,热门话题榜,微博问答功能,热门微博榜明星和情感板块,广场头条栏目情感版块都齐齐下线整改一周后再重新上线。China'sWeibosocialmediasitesuspendsportalsafterreprimand[1][1]reprimand:1)V-TIfsomeoneisr
- Arxiv网络科学论文摘要5篇(2019-03-06)
ComplexLY
Ad-Hoc网络中的社交感知拥塞控制:现状与前进方向;少即是多:用于检测社交媒体中恶意用户的半监督因果推理;分析多层网络中的模体;社会推荐系统中的信任与诚信;利用简化谷歌矩阵分析联合国COMTRADE数据,评估石油和天然气贸易减少对欧盟经济的影响;Ad-Hoc网络中的社交感知拥塞控制:现状与前进方向原文标题:Socially-AwareCongestionControlinAd-HocNetwor
- DS Wannabe之5-AM Project: DS 30day int prep day10
wendyponcho
python机器学习
Q1.WhatisaRecommenderSystem?Arecommendersystemistodaywidelydeployedinmultiplefieldslikemovierecommendations,musicpreferences,socialtags,researcharticles,searchqueriesandsoon.Therecommendersystemsworka
- 对股票分析时要注意哪些主要因素?
会飞的奇葩猪
股票 分析 云掌股吧
众所周知,对散户投资者来说,股票技术分析是应战股市的核心武器,想学好股票的技术分析一定要知道哪些是重点学习的,其实非常简单,我们只要记住三个要素:成交量、价格趋势、振荡指标。
一、成交量
大盘的成交量状态。成交量大说明市场的获利机会较多,成交量小说明市场的获利机会较少。当沪市的成交量超过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.每个语句结尾都要加分