Skip to content

Instantly share code, notes, and snippets.

View hasanisaeed's full-sized avatar
💥
I wake up early and work hard :)

Saeed hasanisaeed

💥
I wake up early and work hard :)
View GitHub Profile
@hasanisaeed
hasanisaeed / sources.list
Created September 26, 2023 12:55 — forked from hakerdefo/sources.list
Ubuntu 22.04 LTS (Jammy Jellyfish) complete sources.list
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
@hasanisaeed
hasanisaeed / mixins.py
Created January 25, 2022 04:25 — forked from ceolson01/mixins.py
Django Group Required Mixin
from django.core.exceptions import PermissionDenied
class GroupRequiredMixin(object):
"""
group_required - list of strings, required param
"""
group_required = None