标签为“Linux以及各种捣鼓的笔记”的页面如下
Radicale with Caddy v2
Learn from Linux from Scratch (LFS) (Part 2)
Learn from Linux from Scratch (LFS) (Part 1)
使用Radicale建立你的私有日历和联系人同步服务器
换手机了,发现新手机完全不能兼容google play,看log是少一个权限无法申请。不知道是不是google单方面ban了华为,或者华为单方面ban了google。不管怎么样我想要同步我的google账号上的日历和联系人是不可能了。
就在我导出google日历和联系人的时候,我又开始在想那个问题了:数据不在自己的手上,有一天可能就找不回来了。能不能自己搭建一个私有云呢?说到私有云我立刻想到了Nextcloud,但是看到Nextcloud的各种php、数据库还有http服务器依赖之后我觉得太麻烦了——我的需求是日历同步,Nextcloud一套上来过于复杂了,而且不够轻量。
于是我找到了Radicale这个开始于学校作业的项目。这个项目基本上可以在任何能运行Python的地方运行。它支持的CalDAV协议。这种协议的客户端的话,PC上的邮件和日历app基本都支持这个协议,我用的是thunderbird。手机上的话,貌似华为不能直接支持这种协议,得装个DAVx5。
Wired and Wireless connections on the same Windows machine
解决Linux关机时音响会发出巨响的问题
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.
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.
GNU nano basics| nano编辑器的使用提示
命令行选项
-m
此选项可激活鼠标,按住shift建即可选择文本。对应nanorc的set mouse
-l
显示行号。对应nanorc的set linenumbers
-E
或--tabstospaces
把已有文件中的tab转换为空格。对应nanorc的set tabstospaces
-i
或--autoindent
启动自动缩进。对应nanorc的set autoindent
-A
或--smarthome
启动智能home键。对应nanorc的set smarthome
-$
或--softwrap
开启自动折行。对应nanorc的set softwrap
找回Windows 10右键菜单的“在此打开命令窗口”
在Windows 7以及以前的Windows系统上,我们基本上都是手动往注册表里添加键值实现这一目的的。
HKEY_CLASSES_ROOT\Directory\Background\shell\cmd HKEY_CLASSES_ROOT\Directory\shell\cmd
tracert – The Windows counterpart of traceroute
Linux主机获取校园网的ipv6地址……
这个是迷一样——我在Windows 10上,我的Android手机上,都能获取到global IPv6地址,可是一到我的Fedora Linux就只能获取到fe开头的非global地址……
Windows上通过pip安装Python软件包遭遇“UnicodeDecodeError”的解决
Port forwarding (or proxying) on OpenWRT with socat
在校园网环境中可能会有这种需求:我可以获取到公网IPv6而不能获取到公网IPv4,但是我的应用程序只支持IPv4(比如某些游戏),能否把到达我的公网IPv6的数据转发到内网IPv4(forward IPv6 to IPv4)?
用Lighttpd转发V2Ray的WebSocket连接
在开始阅读之前,你可能会对“用Nginx转发V2Ray的WebSocket连接”感兴趣,所以我先把这个链接附在这里:
https://oing9179.github.io/blog/2017/03/v2ray-as-WebSocket-Proxy-behind-Nginx/
老版极路由1s(HC 5661)刷入OpenWRT记录
(UPDATE Mar-17, 2017) 本文的内容适用于OpenWrt DD分支。但对于最近版本的LEDE(LEDE Reboot 17.01.4)事实上也基本适用。
先贴介绍链接
OpenWRT/LEDE
(旧的)OpenWRT DD
关于创建U盘启动盘的一点思考 | Some considerations when creating bootable flash disks
分区表
U盘在出厂时多半会使用MS-DOS格式的分区表,而不是现代硬盘中常见的GPT。我猜可能是因为需要考虑到兼容性?
分区和文件系统
如果你只用Linux,那么你尽管分区,理论上现代的Linux发行版都能将你U盘上的分区识别出来,无论是通过图形用户界面的自动识别还是通过lsblk然后用mount命令挂载。
但是,如果你还用Windows,并且你希望你创建的可启动U盘同时也能正常地当作一个大容量存储器,分区的时候最好注意以下几点:
- 分区表采用MS-DOS格式;
- 作为普通U盘那样存储数据部分的分区,必须是第一个分区,而且必须是主分区;
- 作为数据存储的这个分区应该使用Windows原生支持的文件系统,而且最好是U盘出厂时使用的文件系统(对于32G以内的U盘,一般来说是FAT32);
- 作为可引导的分区,也就是存放U盘操作系统的分区,应该被设为可启动分区。
ssh connect through sock5 proxy
将v2ray、shadowsocks等设置为局域网中的代理服务器
使用代理服务器上网的时候,不知道大家有没有这样一个困惑:如果整个局域网都需要走代理,能不能只设置某一台机器(设为机器A)连接外网,其他机器连接那台能走外网的机器A呢?
Replacing blueman with blueberry in Fedora 26 Xfce
Maybe the graphical bluetooth management tool blueman is either too complicated or buggy. Anyway, I don’t like it.
在Visual Studio中使用GNU Scientific Library (GSL)
发现一个github仓库实现了这个事情: GNU Scientific Library with CMake build support。
Shadowsocks-rss wiki rescue
These pages are pulled from Google Web cache. Unfortunately these are not everything of the original wiki. If you have the other parts of the wiki that are missing here, don’t hesitate to comment below!
要不要用静态网页呢?
通过直接执行注销代码注销Dr.com的登陆
之所以有这个想法是因为安卓手机上的WebKit似乎不能正常执行注销按钮的javascript响应函数wc()。或者说,点那个注销按钮根本没反应。
极路由 极1s(老版) HC5661 刷入OpenWRT Barrier Breaker 14.07 手记
本文提到的github仓库看起来很久没更新了,许多问题也没有修复,因此**不建议**刷入那个仓库的固件。关于刷入最新版OpenWRT的问题可以看我的这篇文章。
https!
忙了一上午,终于迎来的https!所有http流量都会被重定向到https(除了某些引用站外http的资源没法加密)
Update (2017年6月1日):增加关于配置证书链的内容。