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 kotlinx.coroutines.withTimeout | |
| import kotlinx.coroutines.yield | |
| import java.math.BigInteger | |
| import kotlin.coroutines.resume | |
| import kotlin.coroutines.resumeWithException | |
| import kotlin.coroutines.suspendCoroutine | |
| object Fibonacci { | |
| suspend fun take(n: Int) { | |
| yield() |
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 kotlinx.coroutines.withTimeout | |
| import kotlinx.coroutines.yield | |
| import java.math.BigInteger | |
| import kotlin.coroutines.resume | |
| import kotlin.coroutines.resumeWithException | |
| import kotlin.coroutines.suspendCoroutine | |
| object Fibonacci { | |
| suspend fun take(n: Int) { | |
| yield() |
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 kotlinx.coroutines.* | |
| import java.util.Objects | |
| class SortingCentre( | |
| val loadingPortsAmount: Int = 1, | |
| val unloadingPortsAmount: Int = 3 | |
| ) { | |
| class FirstLoadingPort: LoadingPort() { | |
| } |
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 kotlinx.coroutines.* | |
| import kotlinx.coroutines.channels.Channel | |
| import java.util.Objects | |
| class SortingCentre( | |
| val loadingPortsAmount: Int = 1, | |
| private val unloadingPortsAmount: Int = 3 | |
| ) { | |
| val trucksForUnload = mutableListOf<Truck>() | |
| private val truckGenerator = TruckGenerator |
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
| # jul/20/2022 19:17:46 by RouterOS 7.3.1 | |
| # software id = xxx | |
| # | |
| # model = RouterBOARD 3011UiAS | |
| # serial number = xxx | |
| /caps-man channel | |
| add band=2ghz-onlyn control-channel-width=20mhz frequency=2412 name=channel1 \ | |
| tx-power=25 | |
| add band=2ghz-onlyn control-channel-width=20mhz frequency=2432 name=channel2 \ | |
| 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
| server { | |
| server_name nextcloud.mydomain.store www.nextcloud.mydomain.store nextcloudlocal.mydomain.store www.nextcloudlocal.mydomain.store; | |
| # Add headers to serve security related headers | |
| add_header X-Content-Type-Options nosniff; | |
| add_header X-XSS-Protection "1; mode=block"; | |
| add_header X-Robots-Tag none; | |
| add_header X-Download-Options noopen; | |
| add_header X-Permitted-Cross-Domain-Policies none; | |
| add_header Referrer-Policy no-referrer; |
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
| [index] Ошибка: Symfony\Component\Process\Exception\ProcessFailedException: The command "'/usr/bin/7z' 'l' '/media/bad-hdd-nextcloud/nextcloud-data/aria-downloads/08.02 День науки.zip' '-slt' '-y' '-p '" failed. | |
| Exit Code: 2(Misuse of shell builtins) | |
| Working directory: /var/www/nextcloud | |
| Output: | |
| ================ | |
| 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-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
| [PHP] Ошибка: Error: rmdir(/var/www/nextcloud-data/seel2304/files_trashbin): Device or resource busy at /var/www/nextcloud/lib/private/Files/Storage/Local.php#145 at <<closure>> | |
| 0. <<closure>> | |
| OC\Log\ErrorHandler::onError() | |
| 1. /var/www/nextcloud/lib/private/Files/Storage/Local.php line 145 | |
| rmdir() | |
| 2. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 94 | |
| OC\Files\Storage\Local->rmdir() | |
| 3. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 94 | |
| OC\Files\Storage\Wrapper\Wrapper->rmdir() |
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 |
OlderNewer