This file contains hidden or 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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#29315A", | |
"foreground": "#45F1C2", | |
"leading_diamond": "\ue0b6", |
This file contains hidden or 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
/* ----- 全局 ----- */ | |
::-webkit-scrollbar-thumb { | |
background-color: #5c5c5c !important; | |
} | |
/* 配色修改 */ | |
.icalingua-theme-holder { | |
--panel-header-bg: #292a2d !important; /* 顶栏 */ | |
--panel-background: #292a2d !important; /* 背景 */ | |
--panel-item-bg: #393b40 !important; /* 激活会话 */ | |
--panel-item-bg-hover: #333538 !important; /* hover高亮会话 */ |
This file contains hidden or 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
_prompt_basher_pwd() { | |
local git_root current_dir | |
if git_root=$(command git rev-parse --show-toplevel 2>/dev/null); then | |
# git_root=$(cygpath -u "$git_root") # 将 Windows 风格的路径转换为 Unix 风格的路径 | |
current_dir="${PWD#${git_root:h}/}" | |
else | |
current_dir=${(%):-%3~} | |
fi | |
print -n "%F{blue} ${current_dir}%b" | |
} |
This file contains hidden or 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 prts.wiki 剧情优化 | |
// @namespace Violentmonkey Scripts | |
// @match https://prts.wiki/w/* | |
// @grant none | |
// @version 1.1 | |
// @author CWorld | |
// @description PRTS theater mode provement | |
// ==/UserScript== |
This file contains hidden or 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 off | |
:: Display a simple logo | |
echo. | |
echo ================================ | |
echo Hash Calculator | |
echo ================================ | |
echo. | |
:loop | |
:: Check if a file path is provided as an argument |
This file contains hidden or 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
interface Config { | |
private_api_url: string | |
page_turning_number: number | |
error_img: string | |
} | |
interface Article { | |
title: string | |
link: string | URL | |
avatar: string |
This file contains hidden or 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 off | |
setlocal enabledelayedexpansion | |
set directory=MaaResource | |
REM Start MAA application | |
start ./MAA.exe | |
REM Check if .git directory exists | |
if not exist .git ( | |
echo Cloning repository... |