Skip to content

Instantly share code, notes, and snippets.

View Xottab-DUTY's full-sized avatar
💗

Sultan Luchezarniy Xottab-DUTY

💗
View GitHub Profile
@unmanned-player
unmanned-player / detect-musl.sh
Last active February 25, 2025 16:53
Actually detecting musl library
#! /bin/sh
# SPDX-License-Identifier: WTFPL
# Actually detecting musl libc.
# How it works
# -------------
#
# WARNING - This is a hack and the concept will likely change in future.
@Erfan-Ahmadi
Erfan-Ahmadi / rendering_engine.md
Last active January 15, 2026 07:55
Rendering Engine Development

1. What does the Rendering Engine Need?

  • Rendering Engine
    • Support for Multiple Graphics APIs : OpenGL | Vulkan | DirectX12 | DirectX11 | Metal
    • Content Export Pipeline : Create Maya/Max Plugins to export meshes based on Renderers needs. (Assimp Commercial Licence -> Pay)
    • Texture Compression Libraries
    • Material System : Artists Configure shaders, textures, parameters to import in game
    • Game-side Manager of Models/Materials/Lights
    • Good Visibility System (Frustum/Occlusion) (VisibilityBuffers?)
    • Multi-Threded Submission System to reduce cost of submission to GPU
  • Lighting/Shadow Rendering System
@Erfan-Ahmadi
Erfan-Ahmadi / sampling_hlsl_to_glsl_find_and_replace_regex
Created November 6, 2019 12:27
Regex for sampler when translating HLSL to GLSL
Find: (\w*).Sample\((\w*)
Replace: texture(sampler2D($1, $2)
@klllr
klllr / fr.md
Last active May 18, 2025 06:45 — forked from anonymous/fr.md

Учебные материалы

На английском языке

French in Action

http://rutracker.org/forum/viewtopic.php?t=3623122

Полный курс для изучения французского, состоящий из видеоуроков, аудио, учебника и сборника упражнений. Видео представляет из себя забавный пятидесятисерийный сериал с кучей фансервиса и полностью на французском языке, так что его обязательно стоит смотреть, даже если вы не знаете английского и упражнений делать не будете. На материале каждой серии строятся аудиоуроки, подается новая лексика и грамматика, а также разбираются культурные особенности. Благодаря тому, что курс полностью self-contained, содержит огромное количество упражнений с ответами и способствует погружению в языковую среду, для самостоятельного изучения он является одним из лучших вариантов.

@ghost1372
ghost1372 / Geometry.xaml
Last active February 16, 2026 15:27
More than 3200 icons in Geometry Format based on FontAwesome, ModernUI, Icons8, MaterialLight
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Geometry x:Key="CalendarGeometry">M377.897477 116.291025l265.298718 0 0 47.459125-265.298718 0 0-47.459125ZM888.317416 116.291025 748.229288 116.291025l0 47.459125 123.54866 0c18.167626 0 32.894732 14.727106 32.894732 32.894732l0 92.92987L115.42936 289.574752l0-92.92987c0-18.167626 14.727106-32.894732 32.894732-32.894732l123.54866 0 0-47.459125L131.776437 116.291025c-35.244356 0-63.814389 28.571056-63.814389 63.815412l0.004093 713.966329c0 35.243333 28.571056 63.814389 63.814389 63.814389l756.540979 0c35.244356 0 63.814389-28.571056 63.814389-63.815412l-0.004093-713.966329C952.131805 144.861058 923.560749 116.291025 888.317416 116.291025zM904.67268 337.033877l0 540.498398c0 18.167626-14.727106 32.894732-32.894732 32.894732L148.324092 910.427007c-18.167626 0-32.894732-14.727106-32.894732-32.894732L115.42936 337.033877 904.67268 337.033877zM300.659736 64.801927l47.4
@bkaradzic
bkaradzic / orthodoxc++.md
Last active April 27, 2026 06:43
Orthodox C++

Orthodox C++

This article has been updated and is available here.

@rossy
rossy / dxinteropcaps.c
Last active July 28, 2021 20:46
GL/DX interop capabilities viewer
// gcc dxinteropcaps.c -std=c99 -Wall -o dxinteropcaps -lgdi32 -lopengl32 -ld3d9 -O0 -ggdb3
#define _WIN32_WINNT 0x0600
#define COBJMACROS
#define UNICODE
#define _UNICODE
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <windows.h>