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
<html> | |
<head> | |
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"> | |
</head> | |
<body> | |
<div class="min-h-screen flex flex-col justify-center text-center"> | |
<!-- Make sure the following div id (OTPInput) is the same in the Javascipt --> | |
<form action="#" method="post"> | |
<!-- This is the div where the otp fields are generated by Javascript --> | |
<div class="flex justify-center " id="OTPInput"> |
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
# Stop all containers | |
docker stop `docker ps -qa` | |
# Remove all containers | |
docker rm `docker ps -qa` | |
# Remove all images | |
docker rmi -f `docker images -qa ` |
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 | |
DEFAULT_GITREPO=<repo-name> | |
DEFAULT_GITACCOUNT=<user/org-name> | |
DEFAULT_GITRIGHT_DELETE= | |
DEFAULT_GITRIGHT_CREATE= | |
CURRDIR=$(pwd) | |
echo "" |
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
# source: https://www.bram.us/2020/01/16/squash-all-git-commits-with-git-squash-all/ | |
git config --global alias.squash-all '!f(){ git reset $(git commit-tree HEAD^{tree} -m "${1:-🎉 First commit}");};f' | |
git squash-all | |
git push --force origin master |
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 | |
OVERWRITE_EXISTING=0 | |
CLEANUP_DESTINATION=1 | |
# relatibe path (from script location) to java storage path | |
DIR_DESTINATION="./java_portable" | |
SITE_OPENJDK="https://jdk.java.net/archive/" | |
# ----------------------- DO NOT EDIT BELOW THIS LINE ----------------------- |