Sentinel 哨兵 修改src下的sentinel.conf文件 , 配置端口 :port:随便 daemonize yes 配置主服务器的ip 和端口 我们把监听的端口修改成7000,并且加上权值为1,这里的权值,是用来计算我们需要将哪一台服务器升级升主服务器 sentinel monitor ...
分类:
其他好文 时间:
2019-04-24 19:41:26
阅读次数:
185
public boolean onTouch(View view, MotionEvent motionEvent) { if(motionEvent.getAction() == MotionEvent.ACTION_DOWN){ //记录按下时的数据 sx = (int) motionEvent... ...
分类:
移动开发 时间:
2019-04-24 19:37:29
阅读次数:
173
原文:WPF自定义仪表盘控件 闲来无事,分享一个仪表盘 源码: 直接复制代码即可运行,=。=! ... ...
操作前: 操作后: 第一步: 把中英文的逗号和顿号置换为 '\n’ support_unit = support_unit.replace(/,|,|、/g, '\n') support_unit = support_unit.replace(/,|,|、/g, '\n') 第二步: //为了使\n ...
分类:
Web程序 时间:
2019-04-24 19:18:19
阅读次数:
166
一年一度万众期待的 Apple 春季发布会终于在今天凌晨揭晓,Apple 新推的 Apple News、Apple Card、Apple Arcade 和 Apple TV+ 四大软件服务惊喜不断,随后开启的硬件首销更是捷报频传。3 月 26 日上午 8 点起,伴随着提前发布的 iPad Air 2 ...
分类:
其他好文 时间:
2019-04-24 17:48:08
阅读次数:
234
前篇墨者安全主要给大家分享了什么是域名以及中文域名的发展趋势,现下我们都知道网络安全的重要性,不但是国家的重视,广大网名也逐渐意识到网络安全的重要性,如今在大数据时代的环境下,稍微有点不注意就会信息泄露,外加又有虎视眈眈的***人士存在,我们一定要做好安全保护措施。
分类:
其他好文 时间:
2019-04-24 16:05:46
阅读次数:
133
VIM note "Vim Chinese Documentation" "Vim documentation: help" "VIM: index" "Vim documentation : vim online" "vim/runtime/doc at master · vim/vim · Gi ...
分类:
系统相关 时间:
2019-04-24 14:50:17
阅读次数:
167
import 'package:flutter/material.dart'; class MyIdPage extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( ti... ...
分类:
其他好文 时间:
2019-04-24 11:59:31
阅读次数:
140
mysql密码过期导致软件console连接失败的问题
分类:
数据库 时间:
2019-04-24 10:45:19
阅读次数:
228