sudo pacman -S --needed base-devel git gnupg flex bison zip curl zlib libx11 mesa libxml2 libxslt unzip fontconfig gcc-multilib ccache bc git-lfs gperf imagemagick protobuf python-protobuf elfutils ncurses lz4 sdl libxml2 lzop rsync squashfs-tools fontconfig imagemagick ttf-dejavu cpio git-lfs freetype2 unzip zip rsync
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
| /* 自定义背景+背景模糊 */ | |
| body { | |
| position: relative; | |
| background: transparent !important; | |
| isolation: isolate; | |
| } | |
| body::before { | |
| content: ""; | |
| position: fixed; | |
| inset: 0; |
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
| #!/system/bin/sh | |
| until [ -d "/sdcard/Android" ]; do | |
| sleep 3 | |
| done | |
| sleep 10 | |
| sh /sdcard/xiaomi-camera-checker.sh >>/sdcard/xiaomi-camera-checker.log 2>&1 |
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
| [ | |
| { | |
| "name": "Battery health", | |
| "description": "当充电状态变化时,显示电池健康度", | |
| "priority": 1, | |
| "delay": 250, | |
| "condition": "powerConnected || powerDisconnected", | |
| "actions": [ | |
| "ui.showLongToast(\"电池健康度 \" + su.exe(\"cat /sys/class/power_supply/bms/battery_h\").out[0] + \"\n循环次数 \" + su.exe(\"cat /sys/class/power_supply/battery/cycle_count\").out[0]);" | |
| ] |
- Modifying MSR may void your CPU's (or system board's) warranty. Proceed with caution. I am not responsible for any damage caused by this article.
- MSR addresses vary significantly between CPUs. Check your CPU's MSR address using Intel's documentation.
- This has only been tested on the Intel i7-8550U (Kaby Lake R).
- This article is a translation of this article. If you can read Korean, I recommend reading that article instead.
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
| /dts-v1/; | |
| / { | |
| MP_256; | |
| model = "Qualcomm Technologies, Inc. IPQ6018/AP-CP02-C1"; | |
| compatible = "qcom,ipq6018-cp02", "qcom,ipq6018"; | |
| qcom,msm-id = <0x192 0x00>; | |
| #address-cells = <0x02>; | |
| #size-cells = <0x02>; | |
| interrupt-parent = <0x01>; |
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 bash | |
| # | |
| # Author: Stefan Buck | |
| # License: MIT | |
| # https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447 | |
| # | |
| # | |
| # This script accepts the following parameters: | |
| # | |
| # * owner |
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 bash | |
| CIPHERS='ALL:eNULL' | |
| DELAY=${2:-0.1} | |
| SERVER=${1:?usage: $0 <host:port> [delay, default is ${DELAY}s] [ciphers, default is ${CIPHERS}]} | |
| MAXLEN=$(openssl ciphers "$CIPHERS" | sed -e 's/:/\n/g' | awk '{ if ( length > L ) { L=length} }END{ print L}') | |
| echo Using $(openssl version). | |
| declare -A TLSMAP=( [tls1_1]=cipher [tls1_2]=cipher [tls1_3]=ciphersuites ) |
NewerOlder