本文概要: git 工作流 git 常用操作命令 git merge VS git rebase 回退版本 git reset VS git revert 1.工作流: 核心: (1)任何新的功能(feature)或 bug 修复全都新建一个 branch 来写 (2)branc...

Vicw.com用户头像 - XanderCheung XanderCheung 957 0 1

TL;DR: run gem update --system.What is this bug?Some versions of RubyGems try to use the exact version of Bundler listed in your Gemfile.lock anytime you run the bundle command. If you are using one of those versions of RubyGems, but do no...

Vicw.com用户头像 - XanderCheung XanderCheung 542 0 0

WARNING: Error loading config file: /home/$USER/.docker/config.json: open /home/$USER/.docker/config.json: permission deniedTry this:sudo chown $USER:docker ~/.docker sudo chown $USER:docker ~/.docker/config.json sudo chmod g+rw ~/.docker/c...

Vicw.com用户头像 - XanderCheung XanderCheung 1052 0 1

To clear containers:docker rm -f $(docker ps -a -q)To clear images:docker rmi -f $(docker images -a -q)To clear volumes:docker volume rm $(docker volume ls -q)To clear networks:docker network rm $(docker network ls | tail -n+2 | awk '{if($2...

Vicw.com用户头像 - XanderCheung XanderCheung 816 0 0

客户端预编译的压缩包可以在如下几个站点找到:Github Release: github.com/v2ray/v2ray-coreGithub 分流: github.com/v2ray/distHomebrew: github.com/v2ray/homebrew-v2rayArch Linux: packages/community/x86_64/v2ray/Snapcr...

Vicw.com用户头像 - XanderCheung XanderCheung 1263 0 1

查看开发的端口firewall-cmd --list-ports开放端口 10235firewall-cmd --zone=public --add-port=10235/tcp --permanent # 重启firewall   firewall-cmd --reload

Vicw.com用户头像 - XanderCheung XanderCheung 841 0 0

回滚特定文件:rake db:migrate:down VERSION=20170726090222要查找所有迁移的版本,可以使用以下命令:rake db:migrate:statusdatabase: iotboss_08_09_b1 Status   Migration ID    Migration Name-----------------------...

Vicw.com用户头像 - XanderCheung XanderCheung 1023 0 1

清除坏的<none>:<none>镜像docker rmi $(docker images -f "dangling=true" -q)

Vicw.com用户头像 - XanderCheung XanderCheung 933 0 1

宿主机已经运行mysql在3306端口,这个时候 映射容器中的 mysql '3306:3306' 就会和外部冲突,这个时候 映射 3308 到容器mysql的3306CONTAINER ID        IMAGE                    COMMAND    ...

Vicw.com用户头像 - XanderCheung XanderCheung 2320 0 0

程序猿 - 使用阿里云加速器提升获取Docker官方镜像的速度

https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors

Vicw.com用户头像 - XanderCheung XanderCheung 894 0 0