V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  calmzhu  ›  全部回复第 2 页 / 共 19 页
回复总数  368
1  2  3  4  5  6  7  8  9  10 ... 19  
2022-05-07 17:28:16 +08:00
回复了 yixin026 创建的主题 DevOps 公司发邮件的成本很高吗..
基本都有邮件提醒啊. todist 甚至 evernote..
然后日程同步这种,日历也很好用.更直观,而且手机本身就有很好的集成
2022-05-02 11:42:12 +08:00
回复了 ddd270700 创建的主题 Go 编程语言 编译的时候 cannot find package,请大佬进来点拨一下
按这个来吧
2022-05-02 11:42:01 +08:00
回复了 ddd270700 创建的主题 Go 编程语言 编译的时候 cannot find package,请大佬进来点拨一下
基于 go module 使用

go env -w GO111MODULE=on

go env -w GOPROXY=https://goproxy.cn,direct

在任意目录 git clone https://github.com/taoshihan1991/go-fly.git

进入 go-fly 目录

源码运行 go run go-fly.go server

源码打包 go build go-fly.go 会生成 go-fly 可以执行文件

导入数据库(会删除表清空数据) ./go-fly install

二进制文件运行

linux: ./go-fly server [可选 -p 8082 -d]

windows: go-fly.exe server [可选 -p 8082 -d]

关闭程序 ./go-fly stop

linux 下使用 ps 命令结合 kill 命令杀掉进程

ps -ef|grep go-fly 看到父子进程 id

kill 进程父进程 id ; kill 进程子进程 id
2022-05-02 11:21:30 +08:00
回复了 ddd270700 创建的主题 Go 编程语言 编译的时候 cannot find package,请大佬进来点拨一下
作者不是说过么 go get ./
2022-04-20 21:33:03 +08:00
回复了 LxnChan 创建的主题 程序员 想问一下大家开发 h5/css/js/vue 的话都会安装什么插件啊
vue 文档里面有插件推荐.直接用啥都有了
2022-04-19 22:48:10 +08:00
回复了 terrancesiu 创建的主题 云计算 AWS 中国致电给我,让我自删帐号
中国区是一直没对个人开放啊,之前都注册不上.
好奇你这账户怎么来的?
2022-04-19 18:50:13 +08:00
回复了 idblife 创建的主题 Kubernetes Kubernetes 中如何做到 AB 分流
是指灰度发布这种效果吗? https://help.aliyun.com/document_detail/200941.html
2022-04-19 18:38:34 +08:00
回复了 idblife 创建的主题 Kubernetes Kubernetes 中如何做到 AB 分流
没 Get 到需求.
发布的话, 探针停一半不就可以了
@weishao666

kube-system 下的所有 pod.mysql-xxxx pod 的日志搜索一下 501

