参考: https://www.thomas-krenn.com/en/wiki/Archive_under_Linux_(tar,_gz,_bz2,_zip) tar The program tar originally stands for Tape Archiver, it was used to back up data to tape drives. It is still very popular and widespread today. A pur...

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

查看所有相关的包 dpkg -l | grep postgres rc pgdg-keyring 2018.2 all keyring for apt.postgresql.orgii postgresql 13+223 all...

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

如docker-compose 有个镜像叫 app, 则通过pull 更新镜像,并recreate start sudo docker-compose pull app sudo docker-compose create app sudo docker-compose start app

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

使用format 方法: format('%g', 1.0000) # => "1"

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

each each的作用基本取代了ruby中的关键词for,当你需要迭代一个集合的时候,应该首先想到它,无论是从语义上还是便捷性上,each都远胜于for ['a', 'b', 'c'].each do |e| #do something... end map...

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

1.安装webpacker 增加gem gem 'webpacker', '~> 5.2', '>= 5.2.1' 安装: bundle bundle exec rails webpacker:install 安装后,您可以立即开始编写现代的ES6风格的JavaScript应用程序: app/javascript: ├── packs: ...

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

单向数据流 所有的 prop 都使得其父子 prop 之间形成了一个单向下行绑定:父级 prop 的更新会向下流动到子组件中,但是反过来则不行。这样会防止从子组件意外变更父级组件的状态...

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

突然发现git项目往github上push时,push不上去,报错: remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. remote: error: Trace: eeae3313e0b59e20bfec98b8193936ba...

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

ALTER TABLE topics DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci ROW_FORMAT default; ALTER TABLE topics MODIFY COLUMN title varchar(255) CHARACTER SET utf8mb4;

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

在nohup后加上 sleep 1 可以结束,如: execute :nohup, "sleep 1; ./axshare_go > log/production.log 2>&1 &"

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