I hereby claim:
- I am kristonitas on github.
- I am kristupas (https://keybase.io/kristupas) on keybase.
- I have a public key whose fingerprint is C93B 53D3 B594 6406 A307 6EF0 06DE 83CA 71EB FB46
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
A stateless (no database, persistence is only client side sessions) passport
and express
app that can authenticate with either Facebook or Google through OAuth2. A demo deployment.
https://github.com/Kristonitas/express-auth-test
An express
ap that generates mock images using HTML Canvas API inside node. It is configured to be using typescript
and is served using Nginx
.
# Copyright 2023 Kristupas Stumbrys | |
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. | |
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | |
# See https://www.gnu.org/licenses/gpl-3.0.en.html | |
# spec |
// Stores the result match, can be used to store best current match | |
type Match = { | |
// the chars that are in the longest consecutive sequence (char[]) | |
chars: string; | |
// start index in original sequence (size_t) | |
startIndex: number; | |
// length of the matching sequence (size_t) | |
length: number; | |
}; |