Skip to content

Instantly share code, notes, and snippets.

View dmnsea's full-sized avatar

dmnsea (ex nek-ra) dmnsea

  • Russia
View GitHub Profile
@dmnsea
dmnsea / !FAB-CLAIM-README.md
Created December 20, 2024 11:54 — forked from wikiti/!FAB-CLAIM-README.md
A script to automatically add all Quixel MegaScans items to your FAB account

Important

This script was built for educational purposes. Due to how FAB APIs are built to handle search pagination, all assets might not be claimable through this script. With the last script update, a total of ~600 scanned pages, with ~14k assets. Please note that, by clicking on the "Claim All" quixel button, you'll already have claimed all assets for future free usage, beyond 2024 (official response). This script simply makes sure that assets are added to a library.

Script to add all quixel megascan items to your FAB account

As quixel megascan items will stop being free after 2024. So, this script will go through all Quixel MegaScan items and add them to your account. Quixel would be working on a tool to automatically add all resources to your FAB account, but I couldn't help myself and I wrote a script to do it.

How to use

@dmnsea
dmnsea / tsconfig.json
Created November 25, 2021 10:56 — forked from KRostyslav/tsconfig.json
tsconfig.json с комментариями.
// Файл "tsconfig.json":
// - устанавливает корневой каталог проекта TypeScript;
// - выполняет настройку параметров компиляции;
// - устанавливает файлы проекта.
// Присутствие файла "tsconfig.json" в папке указывает TypeScript, что это корневая папка проекта.
// Внутри "tsconfig.json" указываются настройки компилятора TypeScript и корневые файлы проекта.
// Программа компилятора "tsc" ищет файл "tsconfig.json" сначала в папке, где она расположена, затем поднимается выше и ищет в родительских папках согласно их вложенности друг в друга.
// Команда "tsc --project C:\path\to\my\project\folder" берет файл "tsconfig.json" из папки, расположенной по данному пути.
// Файл "tsconfig.json" может быть полностью пустым, тогда компилятор скомпилирует все файлы с настройками заданными по умолчанию.
// Опции компилятора, перечисленные в командной строке перезаписывают собой опции, заданные в файле "tsconfig.json".
@dmnsea
dmnsea / dns.md
Created June 27, 2021 18:03 — forked from roge/dns.md
Public DNS Servers

DNS.md

A list of reasonably reliable DNS servers that I've personally tested to ensure that they fully support DNSSEC and do not hijack NXDOMAIN responses.

IPv4

Address Organization Location Service
8.8.8.8 Google Worldwide (Anycast) Google Public DNS
8.8.4.4 Google Worldwide (Anycast) Google Public DNS
@dmnsea
dmnsea / A problem with Windows OpenSSH.md
Last active September 7, 2023 14:53
Failing OpenSSH connection via pubkey-auth. Logs both from server and client

Problem

I installed OpenSSH Server on windows 10 from Win10 -> Settings -> Apps -> Apps & features -> Optional features -> Add a feature -> OpenSSH server

I setup it as described at official docs https://docs.microsoft.com/ru-ru/windows-server/administration/openssh/openssh_install_firstuse

But when I changed sshd_config to deny password-based auth, I become failed with errors Permission denied (publickey,keyboard-interactive).

Both server and client is Windows 10 with OpenSSH Server/Client installed from "Optional Features"

@dmnsea
dmnsea / gist:3af3cdf056073fa6349c50453443af5b
Last active May 30, 2021 17:31 — forked from Ayms/gist:077b114a27450f773939
Monitoring and blocking the bittorrent monitoring spies

Target

Protecting the privacy of the bittorrent users and protecting them from the monitoring spies making their activity much less visible by changing the way they connect to a torrent and setting a method to establish dynamic blocklists and maintain them.

Abstract

Previous research has focused mainly on discovering monitors using trackers, this study focuses on tracking and blocking the monitors using the bittorrent peers and content discovery system only (called the DHT).

The global result is that the spies are organized to monitor automatically whatever exists in the bittorrent network, they are easy to find but difficult to follow since they might change their IP addresses and are polluting the DHT.

@dmnsea
dmnsea / .guide - Running Cloudflare Wrangler in the cloud IDE.md
Last active November 25, 2021 05:23
Running Cloudflare Wrangler in the cloud IDE

What is it

Cloudflare Wrangler is a

CLI tool designed for folks who are interested in using Cloudflare Workers. quote from Github Repository - https://github.com/cloudflare/wrangler

Cloudflare Workers is a service, where you can host javascript code, which will run when you open it's URL. There is no access to filesystem or direct connections to databases, but you can check examples in official docs to decide if you need that or not.

Target of this Repl(project)