Skip to content

Instantly share code, notes, and snippets.

View GermanAizek's full-sized avatar
:shipit:
Red-eyed byte4cker

Herman Semenoff GermanAizek

:shipit:
Red-eyed byte4cker
View GitHub Profile
@GermanAizek
GermanAizek / dns_get_record_from.php
Created August 19, 2024 21:21 — forked from bohwaz/dns_get_record_from.php
PHP script to retrieve a DNS record from a custom nameserver
<?php
/**
* Make a DNS a request to a custom nameserver, this is similar to dns_get_record, but allows you to query any nameserver
* Usage: dns_get_record_from('ns.server.tld', 'A', 'mydomain.tld');
* => ['42.42.42.42']
* @author bohwaz
*/
function dns_get_record_from(string $server, string $type, string $record): array
{
This file has been truncated, but you can view the full file.
======================
Proton: 1721412568 experimental-9.0-20240719
SteamGameId: 2051620
Command: ['/home/debian/.steam/debian-installation/steamapps/common/Enlisted/enlisted_eac_launcher.exe', '-eac_dir', 'EasyAntiCheat/enlisted', '-config:circuit:t=jupiter', '-game:enlisted', '-circuit:jupiter', '-skip_pkg_validation']
Options: {'forcelgadd'}
depot: 0.20240618.92328
pressure-vessel: 0.20240610.0 scout
scripts: 0.20240610.0
sniper: 0.20240618.92328 sniper 0.20240618.92328
This file has been truncated, but you can view the full file.
======================
Proton: 1721412568 experimental-9.0-20240719
SteamGameId: 2051620
Command: ['/home/debian/.steam/debian-installation/steamapps/common/Enlisted/enlisted_eac_launcher.exe', '-eac_dir', 'EasyAntiCheat/enlisted', '-config:circuit:t=jupiter', '-game:enlisted', '-circuit:jupiter', '-skip_pkg_validation']
Options: {'forcelgadd'}
depot: 0.20240618.92328
pressure-vessel: 0.20240610.0 scout
scripts: 0.20240610.0
sniper: 0.20240618.92328 sniper 0.20240618.92328
This file has been truncated, but you can view the full file.
======================
Proton: 1721412568 experimental-9.0-20240719
SteamGameId: 2051620
Command: ['/home/debian/.steam/debian-installation/steamapps/common/Enlisted/enlisted_eac_launcher.exe', '-eac_dir', 'EasyAntiCheat/enlisted', '-config:circuit:t=jupiter', '-game:enlisted', '-circuit:jupiter', '-skip_pkg_validation']
Options: {'forcelgadd'}
depot: 0.20240618.92328
pressure-vessel: 0.20240610.0 scout
scripts: 0.20240610.0
sniper: 0.20240618.92328 sniper 0.20240618.92328
This file has been truncated, but you can view the full file.
======================
Proton: 1721412568 experimental-9.0-20240719
SteamGameId: 2051620
Command: ['/home/debian/.steam/debian-installation/steamapps/common/Enlisted/enlisted_eac_launcher.exe', '-eac_dir', 'EasyAntiCheat/enlisted', '-config:circuit:t=jupiter', '-game:enlisted', '-circuit:jupiter', '-skip_pkg_validation']
Options: {'forcelgadd'}
depot: 0.20240618.92328
pressure-vessel: 0.20240610.0 scout
scripts: 0.20240610.0
sniper: 0.20240618.92328 sniper 0.20240618.92328
======================
Proton: 1721412568 experimental-9.0-20240719
SteamGameId: 2990
Command: ['/home/debian/.steam/debian-installation/steamapps/common/FlatOut 2/FlatOut2.exe']
Options: {'forcelgadd'}
depot: 0.20240618.92328
pressure-vessel: 0.20240610.0 scout
scripts: 0.20240610.0
sniper: 0.20240618.92328 sniper 0.20240618.92328
Kernel: Linux 6.9.10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.9.10-1 (2024-07-19) x86_64
@GermanAizek
GermanAizek / analyze_makefile_ninja.sh
Last active August 18, 2024 22:30
PVS Studio analyze Makefile or Ninja script on Linux
# configure project (CMake or Meson)
# building with trace (Makefile)
pvs-studio-analyzer trace -- make -j8
# building with trace (Ninja)
pvs-studio-analyzer trace -- ninja
# analyze strace_out or compile_commands.json (Makefile)
pvs-studio-analyzer analyze -j8 --intermodular -a "GA;64;OP" -o PVS.log # CLion and Visual Studio
@GermanAizek
GermanAizek / README.md
Last active May 4, 2024 17:21
"ifconfig: command not found" or "iwconfig: command not found"
  1. Update Debian or Ubuntu repositories.
sudo apt update
  1. Install net-tools with apt.
sudo apt install net-tools
@GermanAizek
GermanAizek / README.md
Last active April 12, 2024 15:37
Enable Google Sanitizers in Visual Studio
  1. Address Sanitizer is integrated with Visual Studio IDE. To turn on AddressSanitizer for an MSBuild project, right-click on the project in Solution Explorer and choose Properties. In the Property Pages dialog, select Configuration Properties > C/C++ > General, then modify the Enable Address Sanitizer and Enable Fuzzer Support property.

  2. Choose OK to save your changes.

  3. To build from the IDE, opt out of any incompatible options. For an existing project compiled by using /Od (or Debug mode), you may need to turn off these options:

  • Turn off edit and continue (???)
  • Turn off /RTC1 (Basic Runtime Checks) (Clear field)
@GermanAizek
GermanAizek / README.md
Last active March 27, 2024 17:23
Типы диэлектриков SMD конденсаторов

Виды и разновидности

C0G, X7R… У диэлектриков странные названия и набор самых разных свойств. Далее представлены их характеристики и случаи, когда их использовать лучше всего:

  • C0G/NP0 – самые модные керамические конденсаторы на рынке. Обычно они доступны в диапазоне от 1 пФ до 100 нФ и имеют допуск 5%. NP0 означает “положительный-отрицательный-ноль”, для формы графика ТКЕ конденсатора, которая выглядит плоской во всем диапазоне температур. Именно их следует использовать, когда требуются точные значения и стабильность.

  • X7R – современная рабочая лошадка. Они имеют отличные коэффициенты напряжения и температуры и популярны в диапазоне от 100 пФ до 22 мкФ. Они наиболее широко используются для развязки и имеют широкий диапазон температур от -55°C до 125°C.

  • X5R – аналогичен X7R, но рассчитан на 85°C вместо 125°C.