期末

4. 开启phpmyadmin站点,选择上方的汇入标签,并且在”要汇入的档案”中选择档案副档名为 .sql.zip 的档案上传

并且按下执行即可完成汇入。

5.

$connect= mysqli_connect("localhost", USER_NAME, PASSWORD, DATABASE);
$connect->query("SET NAMES utf8");
if ($connect) echo("资料库连线成功<br>");

净滩车网页

<html><head><title>净滩车</title>
<script language="JavaScript">
function reloadImage(){
    var oImg = document.getElementById('displayImg');
    oImg.src = '1.png?' + Date.now();
}
setInterval(reloadImage,250);
</script></head>

<body>
<img src="1.png" id="displayImg" />
</body></html>
func configure(location: String){
        let geoCoder = CLGeocoder()
        
        print(location)
        geoCoder.geocodeAddressString(location, completionHandler: {
            
            placemarks, error in
            if let error = error{
                print(error.localizedDescription)
                return
            }
            
            if let placemarks = placemarks{
                let placemark = placemarks[0]
                
                let annotation = MKPointAnnotation()
                
                if let location = placemark.location{
                    annotation.coordinate = location.coordinate
                    self.mapView.addAnnotation(annotation)
                    
                    let region = MKCoordinateRegion(center:annotation.coordinate, latitudinalMeters: 250, longitudinalMeters: 250)
                    self.mapView.setRegion(region, animated: false)
                    
                }
            }
        })
    }

解决ubuntu与windows时间不同步

更新时间

sudo apt-get install ntpdate
sudo ntpdate time.windows.com

然后把时间更改到硬件上

sudo hwclock --localtime --systohc
sudo reboot

为什么会不同步

因为linux🐧会把你UEFI的时间用成UTC然后再经由你的地区调整时差

但是windows会直接使用你bios的时间

期末考大补帖

期末考大补帖

首先,欢迎资工三乙的各位阅读期末考大补帖

在这篇文章,权限的部份以及执行目录的部分都会说明清楚,请仔细观看

另外,老师已经说明清楚分割区的部分不会只有两个,这样有两条路可以选择

一是自己修改脚本,符合考试的情况

一是采取手动分割,手动计算的方式符合状况

那么,准备好就,开始考试吧!!

# 这个标志代表是使用 root 权限进行操作指令

$ 这个标志代表是使用普通使用者 (这篇文章泛指 eecs) 进行操作指令

阅读全文