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
| # Install Homebrew (https://brew.sh/) | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| # Install multipass via homebrew | |
| brew install --cask multipass | |
| # Create a Multipass VM instance | |
| # 'jammy' is Ubuntu 22.04LTS. | |
| # Please note that the alias cannot start with a number so '42berlin' is not valid | |
| # Default username is ubuntu: you can use your Linux skills to create a different one later on if you want |
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
| # Description: This script will scrape a website and save all the paths to a file. | |
| # Usage: It will also exclude any paths that end with the extensions specified in the --exclude-extensions parameter. | |
| # It will also limit the number of links to visit per page to the number specified in the --max_links_per_page parameter. | |
| # It could be used to test a website for broken links. | |
| # Be careful not to overload the website with requests. You could get banned. | |
| # Example: python ValidateLinksScraping.py https://webscraper.io/test-sites --max_links_per_page 100 --exclude-extensions pdf,jpg,png | |
| # Author: Kuba Andrysek | |
| # Website: https://kubaandrysek.com | |
| # Date: 2023-05-34 |
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
| /** | |
| * ============================================================================= | |
| * Google Drive: Unshare, Copy & Reclaim Ownership | |
| * ============================================================================= | |
| * | |
| * PURPOSE: | |
| * Processes a shared Google Drive folder tree and: | |
| * 1. Removes all sharing permissions from files/folders you own. | |
| * 2. Copies files you don't own into folders you do own, then removes | |
| * the shared originals from your view. |
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
| #!/usr/bin/env python | |
| import argparse | |
| import sys | |
| import jinja2 | |
| import markdown | |
| TEMPLATE = """<!DOCTYPE html> | |
| <html> |