随便新建一个文件夹,存放代码 新建一个java文件 文件后缀名为.java Hello.java 编写代码 public class Hello{ public static void main(String[] args){ System.out.print("hello world!"); } ...
分类:
其他好文 时间:
2021-06-06 18:52:26
阅读次数:
0
1.修改服务对应的文件路径 第一步:快捷键 Win+ R 呼出运行,输入regedit 回车打开注册表 第二步: 依此点击 HKEY_LOCAL_MACHINE >> SYSTEM >> CurrentControlSet >> Services 第三步: 输入法切换为英文 点击 Services ...
#使用Markdown格式 最近的事 课程考试 程序比赛 四级 回家的事 考研还是就业(好慌) 考驾照 该不该买计算机网络的书 Linux的学习 public static void main(String[] args){ SyStem.out.println("Hello,World"); } ...
分类:
其他好文 时间:
2021-06-05 18:37:20
阅读次数:
0
1,拉取镜像 docker pull nacos/nacos-server:1.3.2 docker images | grep nacos-server 2,运行容器 docker run --name nacos-server -e MODE=standalone -e MYSQL_SERVIC ...
分类:
数据库 时间:
2021-06-05 18:34:43
阅读次数:
0
这个例子的完整源代码: import { Component, OnInit, Injectable, Injector } from '@angular/core'; @Injectable() class UsefulService { constructor(){ console.log("U ...
1.写个配置类CorsConfig (如果不行,可以不写此类,和springcloud的版本有关) package net.youqu.micro.service.config; import org.springframework.context.annotation.Bean; import o ...
分类:
其他好文 时间:
2021-06-05 18:32:57
阅读次数:
0
形参和实参 java在定义方法时可以设置参数,参数分为形参和实参,形参是指在定义函数时用于接收外部传入数据的参数,而实参是指在调用方法时主调函数向被调函数传递的数据参数。 例如: public class Main { public static void main(String[] args) { ...
分类:
编程语言 时间:
2021-06-05 18:29:00
阅读次数:
0
经常忘记 static 代码块 反正如果你有调用(进入到) 他的类中他就执行.. a.java: public class a { public static void main(String[] args) { b.fun(); } } b.java: public class b { stati ...
分类:
编程语言 时间:
2021-06-05 18:04:20
阅读次数:
0
picoctf_2018_echo_back 题目分析 简单的格式化字符串,修改got@pus为main函数地址制造循环即可: 先制造循环 修改printf@got为system@plt 输入/bin/sh获取shell 最终EXP from pwn import * sh:tube = proce ...
分类:
其他好文 时间:
2021-06-05 18:01:10
阅读次数:
0
1:查看防火状态 systemctl status firewalld service iptables status 2:暂时关闭防火墙 systemctl stop firewalld service iptables stop 3:永久关闭防火墙 systemctl disable firew ...
分类:
系统相关 时间:
2021-06-05 17:51:23
阅读次数:
0