【题目】题目链接 Two players take turns picking candies from n heaps,the player who picks the last one will win the game.On each turn they can pick any number ...
分类:
其他好文 时间:
2020-01-16 14:47:51
阅读次数:
57
Linux:#!/bin/bash#stop mysql#kill -9 `pidof mysqld` /etc/rc.d/init.d/mysqld stop 使用单用户登陆# 使用参数--skip-grant-tables启动mysql/usr/local/mysql/bin/safe_mysq ...
分类:
数据库 时间:
2020-01-12 09:40:57
阅读次数:
120
@echo off rem set local_ip=202.101.142.174rem 取得本机ip地址,做为备份包的文件基名for /f "skip=5 Tokens=15" %%i in ('ipconfig') do ( set local_ip=%%i goto out_ipconfig ...
分类:
其他好文 时间:
2020-01-11 22:36:27
阅读次数:
122
聚合操作 步骤 1 : 聚合操作 JDK8之后,引入了对集合的聚合操作,可以非常容易的遍历,筛选,比较集合中的元素。 像这样: String name =heros .stream() .sorted((h1,h2) h1.hp h2.hp? 1:1) .skip(2) .map(h h.getNa ...
分类:
编程语言 时间:
2020-01-09 20:42:29
阅读次数:
72
第一种,用helm安装 helm repo update Hang tight while we grab the latest from your chart repositories... ...Skip local chart repository ...Successfully got an ...
分类:
其他好文 时间:
2020-01-07 01:04:49
阅读次数:
120
数据库连接 这里先不慌连接,如果我们忘了数据库root密码该如何操作呢? 忘记数据库密码,如何修改 我的公众号 1、先回想上章我们安装MySQL 配置文件my.cnf 在最后一行添加skip grant tables,如图,目的为启动 MySQL 服务的时候跳过权限表认证 ![(https://mm ...
分类:
数据库 时间:
2020-01-06 23:00:59
阅读次数:
95
比如项目A引用项目B 项目A maven 插件配置如下: 项目B 插件配置也是如下: 项目已经成功引入,但是出现了下图情况: 正确处理为: 应在项目B maven插件配置<skip>true<skip> 如下图: 添加完此配置后重新发布,依赖发现可以正常使用。 ...
分类:
编程语言 时间:
2020-01-06 22:37:35
阅读次数:
249
1、service mysqld stop停止mysql服务器 2、find / -name my.cnf 查找mysql配置文件的位置打开 3、在[mysqld]后添加skip-grant-tables 4、启动mysql :service mysqld start ——————————————— ...
分类:
数据库 时间:
2020-01-06 19:21:04
阅读次数:
102
K8s在helm初始化的报错,我的k8s为1.16.1,用的helm是2.13.1 [root@k8s-master ~]# helm init --service-account tiller --skip-refresh Creating /root/.helm Creating /root/. ...
分类:
其他好文 时间:
2020-01-06 00:05:47
阅读次数:
382
在忘记root密码的时候,可以这样 以windows为例: 1. 关闭正在运行的MySQL服务。 2. 打开DOS窗口,转到mysql\bin目录。 3. 输入mysqld --skip-grant-tables 回车。--skip-grant-tables 的意思是启动MySQL服务的时候跳过权限 ...
分类:
数据库 时间:
2020-01-05 22:52:16
阅读次数:
156