Skip to content

Instantly share code, notes, and snippets.

View nkhi's full-sized avatar
🪐
hi!

nkhi

🪐
hi!
View GitHub Profile
@devinschumacher
devinschumacher / how-to-loom.md
Last active January 16, 2026 00:35
How To Download Loom Videos For Free! 🚀 DL Without Subscription | ~10 Examples (.mp4, HLS, .m3u8)

How to Download Loom Videos: A Complete Step-by-Step Guide (With Real Examples & Command Cheatsheet)

Loom is a great tool for recording and sharing videos, but the platform has restrictions when it comes to downloading — especially if you’re not on a paid plan anymore.

You might have dozens or even hundreds of old recordings and realize you don’t have a way to save them locally (i did)

That’s frustrating, but it’s fixable. In this article, I’ll walk you through the exact process of detecting, inspecting, and downloading Loom videos using yt-dlp.

We’ll cover several different real-world scenarios you’ll encounter — from normal share links, to embeds, to videos with separate audio and video streams.

@miguelmota
miguelmota / external_link_arrow.txt
Last active January 22, 2026 12:11
Unicode UTF-8 external link arrow symbol (closest thing to it)
@trongthanh
trongthanh / mojave.xml
Last active May 9, 2025 13:17
macOS Mojave dynamic background re-implement as GTK+ background slideshow. Background images are changed to reflect the time of the day.
<!-- Instructions:
- Download and unzip Mojave dynamic background here: https://files.rb.gd/mojave_dynamic.zip
- Rename the extracted folder as "mojave-background" (Excuse the trouble but I renamed it on my machine and already use that path in the XML file)
- Save this xml file next to the Mojave background files
- Fix the path to the background images below (better using absolute path)
- Lastly, either:
+ GNOME: Use gnome-tweaks tool to select this XML as wallpaper (as default wallpaper settings won't let you choose wallpaper from custom path)
+ MATE: Go to background setting (in Appearance) > Choose +Add... > make sure **All files** filter is selected at the bottom right > Then choose mojave.xml
-->
<background>
@liuyanghejerry
liuyanghejerry / index.html
Last active December 4, 2025 03:23
Modern index file in 2017
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#">
<head>
<!-- content-type, which overrides http equivalent header. Because of charset, this meta should be set at first. -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<!-- Overrides http equivalent header. This tells IE to use the most updated engine. -->
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<!-- Tells crawlers how to crawl this page, and the role of this page. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta -->
<meta name="robots" content="index, follow">
@wojteklu
wojteklu / clean_code.md
Last active January 31, 2026 15:19
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules