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
| ## 自定义--自动分类app | |
| window_rules: | |
| - commands: ['move --workspace web', 'focus --workspace web'] | |
| match: | |
| - window_process: { regex: "chrome" } | |
| - commands: ['move --workspace music', 'focus --workspace music'] | |
| match: | |
| - window_process: { regex: "cloudmusic" } | |
| - commands: ['move --workspace message', 'focus --workspace message'] | |
| match: |
This file has been truncated, but you can view the full file.
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
| <!DOCTYPE html> | |
| <!-- saved from url=(0056)http://139.196.171.60:5000/uploads/index_1761040989.html --> | |
| <html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>掐指神通</title> | |
| <style> | |
| :root { --bg: #0b1020; --panel: #121a33; --accent: #5b8cff; --text: #e8eefc; --muted: #9bb0da; --danger: #ff6b6b; } | |
| * { box-sizing: border-box; } | |
| html{background-color: #0b1020;} |
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 | |
| :: 设置 FFmpeg 的路径,如果已添加到环境变量则无需修改 | |
| :: 如果未添加到环境变量,请修改为你的 FFmpeg 可执行文件的完整路径,例如: | |
| :: set "FFMPEG_PATH=C:\Program Files\ffmpeg\bin\ffmpeg.exe" | |
| set "FFMPEG_PATH=ffmpeg.exe" | |
| :: 源文件夹 (要压缩的 MP4 文件所在目录) | |
| set "SOURCE_DIR=E:\素材" |
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
| #!/usr/bin/env node | |
| //update https://gist.github.com/cornradio/55d9e5053260e7db8c9464e05edffcfa | |
| const https = require('https'); | |
| const readline = require('readline'); | |
| const postId = process.argv[2] || '102312'; | |
| let currentPage = 1; | |
| let comments = []; |
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
| import SwiftUI | |
| import AppKit | |
| struct AppInfo: Identifiable, Codable, Equatable, Hashable { | |
| let id = UUID() | |
| let name: String | |
| let path: String | |
| var isFavorite: Bool = false | |
| } |
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
| #!/bin/bash | |
| # 确保脚本以root权限运行 | |
| if [ "$EUID" -ne 0 ]; then | |
| echo "请以root用户或使用sudo运行此脚本" | |
| exit 1 | |
| fi | |
| # 检测操作系统类型 | |
| if [[ $(grep -oP '(?<=^NAME=")[^"]*' /etc/os-release) =~ "Ubuntu" ]]; then |
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
| #!/bin/bash | |
| unset LD_PRELOAD | |
| unset XDG_DESKTOP_PORTAL_DIR | |
| unset XDG_SEAT_PATH | |
| unset XDG_SESSION_PATH | |
| RES=$(xdpyinfo | awk '/dimensions/{print $2}') | |
| # Shadow kwin_wayland_wrapper so that we can pass args to kwin wrapper | |
| # whilst being launched by plasma-session |