openpgp4fpr:1C3C6547538D7152310C0EEA84DD0C0130A54DF7
🏳️⚧️
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
| # uncompyle6 version 3.9.3 | |
| # Python bytecode version base 3.6 (3379) | |
| # Decompiled from: Python 3.10.18 (main, Jun 4 2025, 08:17:53) [GCC 14.3.0 20250523 (AOSC OS, Core)] | |
| # Embedded file name: ControlCenter.py | |
| import multiprocessing, os, platform, random, signal, sys, time | |
| from ctypes import * | |
| from ftplib import FTP | |
| from multiprocessing import Queue, Process | |
| import clr, psutil, urllib3, wmi | |
| from PyQt5 import QtCore |
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
| [8月13 11:46] Linux version 6.12.33-amd64-desktop-rolling (root@deepinci-amd7) (gcc (Deepin 12.3.0-17deepin8) 12.3.0, GNU ld (GNU Binutils for Deepin) 2.41) (c279d034c) #25.01.01.01 SMP PREEMPT_DYNAMIC Thu Jun 12 14:20:38 CST 2025 | |
| [ +0.000000] Command line: BOOT_IMAGE=/live/vmlinuz.efi boot=live union=overlay locales=zh_CN.UTF-8 console=tty splash -- | |
| [ +0.000000] KERNEL supported cpus: | |
| [ +0.000000] Intel GenuineIntel | |
| [ +0.000000] AMD AuthenticAMD | |
| [ +0.000000] Hygon HygonGenuine | |
| [ +0.000000] Centaur CentaurHauls | |
| [ +0.000000] zhaoxin Shanghai | |
| [ +0.000000] x86/split lock detection: #AC: crashing the kernel on kernel split_locks and warning on user-space split_locks | |
| [ +0.000000] BIOS-provided physical RAM map: |
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
| // Define main function (script entry) | |
| const newRules = [ | |
| // 自定义规则 | |
| "DOMAIN-SUFFIX,uniontech.com,DIRECT", | |
| "DOMAIN-SUFFIX,deepin.com,DIRECT", | |
| "DOMAIN-SUFFIX,deepin.org,DIRECT", | |
| "DOMAIN-SUFFIX,heiyu.space,DIRECT", | |
| "DOMAIN-SUFFIX,lazycat.cloud,DIRECT", | |
| "DOMAIN-SUFFIX,lazycatmicroserver.com,DIRECT", |
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
| diff --git a/app/plugins/youdao/pyquery/pyquery.py b/app/plugins/youdao/pyquery/pyquery.py | |
| index 0d2e781..c24de0f 100644 | |
| --- a/app/plugins/youdao/pyquery/pyquery.py | |
| +++ b/app/plugins/youdao/pyquery/pyquery.py | |
| @@ -12,6 +12,8 @@ import inspect | |
| import types | |
| import sys | |
| +if not hasattr(inspect, 'getargspec'): | |
| + inspect.getargspec = inspect.getfullargspec |
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/python3 | |
| # Usage: | |
| # fc-list --format "%{family[0]} %{familylang}\n" > <file_path> | |
| # python3 process.py <file_path> | |
| import sys | |
| import json | |
| import re |
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/python3 | |
| resistance = [1,1,1,1.2,1.3,1.5,1.6,1.8,2,2.2,2.4,2.7,3,3.2,3.3,3.6,3.9,4.3,4.7,5.1,5.6,6.2,6.8,7.5,8.2,9.1,10,11,12,13,15,16,18] | |
| target_voltage = 8.4 | |
| result = {} | |
| def output_voltage(r1, r2): | |
| return ((r1/r2)+1)*1.222 | |
| if __name__ == '__main__': |
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
| // | |
| // Created by cryolitia on 24-1-16. | |
| // | |
| #include <iostream> | |
| #include <vector> | |
| #include <utility> | |
| #include <unordered_set> | |
| #include <cassert> | |
| #include <memory> |
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
| #include <iostream> | |
| #include <regex> | |
| int main() { | |
| std::string input = "你好,world!"; | |
| std::smatch matches; | |
| auto regex = std::regex("([\\x00-\\x7F]|([\\xC0-\\xF7][\\x80-\\xBF]*))"); | |
| std::sregex_iterator begin(input.begin(),input.end(),regex); | |
| std::sregex_iterator end; | |
| for (auto i = begin;i!=end;++i) { |
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
| // | |
| // Created by Neuron on 2021/10/20. | |
| // | |
| #include "hash_table.h" | |
| HashTable *initHashTable(uint64_t size) { | |
| HashTable *hashTable = (HashTable *) malloc(sizeof(HashTable)); | |
| hashTable->count = size; | |
| hashTable->node = (Node **) calloc(size, sizeof(Node *)); |