Warning
This gist is no longer maintained. These scripts have moved to SponsorBlock-UI.
Styles the SponsorBlock thumbnail label to match YouTube's existing thumbnail badges.
Warning
This gist is no longer maintained. These scripts have moved to SponsorBlock-UI.
Styles the SponsorBlock thumbnail label to match YouTube's existing thumbnail badges.
Proof of concept!
Blocks/Blurs social media bar in the following video over the full video length
https://www.youtube.com/watch?v=SKSY1juX2ao
| # Use systemd for managing NVIDIA driver suspend in drivers ====>>> PRIOR to version 470 <<<===== | |
| # https://download.nvidia.com/XFree86/Linux-x86_64/450.66/README/powermanagement.html | |
| # https://forums.developer.nvidia.com/t/unable-to-set-nvidia-kernel-module-parameters/161306 | |
| # Please note: In Fedora Linux you may need to just install the xorg-x11-drv-nvidia-power pakage | |
| # as sugested by @goombah88 in the comments below. | |
| TMP_PATH=/var/tmp | |
| TMPL_PATH=/usr/share/doc/nvidia-driver-460/ | |
| echo "options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=${TMP_PATH}" | sudo tee /etc/modprobe.d/nvidia-power-management.conf |
Execute these lines:
sudo sh -c 'cat > /etc/apt/sources.list.d/focal-dell.list << EOF
deb http://dell.archive.canonical.com/updates/ focal-dell public
deb http://dell.archive.canonical.com/updates/ focal-oem public
deb http://dell.archive.canonical.com/updates/ focal-somerville public
deb http://dell.archive.canonical.com/updates/ focal-somerville-melisa public
EOF'
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9FDA6BED73CDC22
| ''' we're solving fizzbuzz with a little help from the web ''' | |
| from html.parser import HTMLParser | |
| from urllib.request import Request, urlopen | |
| import re | |
| import time | |
| base_url = 'https://www.answers.com/Q/' | |
| tag_name = 'div' | |
| class_name = 'answer-body' | |
| delimiter = '_' |
| *** Cluster Setup for Google Container Engine *** | |
| 0/ Install and configure local gcloud and kubectl: https://cloud.google.com/sdk/docs/ | |
| > gcloud components install kubectl | |
| 1/ Configure Google Cloud account: | |
| > gcloud config set account YOUR_EMAIL_ADDRESS | |
| > gcloud config set project YOUR_PROJECT_ID | |
| > gcloud config set compute/zone us-west1-a | |
| > gcloud config set container/cluster example |
| using UnityEngine; | |
| using System.Collections.Generic; | |
| [RequireComponent(typeof (MeshFilter))] | |
| [RequireComponent(typeof (MeshRenderer))] | |
| public class MeshGenerator : MonoBehaviour { | |
| void Start () { | |
| CreateCube (); | |
| } |
| # remove specific file from git cache | |
| git rm --cached filename | |
| # remove all files from git cache | |
| git rm -r --cached . | |
| git add . | |
| git commit -m ".gitignore is now working" |
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |