This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const rand = (min: number, max: number): number => { | |
return Math.random() * (max - min) + min; | |
} | |
const roundPrec = (number:number, digits: number = 2): number => { | |
return Math.round(number * Math.pow(10, digits)) / Math.pow(10, digits); | |
} | |
const randomOnRing = (x: number, y: number, radius: number): Coordinate => { | |
const radiusSq = radius ^ 2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function SvgData() { | |
return <svg | |
viewBox="0 0 200 100" | |
width="100%" | |
height="auto" | |
> | |
<defs> | |
{/* Pink - Orange */} | |
<linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"> | |
<stop offset="0%" stopColor="#d616e2" stopOpacity="100%" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://onetdev.medium.com/ | |
const frequencyCurve = (x: number): number => { | |
return Math.sqrt(2 * Math.PI * Math.exp(-1 * (x*x) /2 )); | |
} | |
const halfCircle = (x: number): number => { | |
return Math.sin(Math.acos(x)); | |
} | |
const parabola = (x: number): number => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Merge multiple zip files into one single. In case of colission the later | |
* one overwrites the previous one. | |
* @param string[] $sources paths | |
* @param string $target path | |
*/ | |
function zip_archive_merge(array $sources, $target) { | |
$zip = new ZipArchive; |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
["abajgat","abakusz","abál","abált","abaposztó","abárol","abba","abbahagy","abbahagyat","abbahagyogat","abbamarad","abban","abbé","abbeli","abbizony","abbreviatúra","abcúg","abcúgol","ábécé","ábécérend","ábécés","ábécéskönyv","aberráció","aberrált","aberráns","abesszin","abesszíniai","abház","ablak","ablakbélés","ablakdeszka","ablakemelő","ablakfa","ablakfülke","ablakhőmérő","ablakkeret","ablakkönyöklő","ablakköz","ablakmélyedés","ablakmosó","folyadék","ablakmosó","ablaknyílás","ablakocska","ablakos","ablakoz","ablakpárkány","ablakpárna","ablakrács","ablakráma","ablakredőny","ablakrózsa","ablaksor","ablakszárny","ablakszem","ablaktábla","ablaktalan","ablaktisztító","ablaktok","ablaktörlő","ablakú","ablaküveg","ablakvasalás","abnormális","abnormis","abnormitás","abortál","abortusz","ábra","ábrahámhegyi","abrak","abrakadabra","abrakol","abrakos","abrakostarisznya","abraktakarmány","ábránd","ábrándít","ábrándkép","ábrándos","ábrándozás","ábrándozik","ábrándul","ábrándvilág","ábrázat","ábrázol","ábrázolás","ábráz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Generate YOUR OWN KEY!!!! | |
$private_key = <<<EOD | |
-----BEGIN RSA PRIVATE KEY----- | |
MIICXAIBAAKBgQCt6aDJvKu1lMOWwHE8tNRg1IV0edwEdqxweMM11Vh+jL9oWKZK | |
OlBgRHi2qxTng7JuYu01onIdvX/zaEOvvDJhDjOQ5MtP0e7+nzqkY7P0ttP80+oH | |
r0yVzyYcV1j7fjJsWfJ0IK/B2VHg2Zm3m/8blyQa5twFvOoCPvHRfpPDKwIDAQAB | |
AoGAJpxV3DQNEzVB7zgua8Hh3NWSA3gChuMqCZZmEI+bJA1veWUlFhm4Ooc5HaUB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: '3.7' | |
services: | |
db: | |
image: dpage/pgadmin4 | |
ports: | |
- 80:80 | |
- 443:433 | |
environment: | |
PGADMIN_DEFAULT_EMAIL: [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math' show sqrt, max; | |
import 'dart:ui' show lerpDouble; | |
import 'package:flutter/material.dart'; | |
@immutable | |
class CircularRevealClipper extends CustomClipper<Path> { | |
final double fraction; | |
final Alignment centerAlignment; | |
final Offset centerOffset; |
NewerOlder