Discover gists
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
#!/bin/bash | |
KERNEL_TOOLS=/home/daniel/android/lineage-21.0/prebuilts/kernel-build-tools/linux-x86/bin/ | |
CLANG_PATH=/home/daniel/android/lineage-21.0/prebuilts/clang/host/linux-x86/clang-r487747c/bin/ | |
export PATH="$KERNEL_TOOLS:$CLANG_PATH:$PATH" | |
TARGET=$1 | |
KERNEL_SRC=$(pwd) | |
O=out |
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
2024 Users: | |
https://langdev.stackexchange.com/users/3632/Nimadia Spam | |
https://langdev.stackexchange.com/users/3610/GoGetDeals spam | |
https://langdev.stackexchange.com/users/3589/8xbet spam | |
https://langdev.stackexchange.com/users/3561/Power Generation Enterprises | |
https://langdev.stackexchange.com/users/3564/spammy sammy | |
https://langdev.stackexchange.com/users/3563/Weath Spam | |
https://langdev.stackexchange.com/users/3565/Soul Mart | |
https://langdev.stackexchange.com/users/3592/8xbet | |
https://langdev.stackexchange.com/users/3556/Bath Estimates |
Note: This gist may be outdated, thanks to all contributors in comments.
adb
is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Don't hesitate to read comments, there is useful tips, thanks guys for this !
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
#!/bin/bash | |
# Set script to exit on error | |
set -e | |
# Enable logging | |
exec > >(tee -i /var/log/setup-script.log) | |
exec 2>&1 | |
echo "Starting script execution..." |
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
# | |
# TWEAKS | |
# | |
# Qualcomm | |
#com.qc.hardware=true | |
#debug.qctwa.statusbar=1 | |
#debug.qctwa.preservebuf=1 | |
#debug.qc.hardware=true |
-
Find the Discord channel in which you would like to send commits and other updates
-
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
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
import pandas as pd | |
from tqdm import tqdm | |
from trafilatura.sitemaps import sitemap_search | |
from trafilatura import fetch_url, extract | |
def get_urls_from_sitemap(resource_url: str) -> list: | |
""" | |
Get a list of urls from a sitemap with trafilatura | |
""" |
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
// ==UserScript== | |
// @name aliexpress_en | |
// @version 0.1 | |
// @description always redirect to aliexpress.com and reset the location/language/currency settings. This script pins locale settings cookie. Please clear cookies on all "aliexpress" domains before using this userscript. | |
// @author @attero@mastodon.social | |
// @match *://www.aliexpress.com | |
// @match *://www.aliexpress.com/* | |
// @match *://*.aliexpress.com/* | |
// @match *://www.aliexpress.ru | |
// @match *://www.aliexpress.ru/* |
NewerOlder