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 fitz # PyMuPDF is also known as fitz | |
# List of PDFs to merge | |
pdf_files = ['file1.pdf', 'file2.pdf', 'file3.pdf'] | |
# Create a new empty PDF | |
output_pdf = fitz.open() | |
# Loop through each file and insert pages | |
for file in pdf_files: |
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
Permissions | Opera One | Edge | Chrome | Firefox | Vivaldi | |
---|---|---|---|---|---|---|
Application Links - Allows apps to automatically open when launched from a link | No | Yes | No | No | No | |
Augmented reality - Ask when a site wants to create a 3D map of your surroundings or track camera position | Yes | Yes | Yes | No | Yes | |
Automatic downloads - Sites can ask to automatically download multiple files | Yes | Yes | Yes | No | Yes | |
Automatic full screen - Sites use this feature to enter full screen automatically. Typically, entering full screen requires user interaction.' | Yes | No | Yes | No | No | |
Automatic picture-in-picture - Sites can enter picture -in picture automatically | Yes | Yes | Yes | No | No | |
Autoplay - Allow or block media autoplay | No | Yes | No | Yes | Yes | |
Auto-verify - Sites can help verify you're not a bot | Yes | No | No | No | No | |
Background sync - Recently closed sites can finish sending and receiving data | Yes | Yes | Yes | No | Yes | |
Bluetooth Devices | No | No | No | No | Yes |
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 requests | |
import csv | |
# API endpoint with relevant fields | |
api_url = ( | |
"https://in.openfoodfacts.org/facets/categories/paneer?" | |
"fields=code,brands,quantity,product_name,energy-kcal_100g,carbohydrates_100g," | |
"fat_100g,calcium_100g,cholesterol_100g,saturated-fat_100g,proteins_100g," | |
"salt_100g,sugars_100g,fiber_100g,nutriscore_grade,nova_group&json=1" | |
) |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Things Near Me</title> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" /> | |
<style> | |
/* General Styles */ |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>IndexedDB Example</title> | |
</head> | |
<body> | |
<h1>IndexedDB Example</h1> | |
<form id="dataForm"> |
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
Domain | Subtopic | Description | |
---|---|---|---|
Domain 1: Introduction to Git and GitHub | Git and GitHub Basics | Describe version control | |
Domain 1: Introduction to Git and GitHub | Git and GitHub Basics | Define distributed version control | |
Domain 1: Introduction to Git and GitHub | Git and GitHub Basics | Describe Git | |
Domain 1: Introduction to Git and GitHub | Git and GitHub Basics | Describe GitHub | |
Domain 1: Introduction to Git and GitHub | Git and GitHub Basics | Explain the difference between Git and GitHub | |
Domain 1: Introduction to Git and GitHub | Git and GitHub Basics | Describe a GitHub repository | |
Domain 1: Introduction to Git and GitHub | Git and GitHub Basics | Describe a commit | |
Domain 1: Introduction to Git and GitHub | Git and GitHub Basics | Describe branching | |
Domain 1: Introduction to Git and GitHub | Git and GitHub Basics | Define a remote in Git terminology |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Weather NOW</title> | |
<style> | |
body { | |
margin: 0; | |
padding: 20px; |
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
cityName | localityName | localityId | latitude | longitude | device_type | |
---|---|---|---|---|---|---|
Ahmedabad | Paldi | ZWL003133 | 22.994998 | 72.557474 | 2 - Rain gauge system | |
Ahmedabad | Shahibag | ZWL002302 | 23.058607 | 72.592212 | 2 - Rain gauge system | |
Ahmedabad | Navrangpura | ZWL003747 | 23.038426 | 72.558241 | 2 - Rain gauge system | |
Ahmedabad | Chandkheda | ZWL002503 | 23.117204 | 72.607123 | 2 - Rain gauge system | |
Ahmedabad | Science-City Sola | ZWL005979 | 23.087361 | 72.510289 | 2 - Rain gauge system | |
Ahmedabad | Sector 16, Gandhinagar | ZWL005987 | 23.216612 | 72.652543 | 2 - Rain gauge system | |
Ahmedabad | Vastrapur | ZWL001959 | 23.042513 | 72.524312 | 2 - Rain gauge system | |
Ahmedabad | Prahlad Nagar | ZWL007404 | 22.998074 | 72.515955 | 2 - Rain gauge system | |
Ahmedabad | Nikol | ZWL001898 | 23.077071 | 72.637566 | 2 - Rain gauge system |
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 pandas as pd | |
import matplotlib.pyplot as plt | |
from matplotlib.ticker import MaxNLocator | |
# Load the Excel file into a DataFrame | |
excel_file = r'C:\scores\scores.xlsx' # Replace with your Excel file path | |
sheet_name = 'Sheet1' # Replace with your sheet name if necessary | |
df = pd.read_excel(excel_file, sheet_name=sheet_name) | |
# Debug: Print column names |
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
//bookmarklet by redditor @chickenandliver - https://www.reddit.com/r/bookmarklets/comments/1f7wk72/search_a_users_x_timeline_for_term/ | |
javascript:(function(){ | |
const term = prompt('Term?'); | |
if (term) { | |
const username = new URL(location.href).pathname.split("/")[1]; | |
window.location.href = `https://x.com/search?q=${encodeURIComponent(term)}%20(from%3A${encodeURIComponent(username)})&src=typed_query&f=live`; | |
} | |
})(); | |
//Minified version - |
NewerOlder