- Using HEX-editor edit stremio.exe. Change string "terminal" to "config\x00\x00" to allow load mpv.conf
- Open/create %appdata%\mpv\mpv.conf and add parameter
audio-channels = stereo
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
byte[] EliasFanoCompress(ulong[] UlongsArray) | |
{ | |
long maxCompressedSize = (long)((2 + Math.Ceiling(Math.Log((double)UlongsArray[UlongsArray.Length - 1] / (double)UlongsArray.Length, 2))) * UlongsArray.Length / 8) + 6; | |
byte[] compressedBuffer = new byte[maxCompressedSize]; | |
ulong compressedBufferPointer2 = 0; | |
ulong compressedBufferPointer1 = 0; | |
UInt64 lastID = 0; | |
UInt64 buffer1 = 0; | |
UInt64 bufferLength1 = 0; |
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
//The context compressor, author M.Smirnov. | |
//The source also can be found at | |
//http://compression.ru/ | |
//usage: | |
//c infile outfile //encoding | |
//d infile outfile //decoding | |
/* | |
* Контекстный компрессор Dummy, автор М.Смирнов. | |
* Исходный текст этой программы также можно найти на сайо |
Using any HEX-Editor (for example HxD) open a file:
"My Memory of Us\mmou_Data\Managed\Assembly-CSharp.dll"
Find HEX-bytes: 39 8E E3 3F
. There are 24 matches in the file
Need to replace matches #10 and #19 at addresses 0x0003B01F
and 0x00050CF2
Replace with bytes depending on the resolution:
26 B4 17 40
for 21:9 (2560x1080)\
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
// Open twitter-followers page | |
// Open browser-console and paste this script | |
// Click on page for stop script | |
// When script done you can use global variables window.text or window.followersSet | |
// for example copy to clipboard | |
// copy(window.text); | |
var scrollTimer; | |
window.followersSet = new Set(); | |
window.text = ""; |
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
api_key="0000000000000000000000000000000" # API-ключ https://qiwi.com/api | |
pay_to="+77085205652" # кому платим | |
amount="15" # сумма | |
currency="840" # 840 - доллары, 978 - евро, 643 - рубли, 398 - тенге | |
comment="abcde" # код от телеграмм бота | |
curl -X POST 'https://edge.qiwi.com/sinap/api/v2/terms/99/payments' \ | |
-H "Content-Type: application/json" \ | |
-H "Accept: application/json" \ | |
-H "Authorization: Bearer ${api_key}" \ |
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
const int serverPort = 8181; | |
const string serverAddress = "sly.kz"; | |
void Main() | |
{ | |
using (var client = new TcpClient(serverAddress, serverPort)) | |
using (var networkStream = client.GetStream()) | |
using (var sr = new StreamReader(networkStream)) | |
{ | |
var maxWins = 50; |