This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 默认是关闭网卡的, 需开启 | |
vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 | |
ONBOOT=yes | |
service network restart | |
# centos7 无`ifconfig`、`netstat`、`route`、`arp` | |
使用 ip指令,ss指令和NetworkManager的两个工具 nmtui,nmcli 取代 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<!-- Encoding --> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame --> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"></meta> | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
/** | |
* 验证工具类 | |
* @author admin | |
* | |
*/ | |
public class RegexUtil { | |
//------------------常量定义 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.antiy.util.db.jdbc; | |
public final class JdbcPostgresqlConfig { | |
static final String DRIVER_PACKAGE = "org.postgresql.Driver"; | |
static final String CONNECTION_URL = "jdbc:postgresql://192.168.12.18:5432/tm_samples"; | |
static final String USER_NAME = "sqluser"; |