1.标题一级目录:#### 二级目录:##### 次级目录:###### 1.2 列表无序列表:- 2.同步
常用软件安装 输入法 Hugo final_push.sh hugo_head.sh posts posts-new Rime 下载工具: Hugo final_push.sh hugo_head.sh posts posts-new Motrix 文件分享: Hugo final_push.sh hugo_head.sh posts posts-new LocalSend 文件编辑: Hugo final_push.sh hugo_head.sh posts posts-new Obsidian Hugo final_push.sh hugo_head.sh posts posts-new Emacs Hugo final_push.sh hugo_head.sh posts posts-new Sublime Text 3 其他 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 brew tap railwaycat/emacsmacport brew install --cask emacs-mac git clone --depth 1 https://github.com/condy0919/.emacs.d ~/.emacs.d brew install cmake rg # install oh my zsh sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" brew install eza cd ~/.oh-my-zsh/custom/plugins/ git clone https://github.com/zsh-users/zsh-autosuggestions vi ~/.zshrc>) # quicklook brew install qlcolorcode qlstephen qlmarkdown quicklook-json qlimagesize suspicious-package apparency quicklookase qlvideo brew install --cask qlstephen 效率类:uTools 安装器:
写本篇是为了更好的统计我现阶段所使用的东西,根据生活中使用频率来进行断舍离。 电子产品 数码类 ⭐⭐⭐ Apple MacBook Air M1 2020 ⭐⭐⭐ Lenovo Yoga 13s AMD ⭐⭐⭐ iPad Pro 2020 11 ⭐⭐⭐ iPhone 11 ⭐⭐⭐ iPods air 2 ⭐⭐⭐ Switch 续航版 ⭐⭐ 铁三角 ATH-WS660bt ⭐⭐ Sony xm4 ⭐⭐ 山灵 M3X 墨水屏 ⭐⭐⭐ Kindle Voyage ⭐⭐⭐ Kindle PW 5 ⭐⭐ 海信 A7 ⭐ 海信 Touch ⭐ Kindle PW 4 ⭐ iReader Smart 2 大件类(非便携类) ⭐⭐⭐ NBox ⭐⭐⭐ 电犀牛
一、前期工作 1 2 3 4 5 6 7 8 9 adduser hugo passwd hugo su hugo cd ~ mkdir hugo.git cd hugo.git git --bare init touch hooks/post-receive mkdir /data/www/hugo 添加下面的代码到 hooks/post-receive : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 #!/bin/bash echo "Post-receive hook executed." # 设置主仓库和 Hugo 站点路径 MAIN_REPO=$HOME/hugo.git TMP_HUGO=$HOME/hugo_site PUBLIC_WWW=/data/www/hugo HUGO_DOUBAN=$TMP_HUGO/data/douban MOD_DOUBAN=$HOME/hugo_mod/douban MOD_THEME=$HOME/hugo_mod/hugo-PaperMod # 设置 Hugo 主题路径(假设主题是作为子模块) THEME_DIR=$TMP_HUGO/themes/ # 克隆或更新主仓库 git clone -b main $MAIN_REPO $TMP_HUGO || (cd $TMP_HUGO && git pull) #更新Theme echo "update theme" cp
1.硬件要求 双核CPU 16G RAM附件 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 <!--ID: 1694280023971--> #!/usr/bin/env bash OS= v1=$1 v2=$2 v3=$3 v4=$4 pwd=$(pwd) _os(){ case
一.前期准备工作下载安装镜像 install-amd64-minimal download 刻录镜像到U盘(我用的是rufus):rufus download 注意选择GPT格式,然后刻录,ISO模式或者DD模式都可以,建议用ISO模式 1 2 3 ls /sys/firmware/efi/efivars #测试是否是UEFI模式启动 net-setup #连接无线网络 有线网络忽略 ping -c 3 www.baidu.com #测试网络 二.硬盘分区 1 bash fdsik /dev/sdb #详请参考fdsik手册 使用lvm文