Skip to content

Instantly share code, notes, and snippets.

View alexander480's full-sized avatar
🎯
Focusing

Alexander Lester alexander480

🎯
Focusing
View GitHub Profile
@kieranb662
kieranb662 / XcodeKitHelpers.md
Last active October 31, 2024 15:05
[Xcode Editor Notes] Xcodekit Extensions to help make Xcode your own custom text editor.

Xcode Editor Notes

Suggestions

After adding the Extension target to a project

  1. Go to the menu bar -> Product -> Scheme -> Edit Scheme.
  2. Under the info tab change the executable dropdown menu to "Xcode.app".
  3. If you have a testing file add it to the "Arguments Passed On Launch" field under the Arguments tab.
@alexander480
alexander480 / moveYoutubeWatchLaterVideosToNewPlaylist.js
Created May 1, 2025 10:00
Move YouTube Videos From "Watch Later" To A New Playlist
// Move YouTube Videos From "Watch Later" To A New Playlist.
setInterval(function () {
// define name of playlist to move videos to
const newPlaylistName = 'old watch later';
// 1) grab the first video entry
const video = document.querySelector('ytd-playlist-video-renderer');
if (!video) return;