A circle progress bar made with CSS transitions, SVG, and some JS to control the percentage of completion.
Forked from Jon Christensen's Pen SVG Circle Progress.
A Pen by Captain Anonymous on CodePen.
A circle progress bar made with CSS transitions, SVG, and some JS to control the percentage of completion.
Forked from Jon Christensen's Pen SVG Circle Progress.
A Pen by Captain Anonymous on CodePen.
| var trys = 0; | |
| function pageInit(){ | |
| var imgW = 695, | |
| imgH = 1033, | |
| wW = window.innerWidth, | |
| wH = window.innerHeight, | |
| _imgW, _imgH, | |
| picbg = document.getElementById('picbg'), | |
| px2rem = function(px){ | |
| return px/(imgW/10); |
| git config --global http.proxy socks5://127.0.0.1:1080 | |
| git config --global https.proxy socks5://127.0.0.1:1080 | |
| git config --global --unset http.proxy | |
| git config --global --unset https.proxy | |
| #只对github.com | |
| git config --global http.https://git.521000.best.proxy socks5://127.0.0.1:1080 | |
| git config --global --unset http.https://git.521000.best.proxy |
| function FilterContactInfo($str){ // 过滤手机号码、QQ号、邮箱、地址 | |
| $str = preg_replace('/(Q|Q|扣扣|企鹅|扣|联系|手机|电话|号)+[:[:punct:]一二三四五六七八九零壹贰叁肆伍陆柒捌玖\d1234567890①②③⑤]+/i', '', $str); | |
| // 过滤网址、邮箱 | |
| $str = preg_replace('/(网址|邮箱)*[\::]*[a-z]*\@?[a-z\-]+([\.\。][a-z]+)+/i', '', $str); | |
| return $str; | |
| } |
-V, --version output the version number
-d, --dist <dist> Base directory for all source files
-s, --src <src> Pattern used to select which files to publish (default: "**/*")
-b, --branch <branch> Name of the branch you are pushing to (default: "gh-pages")
-e, --dest <dest> Target directory within the destination branch (relative to the root) (default: ".")
-a, --add Only add, and never remove existing files
-x, --silent Do not output the repository url
-m, --message <message> commit message (default: "Updates")
-g, --tag <tag> add tag to commit
| // UOS 或 deepin 打包流程 | |
| // 参考 https://www.vvave.net/archives/how-to-build-a-debian-series-distros-installation-package.html | |
| // sudo apt-get install dh-make | |
| // sudo apt-get install build-essential | |
| const fs = require('fs-extra'); | |
| const path = require('path'); | |
| const { spawn } = require('child_process'); | |
| const globby = require('globby'); |
| import { EventEmitter } from 'events'; | |
| import { | |
| eq as isVersionsEqual, | |
| gt as isVersionGreaterThan, | |
| lt as isVersionLessThan, | |
| parse as parseVersion, | |
| } from 'semver'; | |
| import { safeLoad } from 'js-yaml'; | |
| import { app, shell, net } from 'electron'; | |
| import { Logger } from '../logger'; |