Git Remove Submodules
- Remove the submodule entry from
.git/config
git submodule deinit -f path/to/submodule
- Remove the submodule directory from the superproject’s
.git/modules
directory
rm -rf .git/modules/path/to/submodule
- Remove the entry in
.gitmodules
and remove the submodule directory located atpath/to/submodule
git rm -f path/to/submodule
Long Time to Update
There is a long long time for me to write blog post, TOO busy in 2021. Wish everything goes well in this year. Fight~!
Move To Hugo
在经历了使用wp
繁琐,修改麻烦,维护麻烦,性能消耗太高等等各种毛病,以及尝试了hexo
等之前的一些静态站点生成工具后,本次总算找到了适合我自己个人口味的静态资源站点生成工具:hugo
,有几个优点:
- 使用
golang
:至少我也曾经学习过,上手容易,不需要装nodejs - 项目目录结构清晰,维护方便
- 撰写文章目录结构定义方便灵活,可以按照自己的需求自行定制
- 模块化管理很方便
- …(更多优点还在发掘中)
compile openwrt/lede under ubuntu 20.04 env
Preparation
- Install ubuntu 20.04
- Install dependencies
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext \
git libncurses5-dev libz-dev patch python3.5 unzip zlib1g-dev lib32gcc1 \
libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip \
p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils \
upx libelf-dev autoconf automake libtool autopoint device-tree-compiler \
g++-multilib antlr3 gperf ccache mercurial
download src
git clone https://github.com/coolsnowwolf/lede
make some feed change
vim feeds.conf.default
enable what you want
A new self customize material style theme: i4o.xyz applied
Since there is little material style themes based on Google Official Material libs, And I decided to design a new material theme named: i4o.xyz which is based on Google Official Material Libs. And finally this is the first show in my blog. You can try the design by yourself. The main framework of my blog is materialized, but it still have some buggy or missing parts.
Robot learning Note(1) – Basic
As we all known that robotic and automation industries will become more and more popular in the future, and I’m working at robotic industry. So from now on, I’ll write a series of my learning notes about robot and I’m eager to discuss with my friends.
Recently, when I installed centos 8 with the latest docker and containerd.io installed in my server. I found that the default configuration for firewalld blocked all docker container internet connection. And I also tried to install ubuntu 20.04 LTS server with ufw, it still couldn't be right configured. So I went back to CentOS 8 again.
After tried these for a few days, I figured out how to fixed this.
Environment details
OS: CentOS 8.1
Docker version: 19.03.8, build afacb8b
docker-compose version: 1.25.5, build 8a1c60f6
HOW-TO
- Enable ipv4 forward
sudo vim /etc/sysctl.conf
Add the following line in this file
第一次制作了一个wp的主题,还不赖
RT,一直想自制一个主题,今天花了点时间研究了下,制作了这个简单的**“i4o.xyz”**极简的主题
仅有唯一的一个依赖:
fontawesome
自己用软件配色,效果还行: