Moved to pidfd-rs.
This file contains 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
let csetSrc = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789' | |
let csetDest = ['𝕒','𝕓','𝕔','𝕕','𝕖','𝕗','𝕘','𝕙','𝕚','𝕛','𝕜','𝕝','𝕞','𝕟','𝕠','𝕡','𝕢','𝕣','𝕤','𝕥','𝕦','𝕧','𝕨','𝕩','𝕪','𝕫','𝔸','𝔹','ℂ','𝔻','𝔼','𝔽','𝔾','ℍ','𝕀','𝕁','𝕂','𝕃','𝕄','ℕ','𝕆','ℙ','ℚ','ℝ','𝕊','𝕋','𝕌','𝕍','𝕎','𝕏','𝕐','ℤ','𝟘','𝟙','𝟚','𝟛','𝟜','𝟝','𝟞','𝟟','𝟠','𝟡'] | |
for (let el of document.querySelectorAll('*')) { | |
// ignore non-user-visible | |
if (el.style.display == 'none' || el.style.visibility == 'hidden') { | |
continue | |
} | |
if (el.tagName == 'SCRIPT' || el.tagName == 'STYLE' || el.tagName == 'TEXTAREA') { | |
continue |
I hereby claim:
- I am kdrag0n on github.
- I am kdrag0n (https://keybase.io/kdrag0n) on keybase.
- I have a public key ASCXk_t-QfU6ZrqxNvSRK77akiKxNLhKoCxfUTOxVUB_-wo
To claim this, I am signing this object:
- Full support for both Android 9 and 10
- Unparalleled fluidity thanks to:
- Deep scheduler optimizations
- Optional 72 Hz screen refresh rate
- Ultra-low jitter between 0.12 and 0.3 milliseconds (as compared to stock's range of 1.75 to 2.5 ms)
- Static SchedTune boosting and idle CPU preference
This file contains 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 zsh | |
# | |
# Builds GCC and binutils for exclusively building kernels | |
# | |
# Modified by @kdrag0n for building compact toolchains. | |
# Thanks to Nathan Chancellor for the original bldgcc script: | |
# https://github.com/nathanchance/scripts/blob/master/funcs/bldgcc | |
# | |
# Example usage: |
This file contains 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
$runs = If ($args.Length > 0) {$args[0]} Else {10} | |
$acc = 0 | |
wsl --shutdown > $null | |
for ($i = 1; $i -le $runs; $i++) { | |
Write-Host -NoNewLine "Run $($i): " | |
$time = (Measure-Command {wsl /bin/true}).TotalMilliseconds | |
"$time ms" | Out-Default | |
$acc += $time |
This file contains 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 python | |
# | |
# EAS cluster cost interpolator for energy model construction | |
# by @kdrag0n | |
# | |
# This program is licensed under the MIT License (MIT) | |
# | |
# Copyright (c) 2019 Danny "kdrag0n" Lin <[email protected]> | |
# |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<device name="Android"> | |
<item name="none">0</item> | |
<item name="screen.on">95</item> | |
<item name="screen.full">275</item> | |
<array name="cpu.clusters.cores"> | |
<value>4</value> | |
<value>4</value> | |
</array> | |
<array name="cpu.core_speeds.cluster0"> |
This file contains 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 python | |
# | |
# OPP Power Usage and EAS Energy Model Calculator | |
# by @kdrag0n | |
# | |
# This program is licensed under the MIT License (MIT) | |
# | |
# Copyright (c) 2019 Danny Lin <[email protected]> | |
# |
This file contains 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 python | |
# | |
# OPP Power Usage and EAS Energy Model Calculator | |
# by @kdrag0n | |
# for Android devices | |
# | |
# This program is licensed under the MIT License (MIT) | |
# | |
# Copyright (c) 2019 Danny Lin <[email protected]> |
NewerOlder