Developed to show off skills acquired in the Programming Foundations with JavaScript, HTML and CSS by Duke University on coursera.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# Nokia/Alcatel-Lucent router backup configuration tool | |
# G2425 support added by rajkosto on 20/11/2022 | |
# XS-2426G-B support added by rajkosto on 28/02/2023 | |
# | |
# Features: | |
# - Unpack/repack .cfg files generated from the backup and restore functionnality |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# Nokia/Alcatel-Lucent router backup configuration tool | |
# | |
# Features: | |
# - Unpack/repack .cfg files generated from the backup and restore functionnality | |
# in order to modify the full router configuration | |
# - Decrypt/encrypt the passwords/secret values present in the configuration |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#meetup views | |
""" | |
Contains functionality for the meetup endpoints | |
""" | |
from django.contrib.auth.models import User | |
from django.db.models import ProtectedError, Q | |
from django.shortcuts import get_object_or_404 | |
from drf_yasg.utils import swagger_auto_schema | |
from rest_framework import status | |
from rest_framework.permissions import IsAdminUser |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#test_meetups.py | |
""" | |
Tests for the meetup app | |
""" | |
import json | |
from django.urls import reverse | |
meetup_wrong = {"date": "2019-03-07", "start": "10:21:39", "end": "12:21:39"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#conftest.py | |
""" | |
Set up fixtures for the tests | |
""" | |
import pytest | |
from django.contrib.auth import get_user_model | |
from rest_framework.test import APIClient | |
from meetup.models import Meeting, Tag, MeetingTag |