Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Ahmed Shahriar Sakib ahmedshahriar

🏠
Working from home
View GitHub Profile
@doug-ol
doug-ol / mongodb_live_atlas_search.ipynb
Last active May 3, 2022
Jupyter Notebook for Atlas Search Talk at MongoDB.live - From A to Autocomplete
View mongodb_live_atlas_search.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@PlainSight
PlainSight / game.py
Last active Aug 22, 2022
Simple Multiplayer Python Game and Server
View game.py
import pygame, sys
from pygame.locals import *
import pickle
import select
import socket
WIDTH = 400
HEIGHT = 400
BUFFERSIZE = 2048
@mbejda
mbejda / Top-1000-Celebrity-Twitter-Accounts.csv
Last active Jan 7, 2023
Top 1000 Celebrity Twitter Accounts (twitter,domain,name,type)
View Top-1000-Celebrity-Twitter-Accounts.csv
twitter domain name type
katyperry katyperry.com KATY PERRY celebrity
justinbieber smarturl.it Justin Bieber celebrity
taylorswift13 grmypro.co Taylor Swift celebrity
rihanna rihannanow.com Rihanna celebrity
ladygaga The Countess celebrity
jtimberlake justintimberlake.com Justin Timberlake celebrity
TheEllenShow ellentube.com Ellen DeGeneres celebrity
britneyspears britney.lk Britney Spears celebrity
Cristiano Cristiano Ronaldo celebrity
@WayneSan
WayneSan / authentication.py
Last active Dec 29, 2022
PyJWT + Django REST framework 2
View authentication.py
import jwt
from django.conf import settings
from django.contrib.auth.models import User
from rest_framework import exceptions
from rest_framework.authentication import TokenAuthentication
class JSONWebTokenAuthentication(TokenAuthentication):
@jonashaag
jonashaag / 0-howto-listfield-django-admin.rst
Created Sep 7, 2011
Howto use ListFields in Django's admin
View 0-howto-listfield-django-admin.rst

Howto use ListFields in Django's admin

Problem

Consider this blog post model:

models.py