cookie

We use cookies to improve your browsing experience. By clicking «Accept all», you agree to the use of cookies.

avatar

KANIKIG技术窝💻

个人向 存放或转发感兴趣的内容

Show more
Advertising posts
354
Subscribers
No data24 hours
+47 days
+630 days

Data loading in progress...

Subscriber growth rate

Data loading in progress...

Show all...
Colin Wu (@WutalkWu) on X

抖音上看到一个穷人不可能三角 问:如何看待全面取消限购,也不再审核购房资格? 答:记住了,普通人、不排队、有好处,这三者,无法同时成立。

黑暗的角落不配你高傲的怜悯 最近说唱歌手“河南说唱之神”的新作品《工厂》火了,很多人给予了很高的评价,进而引发了许多人开始了对所谓山河四省的各种内疚与反省,带来了许多关于苦痛生活的共情。 其实我很早就知道“河南说唱之神”这个人了,最早他叫 Greyll 的时候我还不清楚,但从《我裂开了》这首歌开始,我就知道他了。我还购买了他最早的那张地下发行的 EP《说唱之神在哭泣》(亦或者又叫《NEW WAVE》),这张碟子现在应该是绝版了,闲鱼上还是挺值钱的。 后续他的各种专辑我也都有买,我唯一的遗憾是那张《答应我会幸福》的专辑我买不到,而后来什么《哥们废了》我也买了,发货地点还是郑州金水区黄河路,距离我居然很近。 [...] via Plum's Blog (author: plum)
Show all...
该往前了 前往:https://innei.in/notes/170 via 静かな森 (author: Innei)
Show all...
网页转换为chrome插件 chrome有一个特别棒的功能,叫做扩展程序,我们可以使用他来辅助我们浏览网页。 不过,别人的扩展程序用得多了,难免会想要整一个自己的扩展程序。 这里记录一下如何快速的将一个html 项目转换为扩展程序。 (除了传统的网页外,也执行现在流行vue或uniapp或taro等打包出来的html5的网页) via kekxv 技术博客
Show all...
自动部署 Hexo 到 Github Pages 之前在 通过 GitHub Actions 自动部署 Hexo,通过创建两个不同的分支,raw 分支存储原始的 Hexo 项目,master 分支存储 hexo generate 编译出来的静态页面,通过 hexo deploy 来部署。由于使用了 hexo deploy 需要设置部署用的 SSH 密钥。 下面的办法更简单,不需要做额外的设置,Hexo 项目在 main 分支,不需要再添加其他分支。
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
name: Hexo deploy

on:
  push:
    branches:
      - raw
      - main

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
      - name: Use Node.js (.tool-versions)
        uses: actions/setup-node@v4
        with:
          node-version-file: ".tool-versions"
      - uses: pnpm/action-setup@v3
        name: Install pnpm
        with:
          version: 8
          run_install: false
      - name: Get pnpm store directory
        shell: bash
        run: |
          echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
      - uses: actions/cache@v4
        name: Setup pnpm cache
        with:
          path: ${{ env.STORE_PATH }}
          key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
          restore-keys: |
            ${{ runner.os }}-pnpm-store-
      - name: Install Dependencies
        run: pnpm install
      - name: Build
        run: pnpm run build
      - name: Upload Pages artifact
        uses: actions/upload-pages-artifact@v3
        with:
          path: ./public
  deploy:
    needs: build
    permissions:
      pages: write
      id-token: write
    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}
    runs-on: ubuntu-latest
    steps:
      - name: Deploy to GitHub Pages
        id: deployment
        uses: actions/deploy-pages@v4

---EOF--- via 机械境
Show all...
ohmyzsh 安装自定义插件和主题 在折腾过 antigenantidotesheldon 等 Zsh 的包管理器之后,我发现我主要使用的还是 oh-my-zsh。那就回归本源,再加上现在 oh-my-zsh 也可以自定义 Plugin。
1
2
3
4
5
6
7
8
9
# install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# install oh-my-zsh custom plugins
git clone --depth=1 https://github.com/zsh-users/zsh-autosuggestions  $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone --depth=1 https://github.com/zsh-users/zsh-completions $ZSH_CUSTOM/plugins/zsh-completions
git clone --depth=1 https://github.com/zsh-users/zsh-syntax-highlighting $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
# install spaceship
git clone --depth=1 https://github.com/spaceship-prompt/spaceship-prompt.git $ZSH_CUSTOM/themes/spaceship-prompt
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
.zshrc 中 通过 plugins 配置需要启用的插件。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export ZSH="$HOME/.oh-my-zsh"
DISABLE_MAGIC_FUNCTIONS=true
ZSH_THEME="spaceship"
plugins=(
    command-not-found
    common-aliases
    docker
    git
    bun
    npm
    yarn
    kubectl
    asdf
    thefuck
    zsh-autosuggestions
    zsh-syntax-highlighting
    zsh-completions
)
source $ZSH/oh-my-zsh.sh
---EOF--- via 机械境
Show all...