使用Radicale建立你的私有日历和联系人同步服务器

换手机了,发现新手机完全不能兼容google play,看log是少一个权限无法申请。不知道是不是google单方面ban了华为,或者华为单方面ban了google。不管怎么样我想要同步我的google账号上的日历和联系人是不可能了。 就在我导出google日历和联系人的时候,我又开始在想那个问题了:数据不在自己的手上,有一天可能就找不回来了。能不能自己搭建一个私有云呢?说到私有云我立刻想到了Nextcloud,但是看到Nextcloud的各种php、数据库还有http服务器依赖之后我觉得太麻烦了——我的需求是日历同步,Nextcloud一套上来过于复杂了,而且不够轻量。 于是我找到了Radicale这个开始于学校作业的项目。这个项目基本上可以在任何能运行Python的地方运行。它支持的CalDAV协议。这种协议的客户端的话,PC上的邮件和日历app基本都支持这个协议,我用的是thunderbird。手机上的话,貌似华为不能直接支持这种协议,得装个DAVx5。 ...

2020年2月24日 · 3 分钟 · 1059 字 · Thomas Xu

Wired and Wireless connections on the same Windows machine

如果一台装了Windows 7或者Windows 10机器同时连接着有线网和无线网,它会使用哪个接口去访问互联网呢? 如果只是想知道系统的路由,那么使用route print就可以了。但是如果想要强行设置从哪个接口出去呢?这时候可以通过调整**自动跃点计数(Automatic metric)**来实现。

2019年11月16日 · 1 分钟 · 147 字 · Thomas Xu

解决Linux关机时音响会发出巨响的问题

如果你上网搜“linux pop sound on shutdown”会发现许多发行版都存在这个问题。我这边的发行版是Fedora,机器是惠普的暗影精灵第一代。 我试了一下,关机或者重启前用将系统静音并不能解决问题,仍然会听到“砰”一声响。 ...

2019年6月5日 · 1 分钟 · 280 字 · Thomas Xu

Installing nvidia driver on Fedora 29

Forewords Installing the nvidia driver on Fedora has been a painful experience for me. If I don’t get it wrong, I have been trying since F26! I will not touch on bumblebee. I will instead use nvidia-xrun to utilize the driver. This article serves as a reminder for myself on what did I do to make things work for my Intel/nvidia hybrid laptop. It might hopefully help other people as well. ...

2019年2月3日 · 2 分钟 · 522 字 · Thomas Xu

Notes on setting up a Raspberry Pi as an NAT mode IPv4/IPv6 dual stack wireless access point

The offical document turns out to be a good example of setting up an NAT mode IPv4 only wireless access point. In this post, I will extend the official doc a little bit, by adding the IPv6 stack to the RPi AP. I will also touch on a few lines about enabling 802.11n in hostapd. ...

2018年3月20日 · 2 分钟 · 731 字 · Thomas Xu