See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
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 |
Made this example to show how to use Next.js router for a 100% SPA (no JS server) app.
You use Next.js router like normally, but don't define getStaticProps
and such. Instead you do client-only fetching with swr
, react-query
, or similar methods.
You can generate HTML fallback for the page if there's something meaningful to show before you "know" the params. (Remember, HTML is static, so it can't respond to dynamic query. But it can be different per route.)
Don't like Next? Here's how to do the same in Gatsby.
These use separate document structures instead of HTML, some are more modular libraries than full editors
<?xml version="1.1" encoding="UTF-8"?> | |
<!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/KeyboardLayout.dtd"> | |
<!-- | |
Data generated Wed Mar 23 01:35:41 2022 | |
Generated by kluchrtoxml_64 build 203 | |
--> | |
<!--Last edited by Ukelele version 351 on 2022-03-23 at 01:45 (GMT+8)--> |
This gist lists challenges you run into when building offline-first applications based on IndexedDB, including open-source libraries like Firebase, pouchdb and AWS amplify (more).
Note that some of the following issues affect only Safari. Out of the major browsers, Chrome's IndexedDB implementation is the best.
When this bug occurs, every time you use the indexeddb, the WAL file grows. Garbage collection doesn't seem to be working, so after a while, you end up with gigabytes of data.
Dear all Github friends,
I moved this gist to the Github repository.
Following this repository https://github.com/nijicha/install_nodejs_and_yarn_homebrew
/* | |
Drafts App Bookmarklets (http://agiletortoise.com/drafts) | |
Author: Sean Korzdorfer | |
Date: 14:01:43 Wed May 02 2012 | |
Nota Bene: It's probably best to have the bookmarklet create a script tag that includes an external JS. | |
See: https://gist.github.com/2777049 | |
Sends the current Mobile Safari Tab to Drafts app as Markdown link with date and time stamps |
interface TLBoundsWithCenter { | |
minX: number | |
midX: number | |
maxX: number | |
minY: number | |
midY: number | |
maxY: number | |
width: number | |
height: number | |
} |
Library | Static / Dynamic | Cartesian / Geographic | kNN | Index containing points | Index containing boxes | Within radius |
---|---|---|---|---|---|---|
rbush | dynamic | 🗺️ cartesian | ❌ | ✔️ | ✔️ | ❌ |
rbush-knn | dynamic | 🗺️ cartesian | ✔️ | ✔️ | ✔️ | ✔️ |
kdbush | static | 🗺️ cartesian | ❌ | ✔️ | ❌ | ✔️ |
geokdbush | static | 🌏 geo | ✔️ | ✔️ | ❌ | ✔️ |
flatbush | static | 🗺️ cartesian | ✔️ | ✔️ | ✔️ | ✔️ |
geoflatbush | static | 🌏 geo | ✔️ | :heavy_che |