Skip to content

Instantly share code, notes, and snippets.

View ubuntulover09's full-sized avatar
🤡
I may be slow to respond.

RED COBRA ubuntulover09

🤡
I may be slow to respond.
  • india
View GitHub Profile
@ubuntulover09
ubuntulover09 / remove-all-liked-videos-youtube.md
Created August 28, 2023 07:44 — forked from scr2em/remove-all-liked-videos-youtube.md
How to remove all liked videos from youtube

After you open Liked Videos as a playlsit, Type in console... var items = $('body').getElementsByClassName("style-scope ytd-menu-renderer"); for(var i = 0; i < items.length; i++){ items[i].click(); }

@ubuntulover09
ubuntulover09 / Remove videos from Youtube Watch Later playlist.md
Last active August 28, 2023 07:40 — forked from astamicu/Remove videos from Youtube Watch Later playlist.md
Script to remove all videos from Youtube Watch Later playlist

UPDATED 22.11.2022

It's been two years since the last update, so here's the updated working script as per the comments below.

Thanks to BryanHaley for this.

setInterval(function () {
    video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];

 video.querySelector('#primary button[aria-label="Action menu"]').click();
@ubuntulover09
ubuntulover09 / WSL 2 GNOME Desktop.md
Created December 22, 2021 06:35
Set up a GNOME desktop environment on WSL 2

WSL 2 GNOME Desktop

NOTE: If you want the ultimate Linux desktop experience, I highly recommend installing Linux as your main OS. I no longer use Windows (except in a VM) so I will not be maintaining this guide anymore.

Think Xfce looks dated? Want a conventional Ubuntu experience? This tutorial will guide you through installing Ubuntu's default desktop environment, GNOME.

GNOME is one of the more complex — and that means more difficult to run — desktop environments, so for years people couldn't figure [o

@ubuntulover09
ubuntulover09 / README.md
Created December 22, 2021 06:35 — forked from djfdyuruiry/README.md
WSL 2 - Enabling systemd

Enable systemd in WSL 2

This guide will enable systemd to run as normal under WSL 2. This will enable services like microk8s, docker and many more to just work during a WSL session. Note: this was tested on Windows 10 Build 2004, running Ubuntu 20.04 LTS in WSL 2.

  • To enable systemd under WSL we require a tool called systemd-genie

  • Copy the contents of install-sg.sh to a new file /tmp/install-sg.sh:

    cd /tmp
@ubuntulover09
ubuntulover09 / setup.sh
Created December 22, 2021 06:34 — forked from jjvillavicencio/setup.sh
Install Android SDK on Windows Bash (WSL)
cd /home/<user>/
sudo apt-get install unzip
wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
unzip sdk-tools-linux-4333796.zip -d Android
rm sdk-tools-linux-4333796.zip
sudo apt-get install -y lib32z1 openjdk-8-jdk
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
export PATH=$PATH:$JAVA_HOME/bin
printf "\n\nexport JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64\nexport PATH=\$PATH:\$JAVA_HOME/bin" >> ~/.bashrc
cd Android/tools/bin
@ubuntulover09
ubuntulover09 / Video_Audio_Downloader.js
Created December 18, 2021 05:15 — forked from thocell/Video_Audio_Downloader.js
The Tampermonkey userscript to download video and audio from Youtube, Twitter, Vimeo, Facebook, Dailymotion, 1tv, VK, youku, bilibili and 5000 more sites for free. Fast and easy to use.
// ==UserScript==
// @name Distill Video & Audio Downloader from 5000+ sites including Youtube, Support 1080P, 2K, 4k & 8K
// @namespace https://distillvideo.com/
// @version 2.1.1
// @date 2018-06-17
// @description Browser extension to download video and audio from Youtube, Twitter, Vimeo, Facebook, Dailymotion, 1tv, VK, youku, bilibili and 5000 more sites for free. Fast and easy to use.
// @author DistillVideo.com
// @copyright 2018, DistillVideo.com
// @homepage https://distillvideo.com/page/extensions
// @downloadURL https://distillvideo.com/js/ditillvideo.user.js
@ubuntulover09
ubuntulover09 / AuthyToOtherAuthenticator.md
Created October 13, 2021 12:38 — forked from gboudreau/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Generating Authy passwords on other authenticators


There is an increasing count of applications which use Authy for two-factor authentication. However many users who aren't using Authy, have their own authenticator setup up already and do not wish to use two applications for generating passwords.

Since I use 1Password for all of my password storing/generating needs, I was looking for a solution to use Authy passwords on that. I couldn't find any completely working solutions, however I stumbled upon a gist by Brian Hartvigsen. His post had a neat code with it to generate QR codes for you to use on your favorite authenticator.

His method is to extract the secret keys using Authy's Google Chrome app via Developer Tools. If this was not possible, I guess people would be reverse engineering the Android app or something like that. But when I tried that code, nothing appeared on the screen. My guess is that Brian used the

@ubuntulover09
ubuntulover09 / vpn.md
Created March 17, 2020 07:30 — forked from joepie91/vpn.md
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

A Russian translation of this article can be found here, contributed by Timur Demin. There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.

Why not?

@ubuntulover09
ubuntulover09 / ccleaner serial keys.txt
Created January 28, 2020 14:48 — forked from pethaniakshay/ccleaner serial keys.txt
CCleaner 5.13.5460 Serial Keys Free
C2YW-IAHG-ZU62-INZQ-WZPC
C2YW-2BAM-ADC2-89RV-YZPC
C2YW-XFCX-ABIG-GZD4-8ZPC
C2YW-XK32-GBVV-N3BH-2ZPC
C2YW-JKW5-KK79-XHR2-4ZPC
C2YW-QTRT-ZVCG-PQDK-CZPC
C2YW-GP33-TPIU-BGM8-AZPC
Source: http://windowsloaders.com/ccleaner-professional-plus-crack-for-windows/
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04