string方法的一些函数作用 2.继承演示 -子类 using System; using System.Collections.Generic; using System.Text; namespace ConsoleApp1 { /// <summary> /// 胡萝卜类:继承与蔬菜类。在这 ...
1.安装centos 7 2.使用root登陆系统,更新系统及所有软件按到最新 yum update -y && reboot 3.安装vim、samba yum install vim samba -y 4.配置文件在/etc/samba/smb.conf [global] workgroup = ...
分类:
其他好文 时间:
2020-11-23 12:12:07
阅读次数:
7
linux System.setOut(new PrintStream(new File("/opt/apache-tomcat-8.5.51/logs/outLog.txt"))); System.out.println("输出到日志文件测试"); windows System.setOut(ne ...
分类:
其他好文 时间:
2020-11-23 12:03:09
阅读次数:
5
oracle安装环境配置前提下 1 在安装文件/database/response/*有三个配置文件模板 [oracle@oracledb response]$ ll 总用量 100 -rwxrwxr-x. 1 oracle oinstall 44954 12月 4 11:46 dbca.rsp - ...
分类:
数据库 时间:
2020-11-21 12:43:54
阅读次数:
24
父类: public class Parent { //看这里的this指的是什么 public Parent() { this.say(); } protected void say() { System.out.println("father"); } } 子类: public class Su ...
分类:
其他好文 时间:
2020-11-21 12:40:44
阅读次数:
24
Linux配置NTP时间同步 一、ntp和ntpdate区别 两个服务都是centos自带的(centos7中不自带ntp)。ntp的安装包名是ntp;ntpdate的安装包是ntpdate。他们并非由一个安装包提供。 ntp守护进程为ntpd,配置文件是/etc/ntp.conf ntpdate用 ...
分类:
系统相关 时间:
2020-11-21 12:39:54
阅读次数:
16
public static void main(String[] args) { /** * 位运算符 * A = 0010 1100 * B = 0000 1101 * * A&B = 0000 1100 两个为1才为1 与 * A|B = 0011 1101 有一个为1就为1 或 * A^B = ...
分类:
编程语言 时间:
2020-11-21 12:38:16
阅读次数:
16
方法一: import org.json.*; //获取响应状态码 String code = prev.getResponseCode(); System.out.println("code的值:" + code); if (code.equals("${my_code}")) { //获取上一个 ...
分类:
系统相关 时间:
2020-11-21 12:28:24
阅读次数:
13
##引言 这两天写项目碰到了使用nginx作为图片服务器及简单的地址重写 ###Nginx作为图片服务器 server { listen 80; server_name image.leyou.com; proxy_set_header X-Forwarded-Host $host; proxy_s ...
分类:
其他好文 时间:
2020-11-21 12:27:00
阅读次数:
7
MainWindow.xaml.cs里加入 // 设置全屏 this.WindowState = System.Windows.WindowState.Normal; this.WindowStyle = System.Windows.WindowStyle.None; this.ResizeMod ...