Skip to content

Instantly share code, notes, and snippets.

View iosifnicolae2's full-sized avatar

Iosif Nicolae iosifnicolae2

View GitHub Profile
@iosifnicolae2
iosifnicolae2 / Readme.md
Last active March 12, 2024 19:42
Youtube is Boring

How To Make Youtube Less Boring

Tutorial: https://www.youtube.com/watch?v=hIqMrPTeGTc
Paste the below code in your browser console (F12 > Console):

(()=>{
    markAllVideosAsNotBeingInteresting({
        iterations: 1
    });
})();

This script might work only on Linux Mint.
If you notice a problem with the script, please send me an email to [email protected]

Instructions:

wget https://gist.githubusercontent.com/iosifnicolae2/510af583cffffbd755ef1fb747f769ad/raw/0c2709127d201816e4b37584fcab42e29095a5de/setup_linux.sh
chmod +x ./setup_linux.sh
./setup_linux.sh
@superseb
superseb / rke2-commands.md
Last active November 11, 2024 15:40
RKE2 commands

RKE2 commands

  • Updated on May 29 to accommodate etcd container not having /bin/sh available anymore.

Install

curl -sL https://get.rke2.io | sh
systemctl daemon-reload
systemctl start rke2-server
@iosifnicolae2
iosifnicolae2 / gist:ed3e873384f609e3c07d6efa31f5eb40
Last active April 2, 2024 18:07
Automatic MacOS installation
#!/usr/bin/env bash
#
# Bootstrap script for setting up a new OSX machine
#
# This should be idempotent so it can be run multiple times.
#
# Some apps don't have a cask and so still need to be installed by hand. These
# include:
#
# - Twitter (app store)
@liamcmitchell
liamcmitchell / local_dns.txt
Last active November 16, 2021 18:45
Minimum configuration for a local DNS server to handle the top level domain [dev]
# Install bind.
sudo apt-get install bind9
# Add DNS servers to forward unknown queries to.
# These could be your router, ISP or other public DNS servers.
# /etc/bind/named.conf.options
forwarders {
8.8.8.8;