Skip to content

Instantly share code, notes, and snippets.

View iam-mhaseeb's full-sized avatar
🧑‍💻
Passionate Software Engineer

Muhammad Haseeb iam-mhaseeb

🧑‍💻
Passionate Software Engineer
View GitHub Profile
@iam-mhaseeb
iam-mhaseeb / gist:1e09485444d9aa384a1e61c86b1fd3de
Created January 5, 2022 16:58 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
@iam-mhaseeb
iam-mhaseeb / EDX_ DJANGO_EMAIL_CONFIGURATIONS.md
Last active April 22, 2020 07:36 — forked from asadmanzoor93/EDX_ DJANGO_EMAIL_CONFIGURATIONS.md
Guide to enable django email service in edX locally

To Enable Django Email Service Locally:

  • First you need valid Gmail Account
  • edX installed on your local system in docker

Steps to Follow:

  1. Go to devstack.py located at lms/env/ and cms/env.
  2. Find the EMAIL_BACKEND flag and change it to 'django.core.mail.backends.smtp.EmailBackend
  3. Add few more flags: