Skip to content

Instantly share code, notes, and snippets.

View FFC12's full-sized avatar
🎯
Focusing

Fatih FFC12

🎯
Focusing
View GitHub Profile
@WesThorburn
WesThorburn / 1.Instructions.md
Last active September 4, 2023 13:43
Linux: Compile C++ to WebAssembly and JavaScript using Emscripten and CMake
View 1.Instructions.md

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 https://github.com/emscripten-core/emsdk.git
  • 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 ./emsdk_env.sh
@shivekkhurana
shivekkhurana / main.py
Created June 25, 2017 07:36
Listen to multiple rethinkdb change feeds with python(3.6) using asyncio
View main.py
import rethinkdb as r
import asyncio
from typing import Callable, Dict
r.set_loop_type('asyncio')
async def get_connection():
return await r.connect(
db='test',
@patriciogonzalezvivo
patriciogonzalezvivo / GLSL-Noise.md
Last active September 28, 2023 12:02
GLSL Noise Algorithms
View GLSL-Noise.md
@koute
koute / opengl3_hello.c
Created November 9, 2013 23:16
Minimal SDL2 + OpenGL3 example.
View opengl3_hello.c
/*
Minimal SDL2 + OpenGL3 example.
Author: https://github.com/koute
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:
http://creativecommons.org/publicdomain/zero/1.0/
@uhop
uhop / gist:3259255
Created August 4, 2012 18:41
Bezier Shaders & Vector openGL rendering
View gist:3259255