首先就是添加对分布式锁支持的比较好的客户端依赖 添加配置信息 添加配置类信息 之后是具体的工具类 之后调用工具类的加锁,解锁方法即可哦 ...
分类:
其他好文 时间:
2019-03-22 14:10:23
阅读次数:
145
author:headsen chen date:2019-03-18 14:48:17 1,查看分区状态,发现/ 分区不够用。/home分区太大了。浪费 2,卸载 /home分区 假如要是无法卸载:使用 fuse -km /home 强制杀死站用该/home 分区的进程 查看总的lv的情况 设置文 ...
分类:
其他好文 时间:
2019-03-18 15:19:15
阅读次数:
227
//fun函数:从p所指字符串中找出ASCII码最大的字符,将其放在第一个位置上,并将该字符前的原字符向后顺序移动。 //fun函数:根据一下公式求圆周率值,并作为函数返回值。Π/2=1+1/3+1/3*2/5+1/3*2/5*3/7+... //规定输入的字符串中只包含字母和*号,fun函数:使字 ...
分类:
移动开发 时间:
2019-03-18 13:25:05
阅读次数:
902
报错: LookupError: ********************************************************************** Resource punkt not found. Please use the NLTK Downloader to ob ...
分类:
其他好文 时间:
2019-03-16 18:05:39
阅读次数:
434
Before PNS,some settings should be ready: firstly,make sure that the power/ground nets exist,if not,please load upf file,a typical upf file is shown a ...
分类:
其他好文 时间:
2019-03-13 18:25:27
阅读次数:
183
这是课程里给的代码,自己看着讲义在里面加了些注释。 ...
分类:
编程语言 时间:
2019-03-12 12:04:14
阅读次数:
209
题目如下: Given a list of words (without duplicates), please write a program that returns all concatenated words in the given list of words. A concatenate ...
分类:
其他好文 时间:
2019-03-11 10:35:13
阅读次数:
211
我是在CentOS6.5安装php5.5.28这个版本,PHP编译代码如下: ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql -- ...
分类:
Web程序 时间:
2019-03-10 09:58:46
阅读次数:
282
原文:Come in ,Amy. A:Come in B. Shut the door,please. This bedroom's very untidy. B:What must I do Mrs.A? A:Open the window and air the room. A:Then put ...
分类:
其他好文 时间:
2019-03-07 14:06:27
阅读次数:
129