This file contains 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
npx react-native@latest init <APP_NAME> && cd <APP_NAME> && mkdir src && cd src && mkdir Screens && mkdir Components && mkdir Providers && mkdir Config |
This file contains 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 | |
# dependency: apt install whois | |
if [ "$#" == "0" ]; then | |
echo "You need tu supply at least one argument!" | |
exit 1 | |
fi | |
echo "starting..." | |
DOMAINS=( '.link' '.ly' '.com' '.co.uk' '.net' '.info' '.mobi' \ | |
'.org' '.tel' '.biz' '.tv' '.cc' '.eu' '.ru' \ |
This file contains 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
// Algo that generates unique number from id of php | |
// Algo V1.0 by Salman Qureshi (@hotheadhacker) date 08/11/2021 | |
// TODO: Future add timestamp base uniqueness too | |
public function codeGenerator($id){ | |
// for len 6 | |
//Step 1: Get Base64 | |
$code = base64_encode($id); | |
This file contains 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
{ | |
"quotes": [ | |
{ | |
"quote":"Life isn’t about getting and having, it’s about giving and being.","author":"Kevin Kruse"}, | |
{ | |
"quote":"Whatever the mind of man can conceive and believe, it can achieve.","author":"Napoleon Hill"}, | |
{ | |
"quote":"Strive not to be a success, but rather to be of value.","author":"Albert Einstein"}, | |
{ |