Skip to content

Instantly share code, notes, and snippets.

View magicxor's full-sized avatar
🦊
foxiest of the hounds

Ilia Burakov magicxor

🦊
foxiest of the hounds
  • Canada
View GitHub Profile
@magicxor
magicxor / WinSyncScroll-cobertura-coverage.json
Last active November 24, 2025 02:32
WinSyncScroll_coverage
{"schemaVersion":1,"label":"coverage","message":"77%","color":"yellow"}
@magicxor
magicxor / piclibbot2-cobertura-coverage.json
Last active November 15, 2025 11:05
piclibbot2-cobertura-coverage.json
{"schemaVersion":1,"label":"coverage","message":"0%","color":"red"}
@magicxor
magicxor / pac_socks5_inside_out.pac
Created June 16, 2025 04:16
pac_socks5_inside_out
function FindProxyForURL(url, host) {
if (!(
dnsDomainIs(host, ".ru") ||
dnsDomainIs(host, ".su") ||
dnsDomainIs(host, ".xn--p1ai") ||
shExpMatch(host, "*.ru") ||
shExpMatch(host, "*.su") ||
shExpMatch(host, "*.xn--p1ai")
)) {
return "DIRECT";
@magicxor
magicxor / proxy.pac
Created June 16, 2025 04:12
pac_socks5
function FindProxyForURL(url, host) {
if (
dnsDomainIs(host, ".ru") ||
dnsDomainIs(host, ".su") ||
dnsDomainIs(host, ".xn--p1ai") ||
shExpMatch(host, "*.ru") ||
shExpMatch(host, "*.su") ||
shExpMatch(host, "*.xn--p1ai")
) {
return "DIRECT";
@magicxor
magicxor / pacos2-cobertura-coverage.json
Last active February 18, 2026 11:52
pacos2-cobertura-coverage.json
{"schemaVersion":1,"label":"coverage","message":"28%","color":"orange"}
@magicxor
magicxor / Hikkaba-cobertura-coverage.json
Last active March 1, 2026 00:31
Hikkaba code coverage badge
{"schemaVersion":1,"label":"coverage","message":"71%","color":"yellow"}
@magicxor
magicxor / AspNetReactReduxTodo-cobertura-coverage.json
Last active February 28, 2026 06:23
AspNetReactReduxTodo-code-coverage
{"schemaVersion":1,"label":"coverage","message":"91%","color":"green"}
@magicxor
magicxor / DiplomaticMailBot-cobertura-coverage.json
Last active November 24, 2025 10:42
DiplomaticMailBot code coverage
{"schemaVersion":1,"label":"coverage","message":"85%","color":"yellowgreen"}
@magicxor
magicxor / ExceptionExtractor.cs
Created October 27, 2024 03:42
Retrieve possible exceptions
using System.Collections.Concurrent;
using System.Xml.Linq;
using Mono.Cecil;
using Mono.Cecil.Cil;
namespace ExceptionRetriever;
public class ExceptionExtractor
{
public static void ExtractExceptions(string assemblyPath, string xmlDocPath)
@magicxor
magicxor / Program.cs
Created June 24, 2024 22:28
Live audio transcription via faster-whisper-server WS /v1/audio/transcriptions endpoint
using System.Buffers;
using System.Net.WebSockets;
using System.Text;
using NAudio.Wave;
namespace ConsoleApp1;
public class Program
{
public static async Task Main(string[] args)