摘要:
背景, 在一台电脑上创建的app 提交到gitee. 在另外一台电脑上clone下来, 然后就遇到了gradle sync failed: unknown reason问题. 为此折腾了近一天. baidu google很多都是如下处理流程: 1. invalidate caches and res 阅读全文
摘要:
阴阳,是对茶的初步归类,阳分太阳、阳明、少阳;阴分太阴、厥阴、少阴。传统哲学讲究“天、地、人三才之气”,结合这三才之气对阴阳造成的影响,得天气者,为太阳和太阴;得人气者,为阳明和厥阴;得地气者,为少阳和少阴,李辉教授表示,茶从生长到被采摘以及加工制作,都会受到“天、地、人三之气”的影响。在此理论下, 阅读全文
摘要:
1. On linux system nvm uses curl to download files if it exists, or wget. So we can configure proxy for them. e.g. for curl, create a .curlrc file in 阅读全文
摘要:
https://anmagpie.medium.com/secure-your-local-development-server-with-https-next-js-81ac6b8b3d68 Create certificate Creating a certificate for localho 阅读全文
摘要:
一、server端配置rsync 并以daem的方式运行rsync. server 端的配置文件为/etc/rsyncd.conf: uid=alun gid=alun pid file=/var/run/rsyncd.pid log file=/var/log/rsyncd.log secrets 阅读全文
摘要:
Download the extension pack that matches your VirtualBox release. Open the VirtualBox GUI. Click File | Preferences. Go to the Extensions section. Cli 阅读全文
摘要:
C/C++中常用char a[0]来定义一个占位符,用以指示一个内存地址。例如,柔性数组的定义: struct Array{ int len; int data[0]; } 结构体Array用来标识一个数组,len为其长度,数据存在data中。因为数组的长度是动态的,所以经常在程序中动态分配数组的内 阅读全文
摘要:
prevent printk to screenecho 2 > /proc/sys/kernel/printk or echo 3 > /proc/sys/kernel/printk 阅读全文
摘要:
同一个程序中,可以同时使用C和C++编写代码,而且可以相互调用。 1. C++中调用C代码 这是最常用的情景,只需要在C++中用extern "C"包含C头文件即可。例如: extern "C“{ #include "stdio.h" } 2. C调用C++代码 在C++中extern ”C“ 的含 阅读全文
摘要:
frame counts only misaligned frames, it means frames with a length not divisible by 8. Because of that length is not a valid frame and it is simply di 阅读全文