Skip to content

Instantly share code, notes, and snippets.

View AdiPat's full-sized avatar
😀
Shoot me an e-mail for work queries!

Aditya Patange AdiPat

😀
Shoot me an e-mail for work queries!
View GitHub Profile
@AdiPat
AdiPat / request_level_idempotent_request.py
Created September 2, 2025 15:26
Request Level Idempotency Sample Python (Generic)
# rest_client.py
import time
import uuid
import random
from typing import Any, Dict, Optional, Union
import requests
from requests import Response
from requests.exceptions import Timeout, ConnectionError
@AdiPat
AdiPat / dummy-pdf.worker.js
Created August 29, 2023 13:02
dummy-pdf.worker.js
This file has been truncated, but you can view the full file.
/**
* @licstart The following is the entire license notice for the
* Javascript code in this page
*
* Copyright 2020 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
@AdiPat
AdiPat / cc_fraud.ipynb
Last active April 8, 2019 09:31
Credit Card Fraud Detection: Case study for Data Mining and Business Intelligence Course.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AdiPat
AdiPat / dbms_pracs_sample_1.sql
Last active November 2, 2016 11:03
DBMS Sample questions
/* Drop old tables */
drop table works_on;
drop table project;
drop table employee;
drop table dept;
/* Create table */
@AdiPat
AdiPat / InfixToPostfix.c
Created July 31, 2016 11:18
Infix to Postfix conversion (DSA Lab)
/*
* @author: Aditya Patange
*
* Conversion of infix expression to postfix expression using stack.
* -All uppercase and lower case alphabets are treated as operands
* -Valid operators: -,+,/,*,^ in increasing order of precedence.
* -For now only round brackets are valid. Square and curly braces are invalid.
* Example: (A+B+(C+D)) is valid. {A+B+(C+D)} is invalid.
* -The following code simply converts a "valid" infix expression to a postfix expression
* in order to check validity of an infix expression , an additional subroutine must be added.
@AdiPat
AdiPat / SinglyLinkedList.c
Created July 31, 2016 09:48
Implementation of a singly linked list. (DSA Lab)
/*
* @author: Aditya Patange
*
* Singly Linked list implementation.
* In this implementation , I have not used "head" to store data,
* it simply points to the first node.
* If head is NULL , it means the list is invalid.
*
* All insertion and deletion subroutines return a success/failure flag
* to test the status of the operation.