Skip to content

Instantly share code, notes, and snippets.

View FFC12's full-sized avatar

Fatih FFC12

View GitHub Profile
WesThorburn /
Last active September 4, 2023 13:43
Linux: Compile C++ to WebAssembly and JavaScript using Emscripten and CMake

Linux: Compile C++ to WebAssembly and JavaScript using Emscripten and CMake

Download and Install Emscripten

  • My preferred installation location is /home/user
  • Get the latest sdk: git clone
  • Enter the cloned directory: cd emsdk
  • Checkout main: git checkout main
  • Install the lastest sdk tools: ./emsdk install latest
  • Activate the latest sdk tools: ./emsdk activate latest
  • Activate path variables: source ./
shivekkhurana /
Created June 25, 2017 07:36
Listen to multiple rethinkdb change feeds with python(3.6) using asyncio
import rethinkdb as r
import asyncio
from typing import Callable, Dict
async def get_connection():
return await r.connect(
patriciogonzalezvivo /
Last active September 28, 2023 12:02
GLSL Noise Algorithms
koute / opengl3_hello.c
Created November 9, 2013 23:16
Minimal SDL2 + OpenGL3 example.
View opengl3_hello.c
Minimal SDL2 + OpenGL3 example.
This file is in the public domain; you can do whatever you want with it.
In case the concept of public domain doesn't exist in your jurisdiction
you can also use this code under the terms of Creative Commons CC0 license,
either version 1.0 or (at your option) any later version; for details see:
uhop / gist:3259255
Created August 4, 2012 18:41
Bezier Shaders & Vector openGL rendering
View gist:3259255