Skip to content

Instantly share code, notes, and snippets.

View vahidalvandi's full-sized avatar
🎯
Focusing

vahid alvandi vahidalvandi

🎯
Focusing
View GitHub Profile
@ksaitor
ksaitor / ethereum-payment-metamask.html
Last active March 13, 2024 04:28
How to add Ethereum payments to your site with MetaMask
<!DOCTYPE html>
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
</head>
<body>
<div>
<button class="pay-button">Pay</button>
<div id="status"></div>
</div>
@BenSampo
BenSampo / deploy.sh
Last active July 16, 2024 07:53
Laravel deploy script
# Change to the project directory
cd $FORGE_SITE_PATH
# Turn on maintenance mode
php artisan down || true
# Pull the latest changes from the git repository
# git reset --hard
# git clean -df
git pull origin $FORGE_SITE_BRANCH