Skip to content

Instantly share code, notes, and snippets.

View ItzSwirlz's full-sized avatar
💭
probably doing something

Joshua Peisach ItzSwirlz

💭
probably doing something
View GitHub Profile
@thesamesam
thesamesam / xz-backdoor.md
Last active June 27, 2024 15:18
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Background

On March 29th, 2024, a backdoor was discovered in xz-utils, a suite of software that

@marcjulianschwarz
marcjulianschwarz / github-old-dashboard.js
Last active September 22, 2023 13:30
Bring back the old GitHub dashboard with PageExtender for Safari
if (window.location.hostname === "github.com") {
const feedContent = document.querySelector('.feed-content')
if (feedContent){
const feedMain = document.querySelector('.feed-main')
feedContent.style.maxWidth = "unset"
feedMain.style.maxWidth = "1200px"
fetch('https://github.com/dashboard-feed')
.then(response => response.text())
.then(text => {
@BrianLincoln
BrianLincoln / YTMLikesToPlaylist.md
Last active March 15, 2024 15:50
YouTube Music Likes to Playlist

Copy Likes to a playlist in YouTube Music

This is a very hacky solution to copy Liked songs to a playlist since YTM still doesn't have the functionality. I'm using this to copy songs out of YTM to another service, then unsubscribing. Thus, I won't be maintaining it (or ever using it again). It will only work while the YTM interface is the same as it is today (3/6/21) and will break once they make updates.

Steps to use:

  1. Create a new playlist
  2. Go to your Likes page (in chrome, on a desktop or laptop). Scroll to the bottom so all songs are loaded
  3. Open Chrome's dev tools (F12 on windows), go to the console
  4. Paste the script below. Edit the first line, replace "YOUR_PLAYLIST_NAME" with your playlist's name
  5. Press enter