Skip to content

Instantly share code, notes, and snippets.

View transkatgirl's full-sized avatar
💭
I may be slow to respond.

kat transkatgirl

💭
I may be slow to respond.
View GitHub Profile

general youtube tips

  • idea > title > thumbnail > hook > storytelling > viewer retention
  • audience quality > audience size
    • avoid optimizing too hard for virality
  • title > thumbnail > bingeability > SEO
  • lots of good videos > one great video
  • shorts should complement main content
  • authenticity can be a valuable differentiating factor
  • enjoy what you do

Recording Through Your Eyes: Filming in First Person

Introduction

As somebody with a hand-related disability, I've been seeking a way to record travel videos. So, I've decided to pursue a alternate method of videography, one which creates intriguing and unique results.

Filming in first person has only become practical (relatively cheap while delivering good quality) in the past decade, as miniaturized "action" cameras have become widely available for consumers to purchase.

However, making great videos isn't as easy as buying a great camera, especially when novel techniques are involved. I've created this guide to help share what I've learned about first-person videography, so that you don't have to repeat the same mistakes that I have.

@transkatgirl
transkatgirl / ubuntu-asb-setup.md
Last active January 19, 2025 18:54
Setup an UnstoppableSwap Automated Swap Backend (sell XMR, receive BTC)

Setup an UnstoppableSwap Automated Swap Backend (ASB)

This script (tested on Ubuntu 24.10 & Ubuntu 24.04) allows you to anonymously perform the sell side of an UnstoppableSwap transaction (going from XMR to BTC).

Due to technical limitations, the sell side of an UnstoppableSwap transaction requires a long-lived server to perform the transaction. As a result, UnstoppableSwap-based XMR -> BTC transactions are only practical for large amounts.

  1. Setup a Monero node:
# Based on https://docs.getmonero.org/running-node/monerod-systemd/
@transkatgirl
transkatgirl / convert_archive.py
Created December 3, 2024 10:20 — forked from deepfates/convert_archive.py
Convert your twitter archive into a training dataset and markdown files
import argparse
import json
import logging
import os
import re
import shutil
from concurrent.futures import ProcessPoolExecutor, as_completed
from dataclasses import dataclass
from datetime import datetime
from typing import Any, Callable, Dict, List, Literal, Optional, Tuple
@transkatgirl
transkatgirl / mpv.conf
Last active November 19, 2024 22:33
My MPV configuration
fullscreen=yes
#native-fs=no
profile=high-quality
audio-pitch-correction=no
[nativescale]
profile-cond=width >= 2560
scale=lanczos
@transkatgirl
transkatgirl / 01-install.sh
Last active November 2, 2024 04:32
Alpine Linux VM setup scripts
echo 'KEYMAPOPTS=none
HOSTNAMEOPTS=alpine
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="UTC"

Controlled Insanity - Relevant Resources

as i work on completing the main Controlled Insanity document, i will maintain a list of relevant concepts that will be brought up in the document.

this document is not "complete"; it should be viewed as an early preview for topics that will likely be covered in the actual Controlled Insantity document (which will be released when it's ready).

why do this?

@transkatgirl
transkatgirl / export_youtube_subs.js
Last active May 3, 2022 21:42
Export YouTube subscriptions
// How to use this:
// 1. Go to https://www.youtube.com/feed/channels
// 2. Scroll down to the bottom to load in complete channel list
// 3. Open the browser console and paste this snippet:
let channels = $$("#main-link.channel-link");
let channel_text = "";
for (let i = 0; i < channels.length; i += 1) {
if (channels[i].href != undefined) {
channel_text += channels[i].parentElement.parentElement.parentElement.getElementsByTagName("yt-formatted-string")[1].innerText + " - " + channels[i].href + "\n";
}
@transkatgirl
transkatgirl / encodetwitter.sh
Last active October 29, 2022 11:33
Encode a video for uploading to Twitter using FFMPEG and FDKAAC
#!/bin/bash
# https://developer.twitter.com/en/docs/twitter-api/v1/media/upload-media/uploading-media/media-best-practices
# - h.264 high profile
# - 60fps or less
# - aac-lc, he-aac not supported
# - 16:9 recommended
# - 512mb maximum
# - shorter than 140s
# - 1:1 pixel aspect ratio
# - yuv 4:2:0