Skip to content

Instantly share code, notes, and snippets.

View yang2yang's full-sized avatar
🎯
Focusing

Shane yang2yang

🎯
Focusing
  • student
  • hangzhou
View GitHub Profile
#!/usr/bin/env bash
set -euo pipefail
echo "==> 开始配置 SSH(适用:Ubuntu 24.04)"
echo "==> 写入 /etc/ssh/sshd_config.d/00-key-only.conf"
cat >/etc/ssh/sshd_config.d/00-key-only.conf <<'EOF'
PasswordAuthentication no
KbdInteractiveAuthentication no
PubkeyAuthentication yes
package testdemo;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Created by jack-pc on 2017/5/27.
*/
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cn.qingtianr</groupId>
<artifactId>SpringVmex</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>SpringVmex Maven Webapp</name>
<url>http://maven.apache.org</url>
作业1:
1. 介绍人工神经网络的发展历程和分离
2. 简要介绍BP神经网络
3. 简要介绍RBF神经网络
4. 简要介绍SOM(自组织映射)神经网络
5. 神经网络的应用
作业2:
1. 介绍支持向量机的发展历程和分类
2. 支持向量机的应用
3. 介生物特征识别的内容
package tian.dbc;
import java.sql.*;
//DAO模式中的连接和关闭数据库的类
public class DatabaseConnection
{
private static final String JDBC_DRIVER = "com.mysql.jdbc.Driver";
private static final String DB_URL = "jdbc:mysql://localhost/jsp";
private static final String USER = "sa";
private static final String PASS = "123456";
print 'Hello Gist!'