Loading

上一页 1 ··· 5 6 7 8 9 10 下一页
摘要: package main import ( "crypto/md5" "encoding/hex" "fmt" ) func main() { data := []byte("oldwei.com") md5Ctx := md5.New() md5Ctx.Write(data) cipherStr 阅读全文
posted @ 2021-10-28 14:40 老卫同学 阅读(117) 评论(0) 推荐(0)
摘要: String property = System.getProperty("user.dir") + "\\sdk\\config\\config.setting"; File file = FileUtil.file(property); WatchMonitor.createAll(file, 阅读全文
posted @ 2021-09-23 17:27 老卫同学 阅读(226) 评论(0) 推荐(0)
摘要: 废话少说,直接上代码 package com.oldwei.hikdev.runner; import java.net.InterfaceAddress; import java.net.NetworkInterface; import java.net.SocketException; impo 阅读全文
posted @ 2021-09-10 16:35 老卫同学 阅读(450) 评论(0) 推荐(0)
摘要: 1.给root用户设置密码 sudo passwd root 2.修改sshd配置文件 sudo nano /etc/ssh/sshd_config 修改 PermitRootLogin yes 把 PermitRootLogin without-password 或者 PermitRootLogi 阅读全文
posted @ 2021-08-23 13:49 老卫同学 阅读(1343) 评论(0) 推荐(0)
摘要: #安装adb brew install android-platform-tools #测试adb adb devices 阅读全文
posted @ 2021-06-27 13:44 老卫同学 阅读(82) 评论(0) 推荐(0)
摘要: redis-server.exe --service-install redis.windows.conf 阅读全文
posted @ 2021-06-22 12:05 老卫同学 阅读(123) 评论(0) 推荐(0)
摘要: nginx配置https server { listen 80; listen 443 ssl; server_name lan.oldwei.com; client_max_body_size 2000M; #charset koi8-r; #access_log logs/host.access 阅读全文
posted @ 2021-06-15 11:53 老卫同学 阅读(121) 评论(0) 推荐(0)
摘要: 创建git仓库 …or create a new repository on the command line echo "# blank" >> README.md git init git add README.md git commit -m "first commit" git branch 阅读全文
posted @ 2021-06-09 15:37 老卫同学 阅读(70) 评论(0) 推荐(0)
摘要: 使用chrome插件油猴 油猴编码 go语言使用chromedp模拟chrome浏览器 github地址 阅读全文
posted @ 2021-06-09 00:17 老卫同学 阅读(92) 评论(0) 推荐(0)
摘要: Go 支持交叉编译,在可以一个平台上生成多个平台的执行文件。 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build CGO_ENABLED=0 GOOS=darw 阅读全文
posted @ 2021-06-07 09:49 老卫同学 阅读(188) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 下一页