Skip to content

Instantly share code, notes, and snippets.

View yeti0904's full-sized avatar

yeti yeti0904

View GitHub Profile
@yeti0904
yeti0904 / rust_detector.d
Last active February 27, 2024 17:11
Rust detector
module rustdetector.app;
import std.file;
import std.path;
import std.stdio;
import std.algorithm;
string[] rustyThingsSource = [
"svtu0svtud",
"joefy/dsbuft/jp"
@yeti0904
yeti0904 / box.c
Created August 13, 2021 13:35
Terminal resizeable box
#include <stdio.h>
#include <unistd.h>
#include <math.h>
#include <stdbool.h>
#include <sys/ioctl.h>
#define clear() printf("\033[H\033[J")
#define gotoxy(x,y) printf("\033[%d;%dH", (y), (x))
void limitFPS(int fps) {