- Copy this hex colors
#1A1B26,#3B4252,#9AA5CE,#24283B,#565F89,#C0CAF5,#9ECE6A,#7DCFFF,#24283B,#C0CAF5
| /* | |
| * Remove shorts in subscriptions | |
| * Source: https://arcboosts.com/boosts/48/no-youtube-shorts-in-subscriptions | |
| */ | |
| .ytd-rich-grid-row:has([aria-label="Shorts"]):not(#items) {display: none !important} | |
| /* Remove Menu item "Shorts" in sidebar */ | |
| .ytd-guide-section-renderer [title="Shorts"] {display: none !important} |
| $x('/html/body/div[1]/div[2]/div/div/div[1]/div[6]/div/div[2]/div/div[2]/div/div/h3/button/span/span[1]/text()').forEach(item => console.log(item.data)) |
| # ------------------------------------------------------------------------------ | |
| # tlp - Parameters for power saving | |
| # See full explanation: http://linrunner.de/en/tlp/docs/tlp-configuration.html | |
| # dir: /etc/default/tlp | |
| # Hint: some features are disabled by default, remove the leading # to enable | |
| # them. | |
| # Set to 0 to disable, 1 to enable TLP. |
| # Camelot: PDF Table Extraction for Humans | |
| # Documentation: https://camelot-py.readthedocs.io/en/master/ | |
| import camelot | |
| # Read the PDF and specify the pages | |
| tables = camelot.read_pdf("manual.pdf", pages='27') | |
| # Visualize with pandas | |
| tables[0].df |
| #!/usr/bin/env python | |
| from django.core.management.utils import get_random_secret_key | |
| print(get_random_secret_key()) |
| #!/usr/bin/env bash | |
| FILE="Streamio.tar.gz" | |
| if [ -f "$FILE" ] | |
| then | |
| echo "Arquivo $FILE encontrado." | |
| else | |
| echo "Arquivo não encontrado. Iniciando download..." | |
| wget http://www.strem.io/download -O Streamio.tar.gz |