Skip to content

Instantly share code, notes, and snippets.

View ArtemkaKun's full-sized avatar
💻
If you have the right attitude, interesting problems will find you

Artem Yurchenko ArtemkaKun

💻
If you have the right attitude, interesting problems will find you
View GitHub Profile
@seyhajin
seyhajin / readme.md
Last active February 22, 2023 11:21
Minimal sprite rendering example written in C with `SDL2` for windowing, `sokol_gfx` for graphics API using WebGL2/GLES3, `stb_image` for loading image, compiled in WebAssembly with Emscripten

webgl2-wasm-sdl-sokol-sprite

Minimal sprite rendering example written in C with SDL2 for windowing, sokol_gfx for graphics API using WebGL2/GLES3, stb_image for loading image, compiled in WebAssembly with Emscripten.

Step by step

  1. Clone the repositories sokol and stb in the deps folder
  2. Add an image (sky.png) in assets directory
  3. Compile and build with the following command (need Emscripten installed):
@FreddieOliveira
FreddieOliveira / docker.md
Last active December 5, 2025 15:20
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@kraftwerk28
kraftwerk28 / make_cert.sh
Last active July 5, 2020 13:42
Self-signed cert for local development w/ SSL. You will be able to use https://localhost:1234 instead of http, in simple words.
#!/usr/bin/env sh
tmp=${1:-ca-tmp}
mkdir -p $tmp
DEF_ROOT_NAME=RootCA
DEF_SRV_NAME=localhost
DEF_TERM=365
read -p "Name of root cert ($DEF_ROOT_NAME): " root
read -p "Name of server cert ($DEF_SRV_NAME): " srv
read -p "Certificates term in days ($DEF_TERM): " term
@roydejong
roydejong / NativeWinAlert.cs
Last active April 27, 2025 04:58
Unity: NativeWinAlert (Windows MessageBox / Alert Dialog for Unity games)
using System;
using System.Runtime.InteropServices;
/// <see>https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-messagebox</see>
public static class NativeWinAlert
{
[System.Runtime.InteropServices.DllImport("user32.dll")]
private static extern System.IntPtr GetActiveWindow();
public static System.IntPtr GetWindowHandle()
@omnibs
omnibs / 101-rx-samples.md
Last active November 18, 2025 22:15
101 Rx Samples in C#

101 Rx Samples in C#

This was taken from http://rxwiki.wikidot.com/101samples, because I wanted to be able to read it more comfortable with syntax highlighting.

Here's the unedited original, translated to Github Markdown glory:

101 Rx Samples - a work in progress