- ๐ Hi, Iโm @bilelz
- ๐ Iโm interested in the web
- ๐ฑ Iโm currently learning the web
- ๐๏ธ Iโm looking to collaborate on the web
- ๐ซ How to reach me : bilelz.dev
-
Bilelz
- Paris, France
- https://bilelz.github.io
- @bilelz
Pinned Loading
-
-
-
PKCE Code Verifier and Code Challeng...
PKCE Code Verifier and Code Challenge Generator without externals libs (vanilla js). Demo : https://codepen.io/bilelz/full/YzNozBe 1function generateCodeVerifier() {
2return Array(128)
3.fill('0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~')
4.map(x => x[Math.floor(crypto.getRandomValues(new Uint32Array(1))[0] / (0xffffffff + 1) * x.length)])
5.join('');
-
Generate app version file from packa...
Generate app version file from package.json and git | for angular or other frameworks 1/*
2From https://gist.github.com/bilelz/04707e300811d2b7fe3815ede073422c
3inspired by https://medium.com/@amcdnl/version-stamping-your-app-with-the-angular-cli-d563284bb94d
4*/
5const fs = require('fs');
-
HTML's < dialog > element - feature...
HTML's < dialog > element - feature detection 1if (!!document.createElement("dialog").showModal) {
2console.log('Native support: OK ๐')
3}else{
4console.log('Native support: KO ๐ญ')
5}
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.