Skip to content

Instantly share code, notes, and snippets.

View zoonderkins's full-sized avatar
🏠
Working 👍

Quack~ zoonderkins

🏠
Working 👍
View GitHub Profile
@zoonderkins
zoonderkins / mount-data-with-rclone-hetnzer-storagebox.md
Last active March 5, 2022 08:04
Mount data with rclone hetnzer storage box

mkdir /mnt/de1-storage

Rsync daemon mount on system boot

nano /etc/rc.local
@zoonderkins
zoonderkins / several-sync-backup-method-debian.md
Created March 5, 2022 04:47
several method backup or sync between server

Rsync method

backup-server --> rsync + ssh --> source server
rsync -avzh --progress -e "ssh -p 2222 -i /root/ssh_cert/id_ed25519" -r [email protected]:/nextcloud/ ./
@zoonderkins
zoonderkins / speedtest-cli-on-mac.md
Created February 22, 2022 07:31
speedtest-cli-on-mac.md
@zoonderkins
zoonderkins / brook-vpn-socks-from-china-to-internet.md
Last active March 18, 2022 04:13
Brook VPN + Socks from China through Internet
@zoonderkins
zoonderkins / disable-ubuntu-screen-lock-and-black-screen.md
Created December 29, 2021 19:44
Turn off Ubuntu screen lock and black screen

Method

sudo -s

gsettings set org.gnome.desktop.session idle-delay 0
gsettings set org.gnome.desktop.screensaver lock-enabled false

@zoonderkins
zoonderkins / rc-local-on-ubuntu.md
Last active June 2, 2022 06:12
rc-local on ubuntu

Install rc-local on Ubuntu

sudo nano /etc/rc.local

#!/bin/sh -e

rm /etc/resolv.conf
@zoonderkins
zoonderkins / linux-install-btop.md
Last active December 29, 2021 16:01
Linux install btop

Linux install btop

rm -rf ./btop

mkdir ./btop
cd btop

wget https://github.com/aristocratos/btop/releases/download/v1.1.4/btop-x86_64-linux-musl.tbz
@zoonderkins
zoonderkins / ubuntu-apt-sources-list.md
Created December 23, 2021 05:47
Ubuntu Apt sources

Ubuntu apt sources list

Impish Indri

deb http://archive.ubuntu.com/ubuntu/ impish main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ impish main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ impish-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ impish-updates main restricted universe multiverse
@zoonderkins
zoonderkins / mac-install-nerd-font.md
Last active June 13, 2023 10:07
Mac install Nerd Font

Mac install Nerd Font (Fire code)

brew cask
brew tap homebrew/cask-fonts 
brew install font-fira-code
brew install font-Fira-Code-nerd-font
brew install font-hack-nerd-font
@zoonderkins
zoonderkins / fix-neovim-libvterm-error-on-mac.md
Created December 20, 2021 02:48
Fix NeoVIM libvterm error on Mac

How to trigger

# Install HEAD version of neovim
brew install --HEAD luajit
brew install --HEAD neovim

Error code