Skip to content

Instantly share code, notes, and snippets.

View onetdev's full-sized avatar

Koller Konrád onetdev

View GitHub Profile
@onetdev
onetdev / canvas-noise-map-slicer.ts
Last active October 4, 2022 12:44
3D noise map slice render supporting
import { createNoise3D } from 'simplex-noise';
// You will need an HTML with a `<cavas id="canvas" />` and `<span id='fps'>` and this ts file.
// This script only uses speed and doesn't care about frame draw time delta.
// Samples:
// - https://www.youtube.com/watch?v=ApI1m78MvAQ
// - https://www.youtube.com/watch?v=TPkWzFi1DrA
// - https://www.youtube.com/shorts/g-l_s-GkMCw (this is my favorite)
const config = {
@onetdev
onetdev / well-known-scans.sh
Last active November 30, 2023 10:03
Scan .well-known URIs for a path
#!/bin/bash
echo "For full list of well-known urls: https://en.wikipedia.org/wiki/Well-known_URI"
scanBaseUri=$1
outputPath="./well-known-scans"
if test -z "$scanBaseUri"
then
echo "You must provide param for domain/path scan"
exit 0
else