All Posts

  • Published on
    ## The good 1. [DeltaRPM](https://fedoraproject.org/wiki/Features/Presto) 是个好东西,可以节省更新的流量和本地cache的package空间 [Fedora Linux](https://en.wikipedia.org/wiki/Fedora_Linux "Fedora Linux") has supported binary delta updates by default using the [yum](https://en.wikipedia.org/wiki/Yellowdog_Updater,_Modified "Yellowdog Updater, Modified") presto plugin since June 2009. This is based on [RPM Package Manager](https://en.wikipedia.org/wiki/RPM_Package_Manager "RPM Package Manager")'s deltarpm system (2004), which was in turn based on bsdiff.\[[1]](https://en.wikipedia.org/wiki/Delta_update#cite_note-1)  ...
  • Published on
    最近编译了最新版的Git, 发现init repo的时候会提示配置全局默认branch (这事儿都是由black lives matter运动搞起的)。好吧,既然能少打一个字符,就改成 `main` 吧。 ## 切换 Git 分支为 main ```shell git checkout master git branch -m main # 删除本地分支 git branch -d master # 删除远程分支 git push origin --delete master # (并不是真正想push, 只是隐式地将远程分支设置为了跟踪main) git push origin -u main ``` ## Github 配置 ...
  • Published on
    ## 起因 为什么用的是Ubuntu? 老灯你不是喜欢ArchLinux的么? 没错,这个Ubuntu只是老灯在工作环境使用的, 主要是团队要求。与大家保持一致。 当前我的neovim还是用的[Vim Plug](https://github.com/junegunn/vim-plug)这个插件管理器(已经在着手准备迁移到init.lua + packer.nvim 了)。 在更新neovim 插件时(`:PlugUpdate` ) 遇到了以下错误: ```shell x vim-startify: fatal: unable to access 'https://github.com/mhinz/vim-startify.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated. ...
  • Published on
    这个消息其实很早Google就放出了。 早在1月25号左右,Fedora打包的Chromium就已经移除了账号同步功能。 [Fedora's Chromium maintainer suggests switching to Firefox as Google yanks features in favour of Chrome](https://www.theregister.com/2021/01/25/use_firefox_fedora_chromium_maintainer/) > 'They're not closing a security hole, they're just requiring that everyone use Chrome' ...
  • Published on
    ## 更新 2021-06-30 更新: 项目名称现在更改为 [vaultwarden](https://github.com/dani-garcia/vaultwarden) 了, 详情见 https://github.com/dani-garcia/vaultwarden/discussions/1642 ## 缘由 1password太贵, 关键是这类软件好像以前还有数据泄露事例。 在此之前老灯用的是[Firefox Lockwise](https://www.mozilla.org/en-US/firefox/lockwise/) , 只能说基本上够用吧。管理密码功能在Firefox上操作。其实就是Firefox本身的功能。 Lockwise app 只是协助在手机端给你自动填充密码。 ...