Skip to content

Instantly share code, notes, and snippets.

@hellodongi1
hellodongi1 / orthodoxc++.md
Created July 10, 2025 13:19 — forked from bkaradzic/orthodoxc++.md
Orthodox C++

Orthodox C++

What is Orthodox C++?

Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.

Why not Modern C++?

@hellodongi1
hellodongi1 / custom_game_engines_small_study.md
Created July 8, 2025 00:53 — forked from raysan5/custom_game_engines_small_study.md
A small state-of-the-art study on custom engines

CUSTOM GAME ENGINES: A Small Study

a_plague_tale

WARNING: Article moved to separate repo to allow users contributions: https://github.com/raysan5/custom_game_engines

A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.

Nowadays lots of companies choose engines like [Unreal](https:

@hellodongi1
hellodongi1 / movingAvg.c
Created July 8, 2025 00:29 — forked from bmccormack/movingAvg.c
Moving average example in C
#include <stdio.h>
int movingAvg(int *ptrArrNumbers, long *ptrSum, int pos, int len, int nextNum)
{
//Subtract the oldest number from the prev sum, add the new number
*ptrSum = *ptrSum - ptrArrNumbers[pos] + nextNum;
//Assign the nextNum to the position in the array
ptrArrNumbers[pos] = nextNum;
//return the average
return *ptrSum / len;
@hellodongi1
hellodongi1 / README.md
Created July 7, 2025 22:43 — forked from zaro/README.md
SDXL Pixel Art ComfyUI Workflow

How to use

  1. Start ComfyUI
  2. Download 'Stable Diffusion XL base model'(sd_xl_base_1.0.safetensors) from Comfy UI Model manager
  3. Download PixelArt model from : https://civitai.com/models/120096 and put the file in ComfyUI/models/loras/
  4. Load the JSON
#include "animation.h"
#include "lib/array.h"
#include "lib/assert.h"
#include "lib/math.h"
#include "lib/typedefs.h"
#include "renderer.h"
#include "vendor/cglm/types.h"
void apply_joint_transform_recursive(Joint_Array joints,
mat4_Array joint_matrices, u32 joint_idx,
@hellodongi1
hellodongi1 / miui-blotware-apps.md
Created December 5, 2024 08:53 — forked from mcxiaoke/miui-blotware-apps.md
MIUI 13/14 bloatware apps, updated at 20240816

对于所有应用,不建议直接删除,使用adb shell pm disable-user package-name禁用即可,方便出问题时恢复。

DO NOT UNINSTALL:

  • com.miui.securitycenter
  • com.miui.securityadd
  • com.xiaomi.finddevice

(Don’t uninstall these three apps or services from your Xiaomi device. Otherwise, you may encounter device bricking or bootloop issues.)