会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
老卫同学
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
下一页
2021年10月28日
Golang MD5加密
摘要: 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)
2021年9月23日
hutool监听文件
摘要: 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)
2021年9月10日
java获取网卡列表信息
摘要: 废话少说,直接上代码 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)
2021年8月23日
ubuntu20开启root登录ssh
摘要: 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)
2021年6月27日
macOS安装adb
摘要: #安装adb brew install android-platform-tools #测试adb adb devices
阅读全文
posted @ 2021-06-27 13:44 老卫同学
阅读(82)
评论(0)
推荐(0)
2021年6月22日
windows redis 压缩包安装方式
摘要: redis-server.exe --service-install redis.windows.conf
阅读全文
posted @ 2021-06-22 12:05 老卫同学
阅读(123)
评论(0)
推荐(0)
2021年6月15日
nginx https 配置
摘要: 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)
2021年6月9日
git初始化
摘要: 创建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)
2021年6月7日
Golang Linux、Mac、Windows 跨平台交叉编译
摘要: 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
下一页
公告