Loading...
package main import ( "fmt" "github.com/mitchellh/go-homedir" "golang.org/x/crypto/ssh" "io/ioutil" "log" "time"...
执行命令添加源:echo 'deb [trusted=yes] http://dl.bintray.com/yoursunny/PiZero stretch-backports main' |\ sudo tee /etc/apt/sources.list.d/bintray-yoursunny-PiZero.list sudo apt updatePython3:sudo apt ins...
服务端:# -*- coding: utf-8 -*- import socket import os import time #监听ip和端口 IP_Post = ('0.0.0.0', 1234) sk = socket.socket() sk.bind(IP_Post) sk.listen(5) while True: conn, addr = sk.accept() ...
#!/bin/sh sudo apt update sudo apt install -y apt-transport-https ca-certificates curl gnupg2 lsb-release software-properties-common curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/raspbian/...
// 程序开机自动启动 void autostart() { HKEY hKey; QString strRegPath = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run"; //1、找到系统的启动项 if (RegOpenKeyEx(HKEY_CURRENT_USER, str...