Skip to content

Instantly share code, notes, and snippets.

View rip747's full-sized avatar

Anthony Petruzzi rip747

View GitHub Profile
@rip747
rip747 / Remove videos from Youtube Watch Later playlist.md
Last active August 26, 2023 20:41 — 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];
    
 if (video === undefined) {
@rip747
rip747 / Rails Setup.txt
Created October 17, 2020 13:33 — forked from Deanout/Rails Setup.txt
Ruby on Rails 6 Setup Ubuntu 18.04
Commands from http://howtoforge.com/tutorial/ubuntu-ruby-on-rails
Yarn from https://linuxize.com/post/how-to-install-yarn-on-ubuntu-18-04/
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 \
7D2BAF1CF37B13E2069D6956105BD0E739499BDB
curl -sSL https://get.rvm.io | bash -s stable --ruby
Restart terminal
@rip747
rip747 / split_repo.bash
Created October 21, 2010 15:57 — forked from pk/split_repo.bash
git extract directory into it's own repo
#!/bin/bash
FROM=$1 #/cygdrive/c/temp/oldrepo
TO=$2 #/cygdrive/c/temp/newrepo
echo "Spliting '$TO' from '$FROM'"
git clone --no-hardlinks $FROM $TO
cd $TO
git filter-branch --subdirectory-filter $TO HEAD -- --all
git reset --hard