This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "开始进行步骤1:安装 PostgreSQL 16..." | |
# 更新包列表并安装基本依赖 | |
sudo apt update -y | |
sudo apt install -y wget gnupg2 | |
# 添加 PostgreSQL 仓库 | |
wget -qO - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | |
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name 农大叛逆份子 | |
// @description CAU入党积极分子 | |
// @author sanbei101 | |
// @match http://202.205.91.77:8090/* | |
// @match http://ncst.dangqipiaopiao.com/jjfz/* | |
// @match http://ncst.dangqipiaopiao.com/exam/* | |
// @grant unsafeWindow | |
// @grant GM_getValue | |
// @grant GM_setValue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "正在克隆Supabase仓库..." | |
git clone --depth 1 https://gitee.com/sanbei101/supabase_docker.git | |
# 进入docker目录 | |
cd supabase_docker | |
# 提示用户输入必要的环境变量 | |
echo "请设置以下环境变量:" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: extract a zip file # 工作流程的名称 | |
on: | |
push: # 当有代码推送时触发 | |
paths: # 触发条件:指定的文件路径 | |
- '**/*.zip' # 当任何文件夹下的 .zip 文件发生变化时触发 | |
workflow_dispatch: # 允许手动触发工作流程 | |
jobs: | |
unzip-and-organize: # 工作流程中的任务名为 unzip-and-organize |