Skip to content

Instantly share code, notes, and snippets.

View michojekunle's full-sized avatar
🎯
Focusing

AMD michojekunle

🎯
Focusing
View GitHub Profile
@LordGhostX
LordGhostX / validate_email.py
Last active August 13, 2023 17:09
RegEX to validate email
# validate email addresses
def validate_email(email):
pattern = r"(^(?!-|\.)([a-zA-Z0-9._%+-]+)@(?!-)[a-zA-Z0-9.-]+(?<=[a-zA-Z0-9])\.[a-zA-Z]{2,}$)"
if re.match(pattern, email):
return True
else:
return False
if __name__ == "__main__":
@adrianhajdin
adrianhajdin / App.css
Created April 21, 2023 09:58
Build and Deploy Your Own ChatGPT AI SaaS Business with React
@tailwind base;
@tailwind components;
@tailwind utilities;
/*
Note: The styles for this gradient grid background is heavily inspired by the creator of this amazing site (https://dub.sh) – all credits go to them!
*/
.main {
width: 100vw;
@adrianhajdin
adrianhajdin / App.css
Last active June 1, 2024 09:14
Build and Deploy a Full Stack Realtime Chat Messaging App with Authentication & SMS Notifications
:root {
--primary-color: #005fff;
--primary-color-alpha: #005fff1a;
}
html,
body {
margin: 0;
padding: 0;
height: 100%;