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
... | |
android { | |
namespace = "com.example.app" | |
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml") | |
sourceSets["main"].res.srcDirs("src/androidMain/res") | |
sourceSets["main"].resources.srcDirs("src/commonMain/resources") | |
defaultConfig { | |
applicationId = "com.example.app" |
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
stages: | |
- build | |
- upload | |
- create_release | |
- update_files | |
variables: | |
ANDROID_HOME: "C:/Users/*user*/AppData/Local/Android/Sdk" | |
JAVA_HOME: "C:/Program Files/Java/jdk-21" |
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
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.concurrent.ExecutionException; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.Future; | |
class ParallelPrimeFinder { | |
@SuppressWarnings("unchecked") |
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
package ru.vasmarfas.m19_location | |
import android.annotation.SuppressLint | |
import android.content.pm.PackageManager | |
import android.location.Location | |
import android.os.Bundle | |
import android.os.Looper | |
import android.util.Log | |
import android.view.LayoutInflater | |
import android.view.View |
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
package ru.vasmarfas.m19_location | |
import android.annotation.SuppressLint | |
import android.content.pm.PackageManager | |
import android.location.Location | |
import android.os.Bundle | |
import android.os.Looper | |
import android.util.Log | |
import android.view.LayoutInflater | |
import android.view.View |
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
# 2023-12-31 14:54:36 by RouterOS 7.13 | |
# | |
# model = RB3011UiAS | |
/caps-man channel | |
add band=2ghz-onlyn control-channel-width=20mhz extension-channel=disabled \ | |
frequency=2412 name=channel1 tx-power=25 | |
add band=2ghz-onlyn control-channel-width=20mhz extension-channel=disabled \ | |
frequency=2437 name=channel2 tx-power=25 | |
add band=2ghz-onlyn control-channel-width=20mhz extension-channel=disabled \ | |
frequency=2462 name=channel4 tx-power=25 |
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
=== | |
> вхвхвхвх | |
> ну да | |
> ну типо да | |
> ну так скажешь что то с понимает на самом не понимаю | |
> ну так понимаю что не спросить не может подумать что не спросили не понял | |
> ну да, понял | |
> ну да, понял | |
> ну так странно | |
> ну так по сути не понимаю |
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
from bot.db import db, DBTables, decrypt | |
import aiohttp | |
import asyncio | |
import time | |
async def job_exists(endpoint): | |
async with aiohttp.ClientSession() as session: | |
r = await session.get( | |
endpoint + "/sdapi/v1/progress", |
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
import re | |
from bot.common import bot | |
from aiogram import types | |
from bot.db import db, DBTables | |
from bot.utils.cooldown import throttle | |
from bot.modules.api.txt2img import txt2img | |
from bot.modules.api.objects.get_prompt import get_prompt | |
from bot.modules.api.objects.prompt_request import Generated | |
from bot.modules.api.status import wait_for_status | |
from bot.keyboards.image_info import get_img_info_keyboard |
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
import re | |
from bot.common import bot | |
from aiogram import types | |
from bot.db import db, DBTables | |
from bot.utils.cooldown import throttle | |
from bot.modules.api.txt2img import txt2img | |
from bot.modules.api.objects.get_prompt import get_prompt | |
from bot.modules.api.objects.prompt_request import Generated | |
from bot.modules.api.status import wait_for_status | |
from bot.keyboards.image_info import get_img_info_keyboard |
NewerOlder