Skip to content

Instantly share code, notes, and snippets.

View jagenjo's full-sized avatar
🙈
Refactoring life

Javi Agenjo jagenjo

🙈
Refactoring life
View GitHub Profile
@jagenjo
jagenjo / express_websocket_server.js
Last active January 23, 2024 17:18
Minimal Node+Express+WS App
//minimal node server that opens HTTP and WebSocket ports
import path from 'path';
import express from 'express'; //for http request
import ExpressWs from 'express-ws' //for websockets
import { fileURLToPath } from 'url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
//create express and express websocket router
@jagenjo
jagenjo / SettingUp Jolt.md
Last active January 23, 2024 17:20
Setting up JOLT Physics from C++

Setting up JOLT Physics from C++

I decided to use JOLT Physics some weeks ago inside my games engine and the process has been slightly painful so here is my findings about how to compile it inside your project.

Requirements

  • cmake: used to create the project
  • visual studio 17 or later (in my case)

Your C++ Project requirements