Skip to content

Instantly share code, notes, and snippets.

View mohamm6d's full-sized avatar
🤗

Mohammad Hadizadeh mohamm6d

🤗
View GitHub Profile
@mohamm6d
mohamm6d / campaign.html
Created April 11, 2021 15:41
Campaign container with cookie-based password
<!--- Starting april 2021 campaign container -->
<div id="campaign-container">
<img src="http://s.mmgo.io/t/CAm7" alt="motionmailapp.com" />
<div class="form-container">
Enter password for early-access to this campaign
<input type="password" placeholder="Enter password here" name="" id="campaign_password">
<button id="campaign_button">Let me in</button>
</div>
</div>
<style>
@mohamm6d
mohamm6d / laravel.packages
Created February 9, 2022 15:28
Useful Laravel Packages
A list of all the videos in the course
Intro Video and Thanks
Categories Explained
Laravel Cashier
Laravel Dusk
Laravel Envoy
Laravel Horizon
Laravel Socialite
Laravel Passport
Laravel Passport w/ Socialite
@mohamm6d
mohamm6d / index.js
Created May 28, 2024 19:11
JSON-Validator
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request));
});
const API_URL = 'https://dummyjson.com/test';
const POSTMARK_URL = 'https://api.postmarkapp.com/email';
const POSTMARK_API_KEY = '';
const EMAIL_PAYLOAD_TEMPLATE = {
"From": "from@example.com",
"To": "receiver@example.com",