Follow these instructions to install geoipupdate: https://github.com/maxmind/geoipupdate#installing-on-ubuntu-via-ppa
Install ./jq:
$ sudo apt install jq
| 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 |
| 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; |
| [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] |
| 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 |
| [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 |
Follow these instructions to install geoipupdate: https://github.com/maxmind/geoipupdate#installing-on-ubuntu-via-ppa
Install ./jq:
$ sudo apt install jq
| #!/system/bin/sh | |
| NEW_SUBNET='192.168.43' | |
| WIFI_INTERFACE='wlan0' | |
| WIFI_INTERFACE_INFO=$(ip addr show dev ${WIFI_INTERFACE} | grep -m1 "$WIFI_INTERFACE:") | |
| if [[ "$WIFI_INTERFACE_INFO" == *"state UP"* ]]; then | |
| LOCAL_TABLE=$(awk '$2=="local_network" {print $1}' /data/misc/net/rt_tables) |
| #!/bin/bash | |
| DATAFILE=/home/ubuntu/scripts/dbipdata/lastupdate | |
| DATABASEDIR=/home/ubuntu/geoip | |
| DATABASENAME=citylite.mmdb | |
| DATABASEFULLPATH="/home/ubuntu/geoip/citylite.mmdb" | |
| CURRENTDATE=`date +%Y-%m` | |
| LASTUPDATE=`` |
| MS.Internal.PtsHost.UnsafeNativeMethods.PTS.SecondaryException | |
| HResult=0x80131500 | |
| Message=The calling thread cannot access this object because a different thread owns it. | |
| Source=WindowsBase | |
| StackTrace: | |
| at System.Windows.Threading.Dispatcher.VerifyAccess() | |
| at System.Windows.DependencyObject.GetValue(DependencyProperty dp) | |
| at System.Windows.Documents.Paragraph.get_KeepWithNext() | |
| at MS.Internal.Text.DynamicPropertyReader.GetKeepWithNext(DependencyObject element) | |
| at MS.Internal.PtsHost.BaseParagraph.GetParaProperties(FSPAP& fspap, Boolean ignoreElementProps) |