Skip to content

Instantly share code, notes, and snippets.

View mi-hal's full-sized avatar

Michal mi-hal

View GitHub Profile
@mi-hal
mi-hal / gist:c5b76be754dc4b6898e1407412142a5d
Created June 5, 2024 19:53 — forked from dfeldman/gist:5a5630d28b8336f403123c071cfdac9e
Database Schema for Microsoft's Copilot+Recall feature
****** SemanticTextStore.db :
CREATE TABLE si_db_info (
schema_version INTEGER
);
CREATE TABLE si_items (
id BLOB(16) PRIMARY KEY NOT NULL
);
CREATE TABLE si_diskann_graph (
id INTEGER PRIMARY KEY,
@mi-hal
mi-hal / web_scrap.py
Created February 24, 2024 10:45 — forked from harsh546/web_scrap.py
Web Scrapring Price Comparison
# Code by Harsh
# Python program that compares the price of a product on Amazon and Flipkart using web scraping.
"""
First, you need to install the requests and beautifulsoup4 libraries.
You can do this by running the following command in your terminal or command prompt:
pip install requests beautifulsoup4
"""
import requests
from bs4 import BeautifulSoup
# Terminal Cheat Sheet
pwd # print working directory
ls # list files in directory
cd # change directory
~ # home directory
.. # up one directory
- # previous working directory
help # get help
-h # get help
@mi-hal
mi-hal / dlink_dwr_cred.py
Created February 14, 2022 22:01 — forked from paralax/dlink_dwr_cred.py
D-Link Router Credential Retrieval