Skip to content

Instantly share code, notes, and snippets.

View literalplus's full-sized avatar
🍍

Philipp Nowak literalplus

🍍
View GitHub Profile
@judge2020
judge2020 / README.md
Last active January 19, 2025 17:28
Download TikTok Favorites

Setup

  1. Sign into https://tiktok.com and go to your profile
  2. Click favorites or likes
  3. scroll down till all your videos load
  4. paste the script in console and run it
  5. Script will download the file containing newline-delimited links
  6. download via yt-dlp like so:
@mattratleph
mattratleph / vimdiff.md
Last active March 17, 2025 13:07 — forked from roothybrid7/vimdiff_cheet.md
vimdiff cheat sheet

vimdiff cheat sheet

##git mergetool

In the middle file (future merged file), you can navigate between conflicts with ]c and [c.

Choose which version you want to keep with :diffget //2 or :diffget //3 (the //2 and //3 are unique identifiers for the target/master copy and the merge/branch copy file names).

:diffupdate (to remove leftover spacing issues)

:only (once you’re done reviewing all conflicts, this shows only the middle/merged file)

@aadnk
aadnk / TeleportFixTwo.java
Last active April 19, 2022 09:04
A CraftBukkit-free solution to the invisibility bug
// Released under the BSD License.
// Kristian S. Stangeland 2013.
package com.comphenix.example;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.Server;
import org.bukkit.entity.Player;
<!DOCTYPE html>
<!-- Helpful things to keep in your <head/>
// Brian Blakely, 360i
// http://twitter.com/brianblakely/
-->
<head>
<!-- Disable automatic DNS prefetching.