Skip to content

Instantly share code, notes, and snippets.

@bradtraversy
bradtraversy / terminal-commands.md
Last active January 2, 2026 05:42
Common Terminal Commands

Common Terminal Commands

Key Commands & Navigation

Before we look at some common commands, I just want to note a few keyboard commands that are very helpful:

  • Up Arrow: Will show your last command
  • Down Arrow: Will show your next command
  • Tab: Will auto-complete your command
  • Ctrl + L: Will clear the screen
@ebanDev
ebanDev / 2-foldercover.lua
Last active January 2, 2026 05:38
FolderCover patch for KOReader
--[[
FolderCover patch for KOReader (v3.0)
========================================
Features:
- Automatically detects cover images in directories
- Supports multiple image formats (jpg, jpeg, png, webp, gif)
- Configurable folder name and file count display with positioning options
- Rounded corners and proper image cropping
- Settings integration with BookInfoManager
@robpataki
robpataki / xld_filename.md
Last active January 2, 2026 05:38
File naming convention for XLD encoding

Compilation

%A - %T  -  %n - %a - %t

Example: Various Artists - Tony Hawk's Pro Skater 2 (The Album) - 13 - Fu Manchu - Evil Eye.m4a

Album

@tejainece
tejainece / vscode_marketplace
Last active January 2, 2026 05:32
Marketplace for VS code to be used in Antigravity
https://marketplace.visualstudio.com/items
https://marketplace.visualstudio.com/_apis/public/gallery
#define _GNU_SOURCE
#include<stdio.h>
#include <dlfcn.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <pthread.h>
#include <unistd.h>
#include <stdio.h>
@hoxt-kill-xploit
hoxt-kill-xploit / wikimedia-api
Last active January 2, 2026 05:26
Free media scraper golden standard + License
import os, re, time, hashlib
import requests
from urllib.parse import urlparse
#
OUT = "bonsai_api"
os.makedirs(OUT, exist_ok=True)
S = requests.Session()
S.headers["User-Agent"] = "BonsaiDatasetBuilder/1.0"
@nolim1t
nolim1t / socket.c
Created June 10, 2009 03:14
HTTP Request in C using low level write to socket functionality
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <netinet/tcp.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
@cameroncooke
cameroncooke / AGENTS.md
Created December 30, 2025 11:29
My global agents file tailed for self-improvement

Agent instructions

Persona

  • Address the user as Cam.
  • Optimize for correctness and long-term leverage, not agreement.
  • Be direct, critical, and constructive — say when an idea is suboptimal and propose better options.
  • Assume staff-level technical context unless told otherwise.

Quality

  • Inspect project config (package.json, etc.) for available scripts.

ExtRoot & Swap on OpenWrt

Following Quick Start for Adding a USB drive but installing some packages that will be needed right after. Also see Using storage devices.

  • SSH into the router.
  • Install required packages...
opkg update
opkg install block-mount e2fsprogs kmod-fs-ext4 kmod-usb-ohci kmod-usb-storage kmod-usb-uhci kmod-usb2 kmod-usb3 usbutils nano
@ongkiii
ongkiii / IPA-Sources.md
Last active January 2, 2026 05:16
REPOS/TELEGRAM CHANNELS LIST BY u/angkitbharadwaj