Category: CS
-
Kubernetes bare metal install script
Read This Post: Kubernetes bare metal install scriptInstall Kubernetes + flannel on bare metal (or VM). The script only supports debian and ubuntu. It’s pretty easy though to use other package managers to install packages. Notice: If you set variant to master, this script will untaint master node / control-plane to allow deployment on the master node. If you don’t want this…
-
piWeather: Turn your Raspberry Pi into a weather kiosk
Read This Post: piWeather: Turn your Raspberry Pi into a weather kiosk“What can I do with my old Raspberry Pi 3B+?” If you get the same question, then you might have already viewed many cool projects written specifically for Raspberry Pi. Although the device is pretty old with just 1G RAM, it must still have some value waiting to be exploited. How about a weather kiosk?…
-
Linux automatic backup script using rsync and tar
Read This Post: Linux automatic backup script using rsync and tarThis script can automatically backup the remote server using rsync. It will detect the space left on the server and delete old backup tar(s) if the free space remaining is smaller than 50G. Also, the script compresses the backup for two days ago at the beginning and saves them into tar.gz, in order to save…
-
The ways to download blob link videos (HLS)
Read This Post: The ways to download blob link videos (HLS)Option 1 , recommended: What we need: Chrome extension “Stream Recorder” Check this page to get the extension: https://www.hlsloader.com/ Option 2, use youtube-dl: What we need: Chrome extension “HLS downloader” + youtube-dl Example: The extension can easily filter out the .m3u8 link: Then use youtube-dl with the command to download the file as mp4.
-
Oh My Zsh + iTerm2 + Vim: Configuration and Custom Theme
Read This Post: Oh My Zsh + iTerm2 + Vim: Configuration and Custom ThemeFirstly you should install Oh My Zsh to enable the custom theme for your terminal. Then, change the theme to “agnoster” (see details on https://github.com/agnoster/agnoster-zsh-theme). In order to enable a theme, set ZSH_THEME to the name of the theme in your ~/.zshrc, before sourcing Oh My Zsh; for example: ZSH_THEME=”agnoster” If you do not want…