First figure out the zoneId by looking at network tab. then copy the function below to your browser console and use it.
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
@OptIn(ExperimentalStdlibApi::class) | |
fun ColorScheme.toListString(): String { | |
val sb = StringBuilder() | |
sb.append("val md_theme_light_primary = Color(0x"+ this.primary.toArgb().toHexString().uppercase() + ") \n") | |
sb.append("val md_theme_light_onPrimary = Color(0x"+ this.onPrimary.toArgb().toHexString().uppercase() + ") \n") | |
sb.append("val md_theme_light_primaryContainer = Color(0x"+ this.primaryContainer.toArgb().toHexString().uppercase() + ") \n") | |
sb.append("val md_theme_light_onPrimaryContainer = Color(0x"+ this.onPrimaryContainer.toArgb().toHexString().uppercase() + ") \n") | |
sb.append("val md_theme_light_inversePrimary = Color(0x"+ this.inversePrimary.toArgb().toHexString().uppercase() + ") \n") | |
sb.append("val md_theme_light_secondary = Color(0x"+ this.secondary.toArgb().toHexString().uppercase() + ") \n") | |
sb.append("val md_theme_light_onSecondary = Color(0x"+ this.onSecondary.toArgb().toHexString().uppercase() + ") \n") |
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
/** | |
* Author: @jd1378 (https://github.com/jd1378) | |
* License: MIT | |
*/ | |
<template> | |
<div class="relative" :class="wrapperClass"> | |
<div | |
class="pointer-events-none absolute bottom-0 left-0 right-0 top-0 flex select-none items-center justify-center"> | |
<slot v-if="loading" name="loading"> |
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
/** | |
* Author: @jd1378 (https://github.com/jd1378) | |
* License: MIT | |
*/ | |
import { | |
Placement, | |
arrow, | |
autoUpdate, | |
computePosition, |
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
cd ~ | |
sudo apt-get install unzip zip | |
wget https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip | |
unzip commandlinetools-linux-6858069_latest.zip -d Android | |
rm commandlinetools-linux-6858069_latest.zip | |
sudo apt-get install -y lib32z1 openjdk-11-jdk # or adoptium jdk | |
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 | |
export PATH=$PATH:$JAVA_HOME/bin | |
printf "\n\nexport JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64\nexport PATH=\$PATH:\$JAVA_HOME/bin" >> ~/.bashrc | |
cd Android/cmdline-tools |
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
const RateLimiterMongo = require('rate-limiter-flexible/lib/RateLimiterMongo'); | |
const { rateLimit } = require('feathers-fletching'); | |
const { iff, isProvider } = require('feathers-hooks-common'); | |
const mongoose = require('mongoose'); | |
const maxWrongAttemptsByIPperDay = 100; | |
const maxConsecutiveFailsByUsernameAndIP = 5; | |
const limiterSlowBruteByIP = new RateLimiterMongo({ | |
storeClient: mongoose.connection, |