Skip to content

Instantly share code, notes, and snippets.

View nosqd's full-sized avatar
🤡
replaced by AI

Dmitry nosqd

🤡
replaced by AI
View GitHub Profile
@nosqd
nosqd / ls.c
Created February 1, 2026 21:52
simple ls implmentation in C
#include <dirent.h>
#include <grp.h>
#include <linux/limits.h>
#include <pwd.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
@nosqd
nosqd / main.jai
Created January 8, 2026 20:11
Jai + X11 + wgpu-native Triangle
#import "Window_Creation";
#import "Input";
#import "Basic";
#import "Math";
x11 :: #import "X11";
wgpu :: #import "wgpu";
WINDOW_WIDTH :: 1366;
WINDOW_HEIGHT :: 768;
win: Window_Type;
@nosqd
nosqd / main.c
Created January 30, 2024 20:58
C is OOP Language right now
#include <stdio.h>
#include <stdlib.h>
typedef struct
{
int x;
int y;
} base;
typedef struct {
@nosqd
nosqd / TextBuilder.java
Created July 7, 2023 11:36
TextBuilder
// http://web.archive.org/web/20210510030327/https://gist.github.com/ReflxctionDev/84a5753a69f426f48ffe75f7ab3adcbb
// https://bukkit.org/threads/textbuilder-create-json-messages-easily.473008/
import org.apache.commons.lang3.Validate;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.Optional;
@nosqd
nosqd / .env
Created May 30, 2022 08:19
Telegraf + Express
# .env
TOKEN=<TOKEN>
PORT=80
HOST=0.0.0.0