Git via HTTPS

It’s always frustrating to use Git because of some wall. I recently read a blog from manateelazycat, he suggests a way to use Git via HTTPS, just need to edit ~/.ssh/config and add the following config in it Host github.com Hostname ssh.github.com Port 443 User git Test it ❯ ssh -T git@github.com Hi <USERNAME>! You've successfully authenticated, but GitHub does not provide shell access. Git via HTTPS

July 18, 2023 · 1 min · hengist

name conflict multiple libs

Here is the Question /*A.c*/ #include <stdio.h> int sayHi() { printf("Hi, this is AAAAA\n"); return 0; } int sayOut() { sayHi(); printf("Use this to introduce AAAAA\n"); return 0; } /*B.c*/ #include <stdio.h> int sayHi() { printf("Hi, this is BBBBB\n"); return 0; } int sayOut() { sayHi(); printf("Use this to introduce BBBBB\n"); return 0; } #include <stdio.h> extern int sayOut(); int main() { sayOut(); return 0; } # if link A first >gcc test....

July 6, 2023 · 3 min · hengist

Zlib is still alive

as far as we know, zlib was forced to shut down by the USA government. However, it still remains available on the dark web, we can visit it through the tor-browser, and its address is posted on the Wikipedia, Here is the address: loginzlib​2vrak5zzpcocc3ouizykn6k5qecgj2tzlnab5wcbqhembyd.onion

July 6, 2023 · 1 min · hengist

Build IDE with emacs

I am not recommended to build from scratch, there are several community driven configuration framework, like Doom Emacs Spacemacs… etc. I am highly recommend to use Doom Emacs, it’s very easy to install, just follow it’s Getting Started Guide After install it, open it and type spc+f+p to open config file, int the init.el ,we can Remove comments to enable some feature(make sure to execute doom sync to install the feature), like cc, python, and so many tools that can help us to do many things....

July 5, 2023 · 1 min · hengist

Advantages using Gentoo

After using several Linux distributions, it hard for me to find one suit me well, I have been using openSUSE TW for about two years, it is an excellent system, help me and take care of all the miscellaneous. But when I started getting involved with Linux Kernel, I would like to try some interesting features like the musl libc and no-multilib system, and it is easy to customize my own system from kernel to software....

July 4, 2023 · 1 min · hengist