黑苹果未完善问题点
前置耳机无声音 https://github.com/acidanthera/AppleALC/blob/master/README_CN.md 型号为alc222 alcid=11
前置耳机无声音 https://github.com/acidanthera/AppleALC/blob/master/README_CN.md 型号为alc222 alcid=11
安装 我喜欢安装直接下载下来,放在bin目录下,所以在 git 的release下载对应的版本 检查安装hugo version查看是否已经安装成功 一般执行的时候,会出现告警,只要进入系统偏好设置->安全性与隐私->通用中仍然允许后,再执行一次就可以了 使用 现在自己的目录(按照自己的习惯,我习惯~/Workspaces/WebRoot)下,执行hugo new site xxx 找到自己喜欢的皮肤,个人喜欢 even 皮肤,该皮肤从hexo-theme-even移植而来,个人感觉还不错。到新建的项目下,进入 themes 目录,执行 git clone https://github.com/olOwOlo/hugo-theme-even.git even 把exampleSite下的config.toml复制到xxx项目下,并根据自己的方式进行修改 在 xxx->content 目录下,克隆你要维护的blog的markdown文档,文件夹名字命名为 post ,因为该theme使用的是post,而不是posts 在xxx 目录夹运行hugo -D,建议先删除下public目录下的内容 命令如下 cd ~/Workspaces/WebRoot hugo new site xxx cd themes git clone https://github.com/olOwOlo/hugo-theme-even.git even cd ../ mv config.toml default.config.toml cp themes/even/exampleSite/config.toml ./ # 修改自己的信息 vi config.toml cd content # clone 你blog的markdown地址 git clone xxx post cd .. rm -rf public/* hugo -D web搭建 刚才我们安装的路径是 ~/Workspaces/WebRoot/xxx 而hugo生成的具体内容为~/Workspaces/WebRoot/xxx/public/ 下,所以我们需要对nginx配置地址为相应的地址...
问题 由于国内访问Github受限,经常是无法访问,所以就通过Gitee来代理,如何同步成为一个问题,网上主要有两种方案: 通过项目关联,同时push到Github和Gitee 通过Github的workflow进行同步 尝试 关联同时push 参考地址:https://cloud.tencent.com/developer/article/1649682 workflow 参考地址:https://juejin.cn/post/6894928345830522887 Gitee服务 参考地址:https://gitee.com/help/articles/4336#article-header2
环境 nodejs nodejs目前的版本比较高,如果直接使用14版本,会存在gitbook安装失败,最好使用12版本 yum install nodejs # 检查是否安装成功 node -v 安装 npm install -g gitbook-cli # 检查是否安装成功 gitbook --version # 出现错误 `cb.apply is not a function`,修复方法,详见`https://mizeri.github.io/2021/04/24/gitbook-cbapply-not-a-function/` # 修改`/usr/local/lib/node_modules/gitbook-cli/node_modules/npm/node_modules/graceful-fs/polyfills.js`文件的65行起3行,具体内容如下 // fs.stat = statFix(fs.stat) // fs.fstat = statFix(fs.fstat) // fs.lstat = statFix(fs.lstat) 生成book 如何 html gitbook build ./Thief ./ThiefTarget/ 配置nginx server { listen 80; listen [::]:80; listen 81 http2; server_name gitbook.micah.wiki; root /xxx; location / { } location = /robots.txt {} } server { listen 443 ssl; server_name gitbook....
1.邮箱无法删除 菜单选择:邮箱 -> 重建 2. Your have Mail 找到/var/mail,如果里面有内容。 使用 mail 查看具体内容或使用 rm /var/mail/$USER 进行删除 3. locale问题 远程登录时 LC_CTYPE: cannot change locale (UTF-8) 在.zshrc中添加以下命令 export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 4. image2icon mac上的图标不是新版本,看上去很不顺眼,可以使用该软件,生成icns后,然后使用“查看简介”,直接拖动到左上角的图标上 xclient