Skip to content

Instantly share code, notes, and snippets.

View poqdavid's full-sized avatar
💭
Loading...

poqdavid poqdavid

💭
Loading...
View GitHub Profile
@poqdavid
poqdavid / Engine.ini
Last active May 8, 2023 01:10
My Hogwarts Legacy settings
[SystemSettings]
r.TemporalAACurrentFrameWeight=0.45
r.TemporalAASharpen=0.1
r.VolumetricFog.VoxelizationShowOnlyPassIndex=0
r.VolumetricFog=0
r.TextureStreaming=1
r.Streaming.FramesForFu11Update=10
r.Streaming.PoolSize=4096
r.Streaming.LimitPoo1SizeToVRAM=1
r.Streaming.DefragDynamicBounds=1
@poqdavid
poqdavid / WithKillswitchEnabled
Created February 18, 2024 18:01
My routing tables
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.45.1 192.168.45.2 261
0.0.0.0 0.0.0.0 On-link 10.67.5.33 0
10.67.5.33 255.255.255.255 On-link 10.67.5.33 256
127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
@poqdavid
poqdavid / config1
Created February 22, 2024 15:02
WireGuard
[Interface]
PrivateKey = <Key>
Address = <IPv4>/32, <IPv6>/128
DNS = 127.0.0.100, 127.0.0.200, fd00:0:0:100::1, fd00:0:0:200::1
MTU = 1280
PostUp = powershell -command "$wgInterface = Get-NetAdapter -Name %WIREGUARD_TUNNEL_NAME%; route add 0.0.0.0 mask 0.0.0.0 0.0.0.0 if $wgInterface.ifIndex metric 9999; Set-NetIPInterface -InterfaceIndex $wgInterface.ifIndex -InterfaceMetric 9999;"
PreDown = powershell -command "$wgInterface = Get-NetAdapter -Name %WIREGUARD_TUNNEL_NAME%; route delete 0.0.0.0 mask 0.0.0.0 0.0.0.0 if $wgInterface.ifIndex metric 9999; Set-NetIPInterface -InterfaceIndex $wgInterface.ifIndex -InterfaceMetric 9999;"
Table = off
[Peer]
internal class DiscordBotHostedService(ILogger<DiscordBotHostedService> logger, DiscordClient discord) : IHostedService
{
private readonly ILogger<DiscordBotHostedService> _logger = logger;
private readonly DiscordClient _discordClient = discord;
public async Task StartAsync(CancellationToken cancellationToken)
{
_discordClient.SessionCreated += OnSessionCreated;
_discordClient.GuildAvailable += OnGuildAvailable;
_discordClient.ClientErrored += OnClientError;
@poqdavid
poqdavid / log1.log
Created July 30, 2024 14:50
A14 4G logcat
07-30 14:17:07.462 7496 7586 I [AUTHFW][TZ]TzUtil: this device is tampered
07-30 14:17:07.462 3352 3540 E dcag : Phenotype API error. Event: # frxm@16847118, EventCode: COMMIT_CONFIG [CONTEXT service_id=51 ]
07-30 14:17:07.462 3352 3540 E dcag : dbyo: 29501: Stale snapshot for com.google.android.libraries.communications.conference.device#com.google.android.apps.tachyon(change count changed - expected 113 but was 111)
07-30 14:17:07.462 3352 3540 E dcag : at dcal.b(:com.google.android.gms@[email protected] (190400-655627182):487)
07-30 14:17:07.462 3352 3540 E dcag : at dcak.i(:com.google.android.gms@[email protected] (190400-655627182):3)
07-30 14:17:07.462 3352 3540 E dcag : at dcag.h(:com.google.android.gms@[email protected] (190400-655627182):18)
07-30 14:17:07.462 3352 3540 E dcag : at dcag.f(:com.google.android.gms@[email protected] (190400-655627182):11)
07-30 14:17:07.462 3352 3540 E dcag : at bpww.fw(:com.google.android.gms@[email protected] (190400-6556