apiServer 前面会有代理。后面会有 controller 等。apiServer 只是一个组件。可能其他组件传过来的。
同时上千条 kubectl 跑?
建议先看下这个报错是哪一层返回的。
2022-02-25 23:58:46 +08:00
回复了 heipipi 创建的主题 GitLab 思细级恐啊,我们自己搭的 gitlab 的都被黑了!
用记事本吧,git 配不上你们
alias
function
tmux
2021-11-27 22:17:42 +08:00
回复了 ryougifujino 创建的主题 程序员 大家推荐把哪些配置文件放 Git 里?
.bash_profile
.config/git/config
.config/git/ignore
.config/git/template/hooks/pre-commit
.config/pip/pip.conf
.gitignore
.inputrc
.kube/config
.plugin/alias.sh
.plugin/bash_completion
.plugin/bookmarks.sh
.plugin/git-completion.bash
.plugin/helm-completion.bash
.plugin/kubectl-competion
.plugin/set_terminal_proxy.sh
.plugin/ssh-completion.bash
.plugin/venvwrapper.sh
.ssh/config
.tmux/plugins/tmux-always/always.tmux
.tmux/plugins/tmux-resurrect/resurrect.tmux
.tmux/plugins/tmux-resurrect/save_command_strategies/gdb.sh
.tmux/plugins/tmux-resurrect/save_command_strategies/linux_procfs.sh
.tmux/plugins/tmux-resurrect/save_command_strategies/pgrep.sh
.tmux/plugins/tmux-resurrect/save_command_strategies/ps.sh
.tmux/plugins/tmux-resurrect/scripts/check_tmux_version.sh
.tmux/plugins/tmux-resurrect/scripts/helpers.sh
.tmux/plugins/tmux-resurrect/scripts/process_restore_helpers.sh
.tmux/plugins/tmux-resurrect/scripts/restore.exp
.tmux/plugins/tmux-resurrect/scripts/restore.sh
.tmux/plugins/tmux-resurrect/scripts/save.sh
.tmux/plugins/tmux-resurrect/scripts/spinner_helpers.sh
.tmux/plugins/tmux-resurrect/scripts/tmux_spinner.sh
.tmux/plugins/tmux-resurrect/scripts/variables.sh
.tmux/plugins/tmux-resurrect/strategies/irb_default_strategy.sh
.tmux/plugins/tmux-resurrect/strategies/mosh-client_default_strategy.sh
.tmux/plugins/tmux-resurrect/strategies/nvim_session.sh
.tmux/plugins/tmux-resurrect/strategies/vim_session.sh
.tmux/plugins/tmux-resurrect/video/issue_vid.png
.tmux/plugins/tmux-resurrect/video/screencast_img.png
.tmux/plugins/tmux-resurrect/video/script.md
.tmux/themes/simple
.tmux/tmux.conf
.user.plugin/.brew_mirrors
.user.plugin/.user.bash_profile
.user.plugin/alias.sh
.vim/.netrwhist
.vim/colors/desert.vim
.vim/colors/molokai.vim
.vim/colors/solarized.vim
.vim/colors/vividchalk.vim
.vim/colors/wombat256mod.vim
.vim/templates/common/ext/html
.vim/templates/common/ext/pl
.vim/templates/common/ext/py
.vim/templates/common/ext/sh
.vim/vimrc
2021-11-27 22:13:40 +08:00
回复了 ryougifujino 创建的主题 程序员 大家推荐把哪些配置文件放 Git 里?
我是用户目录整个做 git 。
不敌定时看看有什么新的。
要的加进版本,不要的 gitignore
碰见过,解决方案是菜单+ 按钮 直接放在数据库里。前段先用接口查用户有权限的菜单。 但是维护起来巨恶心
2021-11-25 22:16:56 +08:00
回复了 s82kd92l 创建的主题 Linux 求轻量级服务包装方案
身份认证是绕不过去的

要轻量还得复用 ssh. 新建个普通用户,然后住用户用脚本轮询一下普通用户的某个标志文件就可以了。

稳一点标志文件只做开关。
野一点标志文件当脚本直接跑
2021-11-19 15:49:45 +08:00
回复了 Aluhao 创建的主题 问与答 有没有什么工具可以批量更新多台服务器代码?
这种简单的 scp 直接 copy 就可以了
不同数据量不同数据特征的解决方案不一样的。

盲猜数据量不爆炸,age 索引拿数据,然后代码过滤 name 试试。
2021-10-28 23:55:37 +08:00
回复了 Aeoluze 创建的主题 程序员 有推荐的开源团队协作工具吗?
找不到,已放弃,用在线的吧
2021-10-13 23:59:00 +08:00
回复了 hijoker 创建的主题 SSH 有没有这样的一个 ssh 命令行工具
定义 bash 自动补全就可以了。tab
1  2  3  4  5  6  7  8  9  10 ... 19  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3016 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 33ms · UTC 14:20 · PVG 22:20 · LAX 07:20 · JFK 10:20
Developed with CodeLauncher
♥ Do have faith in what you're doing.