YouTube Remove End Cards Tamper Monkey
Tamper Monkey Script
// ==UserScript==
// @name Toggle YouTube End Cards
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Toggle YouTube end cards to show and hide
// @author EstablishedRebel
// @match https://www.youtube.com/*
// @icon https://www.google.com/s2/favicons?domain=youtube.com
// @grant none
// ==/UserScript==
document.getElementById("info").
insertAdjacentHTML("afterend","<tp-yt-paper-button class='style-scope ytd-subscribe-button-renderer' style='width: max-content;display: flow-root;float: right;top: 23px;background:#001150;' id='remove-end-cards'>Toggle Cards</tp-yt-paper-button>");
var reaction = 1;
var elements = document.getElementsByClassName("ytp-ce-element");
document.getElementById("remove-end-cards").addEventListener("click", function() {
if(reaction == 1){
for (var a = 0; a < elements.length; a++){
elements[a].style.display = 'none';
}
reaction = 2;
}else{
for (var b = 0; b < elements.length; b++){
elements[b].style.display = '';
}
reaction = 1;
}
});
Setup Development Environment Windows
Install
-WSL2
-Ubuntu
-Docker
-PHP
-mbstring
-MYSQL
-Composer
-Git
Laravel with Sanctum – API’s and useful snippets
Open Tinker
sail artisan tinker
Create a variable for your API Class
$base = new ServiceProdiverAPI();
Call an API from your class
$base->api_get(‘users’);
Sanctum Generate Token
$user = App\Models\User::first();
$user->createToken(‘tokenName’);
WSL2 Connection Issues, Timeouts and Unable to Open Stream and Network Unreachable
1: Try running your composer commands with sail if you using laravel and docker.
example : sail composer require laracasts/generators –dev
2: Second try running
wsl --shutdown wsl ping google.com -c 4
3: Third try the below power shell command
# Check these threads before proceeding:
# https://github.com/microsoft/WSL/discussions/5857
# https://github.com/microsoft/WSL/issues/5821
if (-Not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) {
$CmdLine = "-File `"" + $MyInvocation.MyCommand.Path + "`" " + $MyInvocation.UnboundArguments
Start-Process -FilePath PowerShell.exe -Verb Runas -ArgumentList $CmdLine
Exit
}
# Restart the Host Network Service
Restart-Service -Force -Name hns
# Restart the Windows Subsystem for Linux Manager
Restart-Service LxssManager
# Restart the WSL Network adapter
Restart-NetAdapter -Name "vEthernet (WSL)"
Article 1
https://gist.github.com/danvy/9486bf730371436131cb888ff4c2ceb6
Article 2
Docker ERR_EMPTY_RSPONSE or Unresponsive
——————–
——————–
——————–
——————–
Option :
https://stackoverflow.com/questions/41964172/docker-container-sending-empty-responses
Open CMD in windows and run the below command as is in there
CMD ["jekyll", "serve", "--host", "0.0.0.0"]
——————–
Option :
// Run this in Powershell net stop winnat then : restart docker // Run this in Powershell net start winnat
——————–
Option :
© Garth Baker 2025 All rights reserved.