会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Cyber的博客
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
15
下一页
2023年4月12日
AI编辑器【cursor】
摘要: 打字就可以生成代码的编辑器 这款应用是基于Chat-gpt3,不需要你有openAi账号,但是只能生成代码相关功能,不能写作 基本界面就是这个黑色的,使用起来流畅度ok,编译速度挺快。 CTRL + K 生成代码 会先弹出弹窗,在输入框输入要生成的相关代码即可。 英文比中文准确率更高点,只是生成简单
阅读全文
posted @ 2023-04-12 15:10 Cyber_nnno
阅读(271)
评论(0)
推荐(0)
2023年3月14日
X Exiting due to RSRC_INSUFFICIENT_CORES: Requested cpu count 2 is greater than the available cpus of 1
摘要: 原因 最近使用minikube时,minikube start 报错 解决方法 minikube start --extra-config=kubeadm.ignore-preflight-errors=NumCPU --force --cpus 1 这个是强制使用1个cpu
阅读全文
posted @ 2023-03-14 11:20 Cyber_nnno
阅读(406)
评论(0)
推荐(0)
2023年2月23日
Ubuntu 进入系统提示 A start job is running for wait for network to be Configured
摘要: vim /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service 在Service中添加 TimeoutStartSec=2sec reboot 重启服务器即可
阅读全文
posted @ 2023-02-23 17:38 Cyber_nnno
阅读(124)
评论(0)
推荐(0)
2023年2月20日
concurrent map read and map write
摘要: 记录一次项目中,map因多线程冲突占用的问题 type TestMap struct { data map[int]int } func (m *TestMap) writeMap(k, v int) { if m.data == nil { m.data = make(map[int]int) }
阅读全文
posted @ 2023-02-20 16:37 Cyber_nnno
阅读(177)
评论(0)
推荐(0)
2023年2月18日
SSH 免密登录
摘要: 本文介绍 A 利用ssh 免密登录 B 1.A操作 ssh-keygen 该操作为创建公钥 2.B操作 # 复制公钥到本地 # root为A的用户名 # node1为ssh别名 可以换为ip地址 详情请看https://www.cnblogs.com/zyfeng/p/17132777.html s
阅读全文
posted @ 2023-02-18 15:54 Cyber_nnno
阅读(28)
评论(0)
推荐(0)
SSH 设置别名
摘要: 1.介绍 一般访问ssh,需要输入ssh xxx.xxx.xxx.xxx 设置别名可简短命令,方便快捷 vim ~/.ssh/config 一般是没有config这个文件的,vim会自动创建 2.设置 添加内容 Host 名称(ssh 访问的名称) hostname ip地址 user 用户名 我这
阅读全文
posted @ 2023-02-18 15:46 Cyber_nnno
阅读(70)
评论(0)
推荐(0)
SSH 提示 Permission denied, please try again
摘要: vim /etc/ssh/sshd_config 输入: /PermitRootLogin 查找 按 i 进入insert模式 改为 PermitRootLogin yes 输入::wq 保存 重启ssh服务 /etc/init.d/ssh restart
阅读全文
posted @ 2023-02-18 15:22 Cyber_nnno
阅读(538)
评论(0)
推荐(0)
Ubuntu 22.04.1 修改Ip
摘要: 1.查看ip配置 最好先获取root权限(不获取也无所谓) sudo su 查看网关 route -n 我这里是网关是:192.168.205.2 查看IP ifconfig 没有的话,安装一下:sudo apt install net-tolls 2.设置IP cd /etc/netplan vi
阅读全文
posted @ 2023-02-18 14:09 Cyber_nnno
阅读(563)
评论(0)
推荐(0)
2023年2月16日
Goland 2022.2.4安装
摘要: 1.下载 点击下载 这里教程是2022.2.4,选择对应版本 2.安装 安装路径选择自己想要放的地方就好(不要放在中文路径中) 然后打开软件,先不要点击任何地方 3.破解 百度云链接:https://pan.baidu.com/s/1sqjlLUmbRqOkizQQOOYKSQ 提取码:peeu 打
阅读全文
posted @ 2023-02-16 17:36 Cyber_nnno
阅读(866)
评论(1)
推荐(1)
2021年12月16日
Golang冒泡排序
摘要: 代码 func bubblingSort() { numSlice := []int{100, 32, 56, 2, 12, 64, 76} fmt.Println("1 numSlice is", numSlice) //1 numSlice is [100 32 56 2 12 64 76] f
阅读全文
posted @ 2021-12-16 16:44 Cyber_nnno
阅读(54)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
15
下一页
公告