I'm Aditya
I love Python and Django
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
| <?php | |
| $GLOBALS['conn'] = $dbconn; // Replace it with your own `mysqli_connect` :) | |
| function db_query($sql, $params = array(), $single = true) | |
| { | |
| $stmt = mysqli_prepare($GLOBALS['conn'], $sql); | |
| if (!$stmt) { | |
| // Handle SQL query preparation error | |
| return null; | |
| } |
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
| @import url("https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"); | |
| .emojione { | |
| width: 30px; | |
| padding-left: 6px; | |
| display: inline-flex; | |
| vertical-align: text-top; | |
| } | |
| .tabbed-set { |
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
| import math | |
| class Point: | |
| """Represents a point in 2D space.""" | |
| def __init__(self, x, y): | |
| """ | |
| Initialize a Point object with x and y coordinates. | |
| Args: |
- https://foxy4096.is-a.dev
- https://foxy4096.is-a.dev/JohnBakery
- https://vitary.pythonanywhere.com
- https://yt-discovr.netlify.app
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
| It is F12 | |
| Please remember |
I hereby claim:
- I am foxy4096 on github.
- I am foxy4096 (https://keybase.io/foxy4096) on keybase.
- I have a public key whose fingerprint is 0681 3491 57DC E2F7 ED32 674D 0769 499D 1D72 74EE
To claim this, I am signing this object:
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 import template | |
| from django.template.defaultfilters import stringfilter | |
| from django.contrib.auth.models import User | |
| from django.urls import reverse_lazy | |
| register = template.Library() | |
| @register.filter(name='mention', is_safe=True) | |
| @stringfilter |
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 os import name | |
| import requests | |
| from requests import get | |
| import pandas as pd | |
| from bs4 import BeautifulSoup | |
| import numpy as np | |
| header = {"Accept-Language": "en-us, en;q=0.5"} | |
| url = "https://www.imdb.com/search/title/?groups=top_1000&ref_=adv_prv" |
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
| import datetime | |
| year = int(str(datetime.datetime.today())[0:4]) | |
| class Person: | |
| def __init__(self, name, gender, dob): | |
| self.name = name # Aditya | |
| self.gender = gender # Male | |
| self.dob = dob # 01/02/2005 |
NewerOlder