- 在一起的日子
少些期待
在一起已经三年多了,我是一个97年的摩羯座女生,他是一个89年的同样的摩羯座男生,刚开始是他追的我,我开始对他也挺有好感的,他从他朋友哪里,要到我的电话号,给我发信息,我没理他。然后我们的故事就这样开始了·····我不记得到底是什么,让我对他特别喜欢,想一心一意跟着他过日子,说白了我也就是个他的小跟班,又或者是个小跟屁虫,或者是个保姆,反正就是他在那里,我就得陪他到哪里,谈了半年多对象的时候,他因
- TextFiled 中输入金额
宁梓茞
要求:输入的金额不能超过六位,小数点后面只能输入两位小数如果textFIled中第一位输入的是0,后面必须输入小数点,否则禁止输入用到textfiled代理方法#pragmamark----textFiledDelegate-----(BOOL)textField:(UITextField*)textFieldshouldChangeCharactersInRange:(NSRange)range
- 静态常量(static const)|| 日志记录器
课堂随想
moveit2机器人
//AllsourcefilesthatuseROSloggingshoulddefineafile-specific//staticconstrclcpp::LoggernamedLOGGER,locatedatthetopofthefile//andinsidethenamespacewiththenarrowestscope(ifthereisone)staticconstrclcpp::L
- webstorm报错TypeError: this.cliEngine is not a constructor
Blue_Color
点击Details在控制台会显示报错的位置TypeError:this.cliEngineisnotaconstructoratESLintPlugin.invokeESLint(/Applications/RubyMine.app/Contents/plugins/JavaScriptLanguage/languageService/eslint/bin/eslint-plugin.js:97:
- SAP IoT能力揭秘
小哈公社
SAP是企业软件行业的一哥,不过一哥也要拓展地盘。物联网(IoT)就是SAP最近很想占据的新地盘,让我们来看看SAP有些什么新菜端上桌。很多人都知道SAP推出了Leonardo这个最新的产品组合,其中就包括了物联网(InternetofThings,IoT)解决方案。SAP试图在Leonardo这个产品中把未来企业数字化转型所需的各种功能都包括进来,而IoT就是相当重要的一块拼图。Leonardo
- 随摘
桔桔岛
Oneshouldcaremoreaboutone'sowngrowthinsteadofothers.Toliveahappylife,oneshouldalwaystryeveryefforttominimizeregretsinlife.比起时刻注视着他人,多关注自身的成长,尽自己的一切努力让生活少点遗憾,才能过上快意人生。Whenoneshiftstheirfocusfromotherst
- 「Python」2020.04.08学习笔记 | 第六章文件(a+)模式+把随机手机号写入文件小练习
Yetta的书影屋
学习测试开发的Day97,真棒!学习时间为40M第九次全天课(下午视频二20M-50M)>>>fp.seek(0)0>>>fp.read()'你好11你好12你好13你好14你好15\n你好16\n你好17\n你好18\n'>>>fp.seek(0,0)0>>>fp.write("*********************************\n")34>>>fp.seek(0,0)0>>>f
- 泽平 的ScalersTalk第六轮新概念朗读持续力训练Day 75 20210606
郑泽平
练习材料:Lesson74OutofthelimelightAnancientbusstoppedbyadryriverbedandapartyoffamousactorsandactressesgotoff.Dressedindarkglassesandoldclothes,theyhadtakenspecialprecautionssothatnooneshouldrecognizethem.
- 手撸vue3核心源码——响应式原理(isRef和unRef)
前端不是渣男
前端vue.js
今天来实现一下ref的功能函数,isRef与unRefisRefisRef和isReactive一样,都是用于检测数据类型,isRef是检测是不是一个ref对象,跟isReactive函数实现起来一样,我们先来写一个单元测试这里要实现的功能是,检测ref对象肯定就通过返回true,检测普通类型数据以及reactive对象都是falseit("itshouldreturnaboolean",()=>
- python 卡方检验_Python-卡方检验
cunzai1985
pythonnumpy数据分析机器学习数据挖掘
python卡方检验Python-卡方检验(Python-Chi-SquareTest)Chi-Squaretestisastatisticalmethodtodetermineiftwocategoricalvariableshaveasignificantcorrelationbetweenthem.Boththosevariablesshouldbefromsamepopulationand
- 合适上班族可以赚钱的软件真实可靠(可提现到微信的副业软件)
小推客
作为一名编辑,在副业领域内也是有一定的研究的,比如我们刚入行的时候,我看到有这样的一个栏目的时候,我就觉得比较奇怪,难道很多职场人都喜欢做副业兼职的吗?当时,我带有这样的疑问,所以,我就问我的主管,一个97年的美女,我主管说,我们全工作室的人都做副业和兼职,基本上都是一些手机上的副业兼职,所以当时我们也要了解这个行业,我如今进入工作室有5个月的时间了,对于这方面也有了足够的研究。因此,我也靠着一些
- Elasticsearch之bool查询
cyt涛
javaelasticsearch大数据搜索引擎bool布尔查询全文检索
bool查询是Elasticsearch中最常用的复合查询类型,允许将多个查询组合在一起。它通过逻辑操作符(如must、should、must_not和filter)来构建复杂的查询条件,从而满足多条件匹配、逻辑与(AND)、或(OR)、非(NOT)的查询需求。bool查询主要由四个部分组成:must:必须满足的条件(类似于SQL中的AND)。should:应该匹配的条件(类似于SQL中的OR)。
- 2020-03-14
Jackson__Zhang
班级:L3-B姓名:张文清Jackson学号:20193000624日期:2020/3/10作业序号(WritingAssignmentNo.):001题目:Somepeoplesaythatplayingateamsport,suchassoccerorbasketball,shouldbecompulsoryforstudentsbecauseithasmanybenefits.Whatare
- 日签
403_小蜗牛_北京
知道怎么减肥和真减下来不是一回事,知道怎么投资跟实际赚到钱更是差着十万八千里。逆人性的东西修炼才是关键。Knowinghowtoloseweightisnotthesamethingasactuallylosingit,andknowinghowtoinvestisnotthesamethingasactuallymakingmoney.Itisthecultivationofthingsagai
- 20180929 count
Maglight
1)翻译下面的句子:重要的不是发生了什么事,而是你如何应对这件事。Whatcountsthemostisnotthethingshappened,buthowyourespondtoit.2)结合自己的生活、学习、工作、兴趣等,想象在什么语境下会用到这个表达。先简要描述这个场景,再造句。场景:学几何最重要的目的是逻辑造句:Whenitcomestogeometry,logiccounts/matt
- 代码随想录算法训练营第三十九天| 62. 不同路径,63. 不同路径 II
零offer在手
算法动态规划图论
62.不同路径搞清楚dp[i][j]的定义推导出公式遍历顺序,从左到右,从上到下dp的初始化动态规划中如何初始化很重要!|LeetCode:62.不同路径_哔哩哔哩_bilibili《代码随想录》算法公开课开讲啦!快来打卡!本期视频的文字讲解版在「代码随想录」刷题网站:programmercarl.comGithub:https://github.com/youngyangyang04/leetc
- 浮世三千,吾爱有三
灵秀爱写作
Ilovethreethingsinthisworld.Sun,moonandyou.Sunformorning,moonfornight,andyouforever.浮世三千,吾爱有三。日,月与卿。日为朝,月为暮,卿为朝朝暮暮。——节选自《暮光之城》在这浮浮沉沉的大千世界里,我爱的只有三样,太阳,月亮和我爱的你。太阳带给我们白昼和希望月亮带给我们夜幕和宁静而你跟我的朝夕相伴,于我而言即是永恒,你
- 红尘世俗的滋味就是烟火气
好爱妮
红尘世俗的滋味就是烟火气,只有这样的平凡才能让人心安……每天下班回家,进门的刹那就能闻到厨房飘出来的香味,孩子会暖心的问你,是妈咪吗?然后跑过来,妈咪今天我有点抱歉,考试又考砸了,语文考了97分,有三分不知道错哪儿了,考100分好难啊!月月考了一百分,我要向她学习的……我回复她,考砸了一次没关系,这个成绩也还可以,但是关键要找出自己错在哪里了,然后改进下次记住这个坑……避免下次犯同样的错误……她说
- 《感恩日志》第【97】天
enhui1994
感恩感谢理解。人生难得遇见知己,难得遇见理解自己的人,我已经遇见已是最大的恩赐。今天订房,再次出现问题,幸好锦素年文化酒店的王琳姐非常的理解我,并且包容我,搞清楚事情的来龙去脉之后,把这个问题解决了。丹姐又一次点醒了我,可是我发现自己是屡教不改,嘴太快,归根结底,天空飘来五个字,都是我的错!感恩感谢会场的大堂服务人员的理解,和认真负责,给我们延长了时间来安装大屏。感恩感谢租赁设备的安装人员,把各个
- 武志红心理97/333 锤炼你的自我效能感
曼曼_异想
美国心理学家班杜拉提出了“自我效能感”的概念,他说:自我效能感就是,人们对自身能否利用所拥有的技能去完成某项工作行为的自信程度。换句话说,就是人们对自己是否能行的自信程度。在家庭教育中,孩子越小,越是培养自我效能感的好时机。最佳的做法是,让孩子独立去完成他力所能及的事情。当他不断通过自己的努力做成一件事时,他的自我效能感就不断地得到增强,他会更加自信。这样,在他遇到更大的挑战时,他就会有信心和力量
- 【早安心语】
壹典心理咨询
【2021-10-22】早安春夏秋冬Lifeisnoteasy,thekeytoseehowyoulive,itissaidthateveryone'slifeshouldshedthenumberoftearsisnotthesame,somepeopleathousandtears,somepeople10,000tears,somepeoplemore,thesetearscombinedh
- antd-table使用报错的一次记录,rowkey的正确使用
不cong明的亚子
前端奇特的小问题react.js前端antd
eachchildinalistshouldhaveaunique"key"prop.Eachrecordintableshouldhaveauniquekeyprop,orsetrowKeytoanuniqueprimarykey.如果你在使用antd-table中报错如上,那么你应该是错误使用rowkey这个属性正确使用方式:你所使用rowkey传入的值,必须是data中一定有的key值属性名
- Gradle:Using flatDir should be avoided because it doesn‘t support any meta-data formats.
SportHappy
android开发androidgradleandroid-studio
app.gradle代码段1:repositories{flatDir{dirs'libs'}}代码段2:dependencies{classpath"com.android.tools.build:gradle:4.2.2"}Gradle升级4.2.2后,编译会出现如下提示信息,删除即可解决问题UsingflatDirshouldbeavoidedbecauseitdoesn'tsupporta
- 2020-3-23晨间日记
始足下行千里
今天是什么日子起床:6:50就寝:11:30天气:晴朗心情:较好任务清单昨日完成的任务1.专业学习完成2.运动完成三组俯卧撑,蹲起没做3.阅读任务没完成改进:我要每天第一件事就变成阅读,这样应该就能完成了习惯养成:阅读习惯周目标·完成进度本周(10天)专业书籍300页第四天完成23页+6共完成97页(+24)学习·信息·阅读1.看书20页2.阅读任务《半生缘》锻炼蹲起30×3工作·思考都说努力就会
- 【C语言】词法陷阱与缺陷之二:字符和字符串表示详解
byte轻骑兵
编程语言精要#C语言深度解析坊c语言开发语言
在C语言中,字符和字符串的表示是编程基础中的关键部分,但同时也是容易引发词法陷阱和缺陷的地方。以下是对字符和字符串表示的详细解析。一、字符的表示1.1.基本概念在C语言中,字符被视为整数,其值对应于字符集中的位置。对于采用ASCII字符集的编译器而言,字符'a'的整数值为97(十进制)或0141(八进制)。字符用单引号'括起来,如'a'、'1'、'\n'等。1.2.多字符常量某些C编译器允许在一个
- 使用minio给存储的对象添加过期时间
[奸笑]这个不是斜眼笑[奸笑]
springboot开发语言javaspringboot后端
在一些场景中,储存的对象需要定时清理保证留出足够的磁盘空间,如果时linux的本地文件,需要采取定时任务清理,但是minio提供了这样的能力环境软件版本docker24.0.4minioRELEASE.2023-10-24T05-18-28Z(commit-id=97cc12fdc539361cf175ffc2f00480eec0836d82)客户端(浏览器)打开对应的桶在这里添加通过代码(这里以
- 爱情麻辣烫
与我一起成长
今天想给大家推荐一部97年播的电影,名字叫“爱情麻辣烫”。刚好这两天利用午休的时间看完了,觉得非常不错。这么久的一部片,现在看来没有丝毫突兀,情节真实自然,拍得好,演得好,有几个片段我还看到掉眼泪。推荐的点:大咖多、回忆杀、真性情、看自己。下面是该影片的一些介绍。《爱情麻辣烫》是西安电影制片厂于1997年出品的爱情电影,由张杨执导,王学兵、刘婕、高圆圆等主演。该片以一对年轻未婚夫妇准备结婚的过程为
- 果冻宝盒是怎么赚钱的,一分钟带你了解果冻宝盒赚钱模式
小小编007
果冻宝盒是一个社交导购返利app,在果冻宝盒,可以领到淘宝,京东,拼多多等电商平台商家的隐藏优惠券,并且下单后可得到平台返利。果冻宝盒是怎么赚钱的?果冻宝盒在消费者和淘宝商家之间起到一个桥梁的作用,类似中介。商家把优惠券放到果冻宝盒app,消费者通过果冻宝盒领券下单后,商家每笔订单按照一定比例提成给果冻宝盒,然后果冻宝盒再返给消费者。果冻宝盒只抽取不到3%的返利提成,97%的都返给消费者,以此到达
- 20180601
恍然如梦
武晓敏焦点网络初级九期坚持分享第97天驻马店西平20180601今天是六一儿童节,打开朋友圈大部分说的都是节日,我们班十几岁的青少年也兴奋着要过儿童节,为什么这样的一个节日引起各个年龄阶段人的关注呢?或许童年时期才是我们每个人一生中最无忧无虑最快乐的时光吧!愿我们每个人都有一颗孩子般无忧无虑的童心,像孩子般简单的快乐!
- micropython串口通信_MicroPython-ESP32串口通信-1Z实验室
weixin_39896839
micropython串口通信
出品:1Z实验室(1ZLAB:MakeThingsEasy)概要在本节课程阿凯为大家讲解了串口通信的接线方式,ESP32中的串口UART资源与相关API,并给出了一个UART的小应用实例。目录串口通信UART执行标准UART/USART双工串行通信协议,关于串口通信你需要的预备知识有码元,波特率,奇偶校验等概念。可以在B站上观看串口通信科普视频.TODO英文的,1Z实验室后面有精力也会考虑做一些科
- 项目中 枚举与注解的结合使用
飞翔的马甲
javaenumannotation
前言:版本兼容,一直是迭代开发头疼的事,最近新版本加上了支持新题型,如果新创建一份问卷包含了新题型,那旧版本客户端就不支持,如果新创建的问卷不包含新题型,那么新旧客户端都支持。这里面我们通过给问卷类型枚举增加自定义注解的方式完成。顺便巩固下枚举与注解。
一、枚举
1.在创建枚举类的时候,该类已继承java.lang.Enum类,所以自定义枚举类无法继承别的类,但可以实现接口。
- 【Scala十七】Scala核心十一:下划线_的用法
bit1129
scala
下划线_在Scala中广泛应用,_的基本含义是作为占位符使用。_在使用时是出问题非常多的地方,本文将不断完善_的使用场景以及所表达的含义
1. 在高阶函数中使用
scala> val list = List(-3,8,7,9)
list: List[Int] = List(-3, 8, 7, 9)
scala> list.filter(_ > 7)
r
- web缓存基础:术语、http报头和缓存策略
dalan_123
Web
对于很多人来说,去访问某一个站点,若是该站点能够提供智能化的内容缓存来提高用户体验,那么最终该站点的访问者将络绎不绝。缓存或者对之前的请求临时存储,是http协议实现中最核心的内容分发策略之一。分发路径中的组件均可以缓存内容来加速后续的请求,这是受控于对该内容所声明的缓存策略。接下来将讨web内容缓存策略的基本概念,具体包括如如何选择缓存策略以保证互联网范围内的缓存能够正确处理的您的内容,并谈论下
- crontab 问题
周凡杨
linuxcrontabunix
一: 0481-079 Reached a symbol that is not expected.
背景:
*/5 * * * * /usr/IBMIHS/rsync.sh
- 让tomcat支持2级域名共享session
g21121
session
tomcat默认情况下是不支持2级域名共享session的,所有有些情况下登陆后从主域名跳转到子域名会发生链接session不相同的情况,但是只需修改几处配置就可以了。
打开tomcat下conf下context.xml文件
找到Context标签,修改为如下内容
如果你的域名是www.test.com
<Context sessionCookiePath="/path&q
- web报表工具FineReport常用函数的用法总结(数学和三角函数)
老A不折腾
Webfinereport总结
ABS
ABS(number):返回指定数字的绝对值。绝对值是指没有正负符号的数值。
Number:需要求出绝对值的任意实数。
示例:
ABS(-1.5)等于1.5。
ABS(0)等于0。
ABS(2.5)等于2.5。
ACOS
ACOS(number):返回指定数值的反余弦值。反余弦值为一个角度,返回角度以弧度形式表示。
Number:需要返回角
- linux 启动java进程 sh文件
墙头上一根草
linuxshelljar
#!/bin/bash
#初始化服务器的进程PId变量
user_pid=0;
robot_pid=0;
loadlort_pid=0;
gateway_pid=0;
#########
#检查相关服务器是否启动成功
#说明:
#使用JDK自带的JPS命令及grep命令组合,准确查找pid
#jps 加 l 参数,表示显示java的完整包路径
#使用awk,分割出pid
- 我的spring学习笔记5-如何使用ApplicationContext替换BeanFactory
aijuans
Spring 3 系列
如何使用ApplicationContext替换BeanFactory?
package onlyfun.caterpillar.device;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import
- Linux 内存使用方法详细解析
annan211
linux内存Linux内存解析
来源 http://blog.jobbole.com/45748/
我是一名程序员,那么我在这里以一个程序员的角度来讲解Linux内存的使用。
一提到内存管理,我们头脑中闪出的两个概念,就是虚拟内存,与物理内存。这两个概念主要来自于linux内核的支持。
Linux在内存管理上份为两级,一级是线性区,类似于00c73000-00c88000,对应于虚拟内存,它实际上不占用
- 数据库的单表查询常用命令及使用方法(-)
百合不是茶
oracle函数单表查询
创建数据库;
--建表
create table bloguser(username varchar2(20),userage number(10),usersex char(2));
创建bloguser表,里面有三个字段
&nbs
- 多线程基础知识
bijian1013
java多线程threadjava多线程
一.进程和线程
进程就是一个在内存中独立运行的程序,有自己的地址空间。如正在运行的写字板程序就是一个进程。
“多任务”:指操作系统能同时运行多个进程(程序)。如WINDOWS系统可以同时运行写字板程序、画图程序、WORD、Eclipse等。
线程:是进程内部单一的一个顺序控制流。
线程和进程
a. 每个进程都有独立的
- fastjson简单使用实例
bijian1013
fastjson
一.简介
阿里巴巴fastjson是一个Java语言编写的高性能功能完善的JSON库。它采用一种“假定有序快速匹配”的算法,把JSON Parse的性能提升到极致,是目前Java语言中最快的JSON库;包括“序列化”和“反序列化”两部分,它具备如下特征:  
- 【RPC框架Burlap】Spring集成Burlap
bit1129
spring
Burlap和Hessian同属于codehaus的RPC调用框架,但是Burlap已经几年不更新,所以Spring在4.0里已经将Burlap的支持置为Deprecated,所以在选择RPC框架时,不应该考虑Burlap了。
这篇文章还是记录下Burlap的用法吧,主要是复制粘贴了Hessian与Spring集成一文,【RPC框架Hessian四】Hessian与Spring集成
 
- 【Mahout一】基于Mahout 命令参数含义
bit1129
Mahout
1. mahout seqdirectory
$ mahout seqdirectory
--input (-i) input Path to job input directory(原始文本文件).
--output (-o) output The directory pathna
- linux使用flock文件锁解决脚本重复执行问题
ronin47
linux lock 重复执行
linux的crontab命令,可以定时执行操作,最小周期是每分钟执行一次。关于crontab实现每秒执行可参考我之前的文章《linux crontab 实现每秒执行》现在有个问题,如果设定了任务每分钟执行一次,但有可能一分钟内任务并没有执行完成,这时系统会再执行任务。导致两个相同的任务在执行。
例如:
<?
//
test
.php
- java-74-数组中有一个数字出现的次数超过了数组长度的一半,找出这个数字
bylijinnan
java
public class OcuppyMoreThanHalf {
/**
* Q74 数组中有一个数字出现的次数超过了数组长度的一半,找出这个数字
* two solutions:
* 1.O(n)
* see <beauty of coding>--每次删除两个不同的数字,不改变数组的特性
* 2.O(nlogn)
* 排序。中间
- linux 系统相关命令
candiio
linux
系统参数
cat /proc/cpuinfo cpu相关参数
cat /proc/meminfo 内存相关参数
cat /proc/loadavg 负载情况
性能参数
1)top
M:按内存使用排序
P:按CPU占用排序
1:显示各CPU的使用情况
k:kill进程
o:更多排序规则
回车:刷新数据
2)ulimit
ulimit -a:显示本用户的系统限制参
- [经营与资产]保持独立性和稳定性对于软件开发的重要意义
comsci
软件开发
一个软件的架构从诞生到成熟,中间要经过很多次的修正和改造
如果在这个过程中,外界的其它行业的资本不断的介入这种软件架构的升级过程中
那么软件开发者原有的设计思想和开发路线
- 在CentOS5.5上编译OpenJDK6
Cwind
linuxOpenJDK
几番周折终于在自己的CentOS5.5上编译成功了OpenJDK6,将编译过程和遇到的问题作一简要记录,备查。
0. OpenJDK介绍
OpenJDK是Sun(现Oracle)公司发布的基于GPL许可的Java平台的实现。其优点:
1、它的核心代码与同时期Sun(-> Oracle)的产品版基本上是一样的,血统纯正,不用担心性能问题,也基本上没什么兼容性问题;(代码上最主要的差异是
- java乱码问题
dashuaifu
java乱码问题js中文乱码
swfupload上传文件参数值为中文传递到后台接收中文乱码 在js中用setPostParams({"tag" : encodeURI( document.getElementByIdx_x("filetag").value,"utf-8")});
然后在servlet中String t
- cygwin很多命令显示command not found的解决办法
dcj3sjt126com
cygwin
cygwin很多命令显示command not found的解决办法
修改cygwin.BAT文件如下
@echo off
D:
set CYGWIN=tty notitle glob
set PATH=%PATH%;d:\cygwin\bin;d:\cygwin\sbin;d:\cygwin\usr\bin;d:\cygwin\usr\sbin;d:\cygwin\us
- [介绍]从 Yii 1.1 升级
dcj3sjt126com
PHPyii2
2.0 版框架是完全重写的,在 1.1 和 2.0 两个版本之间存在相当多差异。因此从 1.1 版升级并不像小版本间的跨越那么简单,通过本指南你将会了解两个版本间主要的不同之处。
如果你之前没有用过 Yii 1.1,可以跳过本章,直接从"入门篇"开始读起。
请注意,Yii 2.0 引入了很多本章并没有涉及到的新功能。强烈建议你通读整部权威指南来了解所有新特性。这样有可能会发
- Linux SSH免登录配置总结
eksliang
ssh-keygenLinux SSH免登录认证Linux SSH互信
转载请出自出处:http://eksliang.iteye.com/blog/2187265 一、原理
我们使用ssh-keygen在ServerA上生成私钥跟公钥,将生成的公钥拷贝到远程机器ServerB上后,就可以使用ssh命令无需密码登录到另外一台机器ServerB上。
生成公钥与私钥有两种加密方式,第一种是
- 手势滑动销毁Activity
gundumw100
android
老是效仿ios,做android的真悲催!
有需求:需要手势滑动销毁一个Activity
怎么办尼?自己写?
不用~,网上先问一下百度。
结果:
http://blog.csdn.net/xiaanming/article/details/20934541
首先将你需要的Activity继承SwipeBackActivity,它会在你的布局根目录新增一层SwipeBackLay
- JavaScript变换表格边框颜色
ini
JavaScripthtmlWebhtml5css
效果查看:http://hovertree.com/texiao/js/2.htm代码如下,保存到HTML文件也可以查看效果:
<html>
<head>
<meta charset="utf-8">
<title>表格边框变换颜色代码-何问起</title>
</head>
<body&
- Kafka Rest : Confluent
kane_xie
kafkaRESTconfluent
最近拿到一个kafka rest的需求,但kafka暂时还没有提供rest api(应该是有在开发中,毕竟rest这么火),上网搜了一下,找到一个Confluent Platform,本文简单介绍一下安装。
这里插一句,给大家推荐一个九尾搜索,原名叫谷粉SOSO,不想fanqiang谷歌的可以用这个。以前在外企用谷歌用习惯了,出来之后用度娘搜技术问题,那匹配度简直感人。
环境声明:Ubu
- Calender不是单例
men4661273
单例Calender
在我们使用Calender的时候,使用过Calendar.getInstance()来获取一个日期类的对象,这种方式跟单例的获取方式一样,那么它到底是不是单例呢,如果是单例的话,一个对象修改内容之后,另外一个线程中的数据不久乱套了吗?从试验以及源码中可以得出,Calendar不是单例。
测试:
Calendar c1 =
- 线程内存和主内存之间联系
qifeifei
java thread
1, java多线程共享主内存中变量的时候,一共会经过几个阶段,
lock:将主内存中的变量锁定,为一个线程所独占。
unclock:将lock加的锁定解除,此时其它的线程可以有机会访问此变量。
read:将主内存中的变量值读到工作内存当中。
load:将read读取的值保存到工作内存中的变量副本中。
- schedule和scheduleAtFixedRate
tangqi609567707
javatimerschedule
原文地址:http://blog.csdn.net/weidan1121/article/details/527307
import java.util.Timer;import java.util.TimerTask;import java.util.Date;
/** * @author vincent */public class TimerTest {
 
- erlang 部署
wudixiaotie
erlang
1.如果在启动节点的时候报这个错 :
{"init terminating in do_boot",{'cannot load',elf_format,get_files}}
则需要在reltool.config中加入
{app, hipe, [{incl_cond, exclude}]},
2.当generate时,遇到:
ERROR