Skip to content

Instantly share code, notes, and snippets.

View s-melnikov's full-sized avatar

Sehii Melnykov s-melnikov

View GitHub Profile
#include <iostream>
#include <SDL.h>
#undef main
struct Point {
int x;
int y;
};
SDL_Window *window;
let seed = Date.now();
function randomA() {
seed = (5 * seed + 3) % 16;
return seed / 16;
}
function randomB() {
seed = (seed * 7919 + 1) & 0xffff;
// upper range is 0xffff (65535) so bring it down to 0-1
@s-melnikov
s-melnikov / easings.css
Created July 30, 2020 13:39 — forked from argyleink/easings.css
Handy CSS properties for easing functions
:root {
--ease-in-quad: cubic-bezier(0.55, 0.085, 0.68, 0.53);
--ease-in-cubic: cubic-bezier(0.55, 0.055, 0.675, 0.19);
--ease-in-quart: cubic-bezier(0.895, 0.03, 0.685, 0.22);
--ease-in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06);
--ease-in-expo: cubic-bezier(0.95, 0.05, 0.795, 0.035);
--ease-in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.335);
--ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
--ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
--ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
@s-melnikov
s-melnikov / Basic Product Engineer Challenge.ts
Last active March 18, 2026 10:28 — forked from 743milan/Basic Product Engineer Challenge.ts
RACEMAKE Product Engineer Challenge — PitGPT Telemetry Analysis
/**
* 🏁 RACEMAKE PRODUCT ENGINEER CHALLENGE 🏁
* ==========================================
*
* CONTEXT
* -------
* PitGPT is an AI race engineer. It analyzes telemetry from racing simulators
* and gives drivers real-time coaching feedback.
*
* Below is a simplified version of our analysis pipeline — split into sections