Skip to content

Instantly share code, notes, and snippets.

View tusuii's full-sized avatar
🎯
Focusing

subodh kamble tusuii

🎯
Focusing
View GitHub Profile
@tusuii
tusuii / quote.json
Last active August 3, 2023 15:30
quote
[
{
"quote": "Success is not final, failure is not fatal: It is the courage to continue that counts.",
"author": "Winston Churchill",
"tags": ["success", "courage", "failure"]
},
{
"quote": "The only way to do great work is to love what you do.",
"author": "Steve Jobs",
"tags": ["inspiration", "work", "passion"]
[
{
"quote": "Life is what happens when you're busy making other plans.",
"author": "John Lennon",
"tags": ["life", "inspiration"]
},
{
"quote": "The only way to do great work is to love what you do.",
"author": "Steve Jobs",
"tags": ["work", "inspiration"]
@tusuii
tusuii / falcon_pdf_bot.py
Created July 16, 2023 12:16 — forked from abhishekkrthakur/falcon_pdf_bot.py
This is a reference to the YouTube tutorial here: https://youtu.be/hSQY4N1u3v0
import argparse
from pdfminer.high_level import extract_text
from sentence_transformers import SentenceTransformer, CrossEncoder, util
from text_generation import Client
PREPROMPT = "Below are a series of dialogues between various people and an AI assistant. The AI tries to be helpful, polite, honest, sophisticated, emotionally aware, and humble-but-knowledgeable. The assistant is happy to help with almost anything, and will do its best to understand exactly what is needed. It also tries to avoid giving false or misleading information, and it caveats when it isn't entirely sure about the right answer. That said, the assistant is practical and really does its best, and doesn't let caution get too much in the way of being useful.\n"
PROMPT = """"Use the following pieces of context to answer the question at the end.
If you don't know the answer, just say that you don't know, don't try to
@tusuii
tusuii / security.md
Created July 7, 2023 17:41
Security (Cyber Security and Risk Assessment)

Practical 1 : Exploring and building a verification lab for penetration testing (Kali Linux)

1. Download Kali Linux:

a. Visit the official Kali Linux website at https://www.kali.org/downloads/.

b. Choose the appropriate version for your system (e.g., 64-bit ISO).

c. Click on the download link to start the download process.

d. Save the ISO file to a location on your computer.

@tusuii
tusuii / DS_V.py
Last active July 7, 2023 15:49
MSc Data Science (Data Visualization) codes snippets
# practical 1 : Create one-dimensional data using series and perform various operations on it
import numpy as np
# Create a one-dimensional data series
data = np.array([1, 2, 3, 4, 5, 6])
print("Data Series:", data)
# mathematical operations
@tusuii
tusuii / GoogleDorking.md
Created November 10, 2021 06:40 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@tusuii
tusuii / doom.txt
Created June 25, 2020 13:59 — forked from hjertnes/doom.txt
Doom Emacs Cheatsheet
SPC
SPC: find file
, switch buffer
. browse files
: MX
; EX
< switch buffer
` eval
u universal arg
x pop up scratch