FROM node:fermium-alpine AS builder | |
WORKDIR /app/builder | |
COPY . . | |
# https://github.com/nodejs/docker-node/issues/384#issuecomment-305208112 | |
RUN apk --no-cache add --virtual native-deps \ | |
git g++ gcc libgcc libstdc++ linux-headers make python && \ | |
yarn global add --silent node-gyp &&\ | |
yarn --silent && \ | |
apk del native-deps |
Instructions on how to install the CMake tool on macOS.
First step should be to unsinstall any previous CMake installation. This step can be skipped if no CMake version was previously installed.
To uninstall any previous CMake installations use the following commands:
The goal is to package a server-side rendered Next.js app as SPA for capacitor.
Pages with dynamic routes/data use getServerSideProps(). For capacitor we need at least one page that can be rendered statically, preferably the index page.
When there are pages that use getServerSiedeProps()
we can't use next export
(it will fail with an error).
Serial Keys: | |
FU512-2DG1H-M85QZ-U7Z5T-PY8ZD | |
CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD | |
GV7N2-DQZ00-4897Y-27ZNX-NV0TD | |
YZ718-4REEQ-08DHQ-JNYQC-ZQRD0 | |
GZ3N0-6CX0L-H80UP-FPM59-NKAD4 | |
YY31H-6EYEJ-480VZ-VXXZC-QF2E0 | |
ZG51K-25FE1-H81ZP-95XGT-WV2C0 | |
VG30H-2AX11-H88FQ-CQXGZ-M6AY4 |
#include <OpenGL/gl3.h> | |
#include <SDL2/SDL.h> | |
#define SOKOL_IMPL | |
#define SOKOL_GLCORE33 | |
#include <sokol_gfx.h> | |
#define STB_IMAGE_IMPLEMENTATION | |
#include <stb_image.h> | |
#define CODE(...) #__VA_ARGS__ |
--[[ | |
Original Author: https://github.com/Leandros | |
Updated Author: https://github.com/jakebesworth | |
MIT License | |
Copyright (c) 2018 Jake Besworth | |
Original Gist: https://gist.github.com/Leandros/98624b9b9d9d26df18c4 | |
Love.run 11.X: https://love2d.org/wiki/love.run | |
Original Article, 4th algorithm: https://gafferongames.com/post/fix_your_timestep/ | |
Forum Discussion: https://love2d.org/forums/viewtopic.php?f=3&t=85166&start=10 |
#include <SDL.h> | |
#include <glad\glad.h> | |
#include <nanovg.h> | |
#define NANOVG_GL3_IMPLEMENTATION | |
#include <nanovg_gl.h> | |
#include <nanovg_gl_utils.h> // For framebuffer utilities not shown in this code | |
#include <string> | |
#include <iostream> | |
#include <iomanip> // for setw |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
// initializing | |
var renderer = PIXI.autoDetectRenderer(800, 600, { antialias: true, backgroundColor : 0xf7f7f7 }); | |
renderer.view.style.borderStyle = "solid"; | |
renderer.view.style.borderColor = "#bbbbbb"; | |
renderer.view.style.borderWidth = "1px"; | |
document.body.appendChild(renderer.view); | |
// create the root of the scene graph | |
var stage = new PIXI.Container(); | |
stage.interactive = true; |