This commit is contained in:
陆柯 2023-10-04 21:14:21 +08:00
parent 9cb351bca1
commit 04a71a3e5e
3 changed files with 3 additions and 89 deletions

88
.gitignore vendored
View File

@ -1,88 +0,0 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
### 目录 #################################################################
# 通用
.svn/
.deploy_git/
.idea/
.sass-cache/
/test/unit/coverage/
/test/e2e/reports/
node_modules/
*.apk
*.min.js
*.min.css
*.min.html
*.iml
*.njsproj
*.ntvs*
*.sw*
*.sln
*.suo
.gitattributes
.umi
.umi-production
npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn.lock
selenium-debug.log
Thumbs.db
thumbs.db
_desktop.ini
# vue-cli 项目
/dist/
# 来自 vue-cli 创建项目的 .gitignore
.project
# hexo
/public/
# Hardhat
/artifacts/
/cache/
# seafile 临时文件
._*
.$*
# office 暂存文件
~$*
# 用户shell配置脚本
.bashrc_custom
# 苹果系统临时文件
.DS_Store
# 安卓缓存文件夹
.thumbnails
# local env files
.env.local
.env.*.local
# hexo
/db.json
# wo
*.gitignore.*
# 服务端
/_archive/*
/_datastore/*
/_filestore/*
/_logstore/*
/_webroot/*
/_ssl/*
# uniapp 客户端
/unpackage/*
!/unpackage/res/
package-lock.json
pages4loader.json5
# 保留
!.gitkeep

View File

@ -39,7 +39,7 @@ page_index=0
while true; do
page_index=$((page_index+1))
results=`curl -L -s "https://registry.hub.docker.com/v2/repositories/$OWNER/$IMAGE/tags?page=$page_index&page_size=$page_size" | jq -r 'select(.results != null) | .results[]["name"]'`
if [ "$results" == "" ]
if [[ $? != 0 || "$results" == "" ]]
then
break
fi

View File

@ -51,6 +51,8 @@ alias emacst='emacs -nw'
alias myip='ifconfig | grep netmask'
alias rclone='rclone -P'
# Set aliases
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'