Skip to content

Instantly share code, notes, and snippets.

Avatar
😰
This really should not take 19 minutes to build.

Alex. Variiuz

😰
This really should not take 19 minutes to build.
View GitHub Profile
@Variiuz
Variiuz / jwtRS256.sh
Created Dec 27, 2019 — forked from ygotthilf/jwtRS256.sh
How to generate JWT RS256 key
View jwtRS256.sh
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
cat jwtRS256.key
cat jwtRS256.key.pub
@Variiuz
Variiuz / simple_functions.php
Created Feb 23, 2019
PHP - Lower, Higher, Same functions
View simple_functions.php
function isLowerThan($num, $as){
return $num < $as ? true : false;
}
function isHigherThan($num, $as){
return $num > $as ? true : false;
}
function isSameThan($num, $as){
return $num === $as ? true : false;
}
View keybase.md

Keybase proof

I hereby claim:

  • I am variiuz on github.
  • I am variiuz (https://keybase.io/variiuz) on keybase.
  • I have a public key ASCC_CGQl9GjuinplDMQypp7G9R-paIhv1VZGt7OVa1ViQo

To claim this, I am signing this object: