Skip to content

Instantly share code, notes, and snippets.

View bukowa's full-sized avatar

Mateusz Kurowski bukowa

View GitHub Profile
@bukowa
bukowa / Corefile
Last active October 26, 2024 19:28
coredns
.:53 {
forward . tls://1.1.1.1 tls://1.0.0.1 {
tls_servername cloudflare-dns.com
health_check 5s
}
cache {
success 3600
}
}
@bukowa
bukowa / code.xaml
Created October 13, 2024 23:02
code
<Grid.Resources>
<Style TargetType="TextBox">
<Setter Property="Padding" Value="2 1"></Setter>
<Setter Property="BorderBrush" Value="Black"></Setter>
<Setter Property="BorderThickness" Value="1"></Setter>
<Setter Property="Validation.ErrorTemplate">
<Setter.Value>
<ControlTemplate>
<AdornedElementPlaceholder></AdornedElementPlaceholder>
</ControlTemplate>
<!DOCTYPE html>
<html class="default" lang="en">
<head>
<meta charset="utf-8"/>
<meta http-equiv="x-ua-compatible" content="IE=edge"/>
<title>3. Selenium API | @tauri-e2e/selenium</title>
<meta name="description" content="Documentation for @tauri-e2e/selenium"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="../assets/style.css"/>
<link rel="stylesheet" href="../assets/highlight.css"/>
@bukowa
bukowa / main.rs
Created June 30, 2024 23:34
win32job
use std::{env, io};
use std::io::ErrorKind;
use std::process::{Command, Stdio};
fn main() -> Result<(), std::io::Error> {
// Collect the command and its arguments from the command line input
let args: Vec<String> = env::args().collect();
// Find the position of "--" which separates the wrapper's arguments from the subcommand's arguments
let separator_pos = args.iter().position(|arg| arg == "--").unwrap_or(1);
@bukowa
bukowa / run.js
Last active July 1, 2024 20:07
tribal wars 2 dupe script resources duplication script bot
function run_dupe(_RESOLVE) {
// nie zmieniaj wioski jak skrypt dziala
// jak skonczy rekrutowac to odswiez przegladarke
// co chcesz rekrutowac
// jesli pusty policzymy najlepszy
let recruitUnit = "";
// co chcesz wyslac
const sendUnit = "spear";
+ node --test --test-force-exit --test-timeout=90000 tests-e2e-js/dist/main.js
TAP version 13
# [ [DEBUG] default - {
# PATH_TAURI_APP_BINARY: 'D:\\\\a\\\\tauri-e2e\\\\tauri-e2e/target/release/tauri-app.exe',
# PATH_WEBDRIVER_BINARY: 'D:\\\\a\\\\tauri-e2e\\\\tauri-e2e/.build/bin/msedgedriver.exe',
# SELENIUM_WEBDRIVER_HOST: '127.0.0.1',
# SELENIUM_WEBDRIVER_PORT: '5699',
# SELENIUM_WEBDRIVER_LOG_LEVEL: 'DEBUG',
# TESTS_LOG_LEVEL: 'debug',
# TESTS_TIMEOUT: 45000
@bukowa
bukowa / err
Created June 26, 2024 03:20
bug
--- Process 9136 created
--- Process 9136 loaded C:\Windows\System32\ntdll.dll at 00007ffbd4670000
--- Process 9136 loaded C:\Windows\System32\kernel32.dll at 00007ffbd2b80000
--- Process 9136 loaded C:\Windows\System32\KernelBase.dll at 00007ffbd2050000
--- Process 9136 loaded C:\Windows\System32\apphelp.dll at 00007ffbcf570000
--- Process 9136 thread 4404 created
--- Process 9136 loaded C:\Windows\System32\user32.dll at 00007ffbd4490000
--- Process 9136 loaded C:\Program Files\Git\usr\bin\msys-2.0.dll at 0000000210040000
--- Process 9136 thread 1860 created
--- Process 9136 loaded C:\Windows\System32\win32u.dll at 00007ffbd1fb0000
@bukowa
bukowa / log
Created June 25, 2024 22:08
sh rust crash
--- Process 44996 created
--- Process 44996 loaded C:\Windows\System32\ntdll.dll at 00007ffcd6f30000
--- Process 44996 loaded C:\Windows\System32\kernel32.dll at 00007ffcd5d50000
--- Process 44996 loaded C:\Windows\System32\KernelBase.dll at 00007ffcd45f0000
--- Process 44996 loaded C:\Windows\System32\bcryptprimitives.dll at 00007ffcd4ab0000
--- Process 44996 thread 51044 created
--- Process 44996 thread 42460 created
--- Process 44996 loaded C:\Windows\System32\ucrtbase.dll at 00007ffcd4d40000
--- Process 44996 loaded C:\Windows\System32\vcruntime140.dll at 00007ffcce950000
--- Process 44996 thread 46256 created
Available recipes:
--- Process 19492 created
--- Process 19492 loaded C:\Windows\System32\ntdll.dll at 00007ffcd6f30000
--- Process 19492 loaded C:\Windows\System32\kernel32.dll at 00007ffcd5d50000
--- Process 19492 loaded C:\Windows\System32\KernelBase.dll at 00007ffcd45f0000
--- Process 19492 loaded C:\Windows\System32\bcryptprimitives.dll at 00007ffcd4ab0000
--- Process 19492 thread 41904 created
--- Process 19492 loaded C:\Windows\System32\shell32.dll at 00007ffcd66a0000
--- Process 19492 loaded C:\Windows\System32\msvcp_win.dll at 00007ffcd4b40000
--- Process 19492 loaded C:\Windows\System32\ucrtbase.dll at 00007ffcd4d40000