Wesley13 Wesley13
3年前
Ubuntu18.04下安装MySQL
提示:以下操作均在root权限下进行。\查看有没有安装MySQL:dpkgl|grepmysql\安装MySQL:aptinstallmysqlserver!(https://img2018.cnblogs.com/blog/1404518/201905/14045182019050815303467
Stella981 Stella981
3年前
K8S——Pod无法通过 Service IP 访问自身
问题描述:pod能ping通Service名称,但无法通过nc或者telnet连接对应的端口解决:1、修改svc模式clusterip到loadbalance解决,但阿里云需要创建slb,可以买内网共享型的slb,免费2、修改k8s配置:kubelethairpinmode配置(https://kubernetes.
可莉 可莉
3年前
11、修改IDEA错误提示颜色和Sonarlint报错
修改IDEA自带的报错提示!(https://oscimg.oschina.net/oscnet/upd9b0886ff618fe35154e3bfe0cadf6880a3.png)修改SonarLint报错提示,这边层级和上一个在同一层级!(https://oscimg.oschina.net/o
Wesley13 Wesley13
3年前
mysql用户以及用户授权
1.1创建mysql用户mysqlcreateusertestidentifiedby'test';1.2为用户授权后面不加identified。grantselectontest.\totest@localhost;1.3查看MYSQL数据库中所有用户selectdistinctconcat('User:
Stella981 Stella981
3年前
Mac卸载mysql并安装mysql升级到8.0.13版本
引言今天mysql升级到8.0.13版本,遇到了很多问题,在此进行总结方便以后查看。卸载mysqlbrewuninstallmysqlsudorm/usr/local/mysqlsudormrf/usr/local/mysql\sudormrf
Stella981 Stella981
3年前
Centos6.8 rabbitmq搭建且修改默认端口
一、安装依赖环境yuminstallbuildessentialopensslopenssldevelunixODBCunixODBCdevelmakegccgccckerneldevelm4ncursesdevel二、安装erlang1.下载源码wgethtt
Stella981 Stella981
3年前
Mac修改Eclipse、STS tab键默认使用空格
设置Eclipse、STS编码神器的tab键为4个空格的完整方法1、左上角点击Preferences...,依次选择GeneralEditorsTextEditors,选中右侧的Insertspacefortabs后保存;如下图所示!(https://oscimg.oschina.net/oscnet/upf134b
Stella981 Stella981
3年前
Mvc+三层(批量添加、删除、修改)
DAL层usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;usingModel;usingSystem.Data;usingNe
Stella981 Stella981
3年前
HanLP
停用词表的修改停用词表在“pyhanlp\\static\\data\\dictionary”路径下的“stopwords.txt”文件中,CoreStopWordDictionary.apply方法支持去除停用词。如果需要修改停用词表,则直接编辑文件“stopwords.txt”,之后删除路径下的“stopwords.txt.bin”,运行Co
深入理解线段树 | 京东物流技术团队
线段树(SegmentTree)是常用的维护区间信息的数据结构,它可以在O(logn)的时间复杂度下实现单点修改、区间修改、区间查询(区间求和、区间最大值或区间最小值)等操作,常用来解决RMQ问题。RMQ(RangeMinimum/MaximumQuery