代码拉取完成,页面将自动刷新
同步操作将从 kongkong/monitor-http-server 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/usr/bin/env bash
# DESCRIPTION
# Define some variables and function to help format output
#
# USAGE
# 1. (optionnal) set the path to the stylerc :
# export STYLERC="$HOME/path/to/stylerc"
# 2. include style to your script :
# source "$STYLERC" # include style
_underline_="$(tput sgr 0 1)" # Underline
_bold_="$(tput bold)" # Bold
_reset_="$(tput sgr0)" # Reset
_info_="$(tput setaf 6)" # blue/information
_warning_="$(tput setaf 3)" # yellow/warning
_error_="${_bold_}$(tput setaf 1)" # red/error
_value_="$(tput setaf 7)" # value/white
_valid_="$(tput setaf 2)" # valid/green
# style text as underline
function _underline() {
printf "${_underline_}%s${_reset_}" "$1"
}
# style text as bold
function _bold() {
printf "${_bold_}%s${_reset_}" "$1"
}
# style text as info
function _info() {
printf "${_info_}%s${_reset_}" "$1"
}
# style text as warning
function _warning() {
printf "${_warning_}%s${_reset_}" "$1"
}
# style text as error
function _error() {
printf "${_error_}%s${_reset_}" "$1"
}
# style text as value
function _value() {
printf "${_value_}%s${_reset_}" "$1"
}
# style text as valid
function _valid() {
printf "${_valid_}%s${_reset_}" "$1"
}
_i="$(_info "[i]")"
_w="$(_warning "[×]")"
_e="$(_error "[!]")"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。