This file contains 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
{ | |
"loctvl842/monokai-pro.nvim", | |
config = function() | |
require("monokai-pro").setup({ | |
filter = "spectrum", | |
styles = { | |
comment = { | |
italic = true | |
}, | |
keyword = { |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>AboutToPasteTabsWithCancel</key> | |
<true/> | |
<key>AboutToPasteTabsWithCancel_selection</key> | |
<integer>2</integer> | |
<key>AllowClipboardAccess</key> | |
<true/> |
This file contains 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
def skip_request_logging(function): | |
"""Decorator to skip logging of request body | |
sets kwargs["request"].state.skip_request_logging to True | |
""" | |
@wraps(function) | |
def wrapper(*args, **kwargs): | |
kwargs["request"].state.skip_request_logging = True | |
return function(*args, **kwargs) | |
return wrapper |
This file contains 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
class FileHandler(): | |
"""Handles file like never before. Possible overkill for what it does. | |
- Want to open a file? You got covered. | |
- Want to remove lines from the file? You got covered. | |
- Want to add test to the file? You got covered. | |
Attributes | |
---------- | |
file_name : Name of the file |
This file contains 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
INSER INTO Employees VALUES (0, 'Samantha', 'Roy', 32252), | |
(1, 'Carlos', 'Lopez', 46748), | |
(2, 'Kevin', 'Bush', 37959), | |
(3, 'Theresa', 'Ryan', 63076), | |
(4, 'Samantha', 'Wilson', 36499), | |
(5, 'Justin', 'Waller', 40499), | |
(6, 'Teresa', 'Smith', 42638), | |
(7, 'Charles', 'Spencer', 44112), | |
(8, 'Michael', 'Gonzales', 56319), | |
(9, 'Nicholas', 'Cox', 44365), |
This file contains 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
[ | |
{ | |
"year": 1953, | |
"songs": [ | |
{ | |
"name": "Ye Zindagi Usi Ki Hai, Jo Kisi Ka Ho Gaya, Pyar Hi Me Kho Gaya", | |
"movie": "Anarkali (1953)", | |
"artists": [ | |
"Lata Mangeshkar" | |
] |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<!--Import Google Icon Font--> | |
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | |
<!-- Compiled and minified CSS --> |
This file contains 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
root_notes = [ | |
'A', | |
'A#', | |
'B', | |
'C', | |
'C#', | |
'D', | |
'D#', | |
'E', | |
'F', |
This file contains 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 . import Checksum | |
from django.shortcuts import render | |
from django.conf import settings | |
from django.http import HttpResponse | |
from django.views.decorators.csrf import csrf_exempt | |
from payments.utils import VerifyPaytmResponse | |
import requests | |
def home(request): |
This file contains 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 base64 | |
import string | |
import random | |
import hashlib | |
from Crypto.Cipher import AES | |
IV = b"@@@@&&&&####$$$$" | |
BLOCK_SIZE = 16 |
NewerOlder