// server.js
const express = require('express');
const multer = require('multer');
const { S3Client, PutObjectCommand, GetObjectCommand, DeleteObjectCommand } = require('@aws-sdk/client-s3');
const { getSignedUrl } = require('@aws-sdk/s3-request-presigner');
const crypto = require('crypto');
const path = require('path');
const fs = require('fs');
Home Page Issues
Navbar:
- The navbar shrinking on scroll is causing user experience problems Need to adjust the behavior to match the design UI
Notice Board and Publication Tab:
apps_folder --> management --> commands --> file_name.py
- For a single model:
python manage.py create_multi_table_admin username [email protected] password --models public.LiveVideo
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
from django.db import models | |
from django.core.validators import MinValueValidator | |
from decimal import Decimal | |
from django.utils import timezone | |
from django.db.models import Sum | |
class PaymentMethod(models.Model): | |
name = models.CharField(max_length=50) | |
is_active = models.BooleanField(default=True) |
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
async def ipn_listener_view( | |
status: str, | |
tran_id: uuid.UUID, | |
val_id: str, | |
amount, | |
store_amount, | |
card_type: str, | |
card_no: str, | |
currency: str, | |
bank_tran_id: str, |
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
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn.min.js"></script> | |
</head> | |
<body> | |
<div x-data="variantApp()" class="p-4"> |
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
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Game - User details</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<script | |
defer | |
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn.min.js" |
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
from locust import HttpUser, task, between | |
import re | |
class QuickstartUser(HttpUser): | |
def extract_links(self, response_content): | |
pattern = r'(/encrypted_video/[^ ]+\.ts)' | |
links = re.findall(pattern, response_content) | |
print('links \n',links) |
- Title - example: Let's learn from the experts!
- short_description - example: Join iou and explore 500+ courses All on demand, all for USD 25/year
- Title - example: Explore Our Best Trending Course
- short_description - example: Sub Title Goes Here
- Title - example: We collaborate with 200+ leading universities and companies
NewerOlder