FROM debian:10
RUN apt-get update \
&& apt-get install -y \
curl \
dumb-init \
htop \
locales \
man \
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
public int gcd(int a, int b) { return a!= 0 ? gcd(b % a, a) : b; } | |
public int mlc(int a, int b) { return (a * b) / gcd(a, b); } | |
http://www.cyberforum.ru/csharp-beginners/thread105689.html |
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
:: C:\Users\Ivan\AppData\Local\Android\Sdk\emulator>emulator -list-avds | |
:: C:\Users\Ivan\AppData\Local\Android\Sdk\emulator>emulator -avd My_Device_x86 | |
@echo off | |
cd C:\KOPLAYER | |
netstat -an | find /i "listening" | |
call adb kill-server |
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
#from HEX to FIle | |
$z = "0x1F, 0x8B, 0x08, 0x08" | |
$y = $z -replace " |,|0x|`n|`r", "" | |
Convert-HexToByteArray($y) | Set-Content template_default.html.gz -Encoding Byte | |
#from file to HEX | |
$y = Get-Content template_default.html.gz -Encoding Byte | |
Convert-ByteArrayToHex($y) | |
$y.Length |
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
adb tcpip 5555 | |
adb connect 192.168.0.101:5555 | |
https://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp | |
https://ru.stackoverflow.com/questions/719815/%D0%9A%D0%B0%D0%BA-%D0%BF%D0%BE%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D0%B8%D1%82%D1%8C-adb-wifi-%D0%B2-android-studio |
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
подключение KoPlayer к адб: | |
adb connect 127.0.0.1:6555 | |
adb devices | |
видео по установке, настройке всего для C# | |
https://www.youtube.com/watch?v=E-85hdqXzHo | |
https://www.youtube.com/watch?v=jziKxB0XUJY |
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 pprint | |
from lxml import html | |
import requests | |
import urllib | |
import base64 | |
import json | |
def GetInformationByPublicLink(link): |
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
открываем страницу | |
https://rutube.ru/video/f302ba6920e127635e800611cc943b7a/ | |
ищем тег | |
<meta property="og:video" content="http://rutube.ru/play/embed/11709712" /> | |
цифры айди используем в ссылке вида: | |
https://rutube.ru/api/play/options/11709712/?format=json | |
получаем джсон |
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
адрес сайта в сети «Интернет» оператора фискальных данных, которому выдано такое разрешение | |
* www.1-ofd.ru https://consumer.1-ofd.ru/#/landing | |
* www.taxcom.ru https://receipt.taxcom.ru/ | |
* www.platformaofd.ru https://lk.platformaofd.ru/web/noauth/cheque/search | |
* www.ofd-ya.ru https://ofd-ya.ru/check | |
* www.ofd.ru https://check.ofd.ru/ | |
* ofd.yandex.ru https://ofd.yandex.ru/check | |
* garantexpress.ru https://ofd.garantexpress.ru/eKKT/Check/ | |
* ofd.astralnalog.ru https://ofd.astralnalog.ru/ | |
* sbis.ru https://sbis.ru/ofd/check |