SET @new='3,4'; UPDATE b_class SET tree_path=REPLACE(REPLACE(CONCAT('$',tree_path,',#'),CONCAT('$',@old,','),CONCAT(@new,',')),',#','') WHERE CONCAT(tree_path,',') LIKE CONCAT(@old,',%');
Java8中的default方法 在java8以后,接口中可以添加使用default或者static修饰的方法,在这里我们只讨论default方法,default修饰方法只能在接口中使用,在接口种被default标记的方法为普通方法,可以直接写方法体。 1.实现类会继承接口中的default方法 如果接口A中有default方法: public interface A { public default void a(){ System.out.println("这是A");
Kotlin 函数编程详解 函数 Functions.gif 函数声明 Functions in Kotlin are declared using the fun keyword: fun double(x: Int): Int { return 2 * x } 调用函数 Calling functions uses the traditional approach: val result = double(2) Calling member functions uses the dot notation: Sample().foo() // create instance of class Sample and call foo 参数 Function parameters are defined using Pascal notation, i.e. name: type. Unit is a type with only one value - Unit.
skipping. By default, MariaDB comes with a database named 'test' that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment. Remove test database and access to it? Query OK, 0 rows affected (0.00 sec) MariaDB [mysql] 接着就可以远程登陆数据库了 之后要修改手撕包菜程序里面的连接密码 首先关闭相关的进程 ps -ef |grep python 一般就是下面几个进程 root 958 1 0 20:51 ?
vscode之必备插件推荐 工欲善其事,必先利其器 Auto Close Tag 自动闭合标签 Auto Rename Tag 自动完成另一侧标签的同步修改 Path Intellisense 自动提示文件路径,支持快速引入文件 Open HTML in Default Browser 右键:在浏览器中打开 Live Server vscode不是IDE
sh clone_machine.sh Install Install for single master: sh -x install.sh all Install for multi master: sh -x install.sh allha 安装视频 安装完成 验证安装 浏览svc.html 包含相关服务的链接 sh install.sh status 查看各服务状态 当需要重新安装: `sh -x install.sh reset` install.sh 的HELP usage: install.sh [prepare|p]|p1|p2|p3|p4|[1|base]|[2|addon]|[3|ha]|dashboard|network|node|rejoin|ingress|helm|prometheus|efk|istio|finish|default|help|.
Docker常用命令 安装docker后,可以使用命令行: docker help Usage: docker [OPTIONS] COMMAND A self-sufficient runtime for containers Options: --config string Location of client config files (default "C:\\Users\\Administrator\\.docker") -D, --debug Enable debug mode -H, --host list Daemon socket(s) to connect to -l, --log-level string Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info") --tls Use TLS;