Contains a single docker compose file which can be used to used to create a moodle server locally.
Build and run: sh run.sh
Portal Documentaion: https://docs.moodle.org/310/en/Main_page
| import datetime as dt | |
| import requests | |
| from smtplib import SMTP | |
| from email.mime.multipart import MIMEMultipart | |
| from email.mime.text import MIMEText | |
| import time | |
| import pandas as pd | |
| from requests.sessions import session | |
| SENDER_EMAIL = "[email protected]" |
| # build an image | |
| docker build . | |
| # build docker image with a tag (recommended) | |
| docker build -t <tag> . | |
| # run an image | |
| docker run <image/tag> | |
| # run an image in background |
| #!/bin/bash | |
| ## Usage: | |
| ## `./create-assignment.sh <directory> <target> <extension>` | |
| ## Example: | |
| ## `./create-assignment.sh Assignment-1/Day-1 23_Hello_world_A7 java` | |
| directory=$1 | |
| target=$2 | |
| extension=$3 |
Contains a single docker compose file which can be used to used to create a moodle server locally.
Build and run: sh run.sh
Portal Documentaion: https://docs.moodle.org/310/en/Main_page
| # imports | |
| from selenium.webdriver import Chrome | |
| from selenium.common.exceptions import NoSuchElementException | |
| from selenium.webdriver.common.keys import Keys | |
| from selenium.webdriver.common.action_chains import ActionChains | |
| import time | |
| URL = "https://twitter.com" | |
| # message |