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
var timeout = 3000; | |
var nodes = document.querySelectorAll('input[type="image"]'); | |
var len = nodes.length; | |
nodes.forEach(function(el, index) { | |
setTimeout(function(){ | |
window.scrollTo({ | |
top: el.getBoundingClientRect().top + window.scrollY, | |
left: 0, | |
behavior: 'smooth', | |
}); |
Adapter | Chip name | Kernel | AUR | Driver sources |
---|---|---|---|---|
Asus USB AC53-Nano | RTL8822BU |
5.4 | rtl8822bu | |
Asus USB AC56 | RTL8812AU |
5.4 | rtl8812au-dkms-git | https://github.com/gordboy/rtl8812au-5.6.4.2 |
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
{ | |
"PresetList": [ | |
{ | |
"AlignAVStart": true, | |
"AudioCopyMask": [ | |
"copy:aac" | |
], | |
"AudioEncoderFallback": "av_aac", | |
"AudioLanguageList": [ | |
"ukr", |
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 Apple music - Copy playlist info | |
// @description Copy playlist information in format `${index}. ${artist} - ${title}` | |
// @namespace Alex Danilenko | |
// @version 1.0 | |
// @license MIT | |
// @grant GM.setClipboard | |
// @grant GM_setClipboard | |
// @match https://music.apple.com/* | |
// ==/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
#!/bin/bash | |
###> Utils | |
if [[ -t 2 ]] && [[ -z "${NO_COLOR-}" ]] && [[ "${TERM-}" != "dumb" ]]; then | |
NOFORMAT='\033[0m' RED='\033[0;31m' GREEN='\033[0;32m' ORANGE='\033[0;33m' BLUE='\033[0;34m' PURPLE='\033[0;35m' CYAN='\033[0;36m' YELLOW='\033[1;33m' | |
else | |
NOFORMAT='' RED='' GREEN='' ORANGE='' BLUE='' PURPLE='' CYAN='' YELLOW='' | |
fi | |
debug() { echo >&2 -e"${CYAN}[DEBUG] $* ${NOFORMAT}"; } | |
info() { echo >&2 -e "${BLUE}[INFO] $* ${NOFORMAT}"; } |
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 | |
urls=$(cat urls.txt) | |
outDir="results" | |
mkdir -p $outDir | |
for url in $urls; do | |
fileFriendlyUrl=$(echo $url | sed 's/[^a-zA-Z0-9]/_/g') | |
outFilePath="$outDir/$fileFriendlyUrl.html" | |
if ! [ -f "$outFilePath" ]; then |
- Installd ADB drivers
winget install ClockworkMod.UniversalADBDriver
-
Enable developer mode on your box
-
Enable usb debugging while doing this(note your usb port will no longer work until disabled again)
OlderNewer