Skip to content

Instantly share code, notes, and snippets.

View DoveBoy's full-sized avatar

DoveBoy

  • China
  • 16:43 (UTC +08:00)
View GitHub Profile
@DoveBoy
DoveBoy / USER_AGENTS.js
Last active December 22, 2023 09:31
backup
const USER_AGENTS = []
/**
* 生成随机数字
* @param {number} min 最小值(包含)
* @param {number} max 最大值(不包含)
*/
function randomNumber(min = 0, max = 100) {
return Math.min(Math.floor(min + Math.random() * (max - min)), max);
}
{
"homepage": "https://www.charlesproxy.com/",
"description": "An HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet.",
"version": "4.6.2",
"license": "Proprietary",
"architecture": {
"64bit": {
"url": "https://www.charlesproxy.com/assets/release/4.6.2/charles-proxy-4.6.2-win64.msi",
"hash": "02117AC301EDBD8A91AC0126C0709DCB3ABD88A2F753CF4A369F4AE5950F4BAF"
}
<#
* FileName: Microsoft.PowerShell_profile.ps1 / PowerShell configuration file.
* Author: 刘 鹏
* Email: [email protected]
* Created Date: 2021, Aug. 21
* Updated Date: 2022, Jun. 5
* Copyright: No copyright. You can use this code for anything with no warranty.
#>
@DoveBoy
DoveBoy / .vimrc
Created July 21, 2022 07:51 — forked from LittleNewton/.vimrc
Vim 配置文件
"
" Description: Personal Vim .vimrc configuration file
" Author: 刘鹏
" Date: 2021, Oct. 9
" Corresponding: [email protected]
"
@DoveBoy
DoveBoy / .. MediaCreationTool.bat ..md
Created October 6, 2022 02:38 — forked from AveYo/.. MediaCreationTool.bat ..md
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@DoveBoy
DoveBoy / fix-google-translate-cn.bat
Created October 24, 2022 05:38 — forked from bookfere/fix-google-translate-cn.bat
Fix Google Translate CN for Windows
:: Copyright (c)2022 https://bookfere.com
:: This is a batch script for fixing Google Translate and making it available
:: in the Chinese mainland. If you experience any problem, visit the page below:
:: https://bookfere.com/post/1020.html
@echo off
setlocal enabledelayedexpansion
chcp 437 >NUL
set "source_domain=google.cn"
@DoveBoy
DoveBoy / build4123.sublime4.key
Created August 2, 2023 05:20 — forked from skoqaq/build4123.sublime4.key
Sublime Text 4 License Key
—– BEGIN LICENSE —–
Mifeng User
Single User License
EA7E-1184812
C0DAA9CD 6BE825B5 FF935692 1750523A
EDF59D3F A3BD6C96 F8D33866 3F1CCCEA
1C25BE4D 25B1C4CC 5110C20E 5246CC42
D232C83B C99CCC42 0E32890C B6CBF018
B1D4C178 2F9DDB16 ABAA74E5 95304BEF
9D0CCFA9 8AF8F8E2 1E0A955E 4771A576