Skip to content

Instantly share code, notes, and snippets.

@InfamousStarFox
InfamousStarFox / Installing Docker on Alpine Linux.md
Last active March 3, 2026 21:24
Installing Docker on Alpine Linux
@13013SwagR
13013SwagR / ccs-0.0.1.yaml
Last active March 3, 2026 21:24
CI-CD Standard 0.0.1
# Tasks definition
# Tasks represent code or programs to be executed with the required parameters
# Usage rules:
# 1. Variables MUST NOT be made of other variables. This should be handled within the service integration
# Implementation rules:
# 1. Tasks MUST call at least one service
# 2. Tasks MUST produce a result
# 3. Tasks result object has 3 sub-objects:
# the result code(integer), the execution log artifact (URL), the pipeline artifacts (URL)
@standinga
standinga / H264Coder.swift
Created December 15, 2020 11:15
updated H264Coder
import AVFoundation
import VideoToolbox
class H264Coder {
var session: VTCompressionSession?
var onFrame: ((CMSampleBuffer) -> Void)?
let outputCallback: VTCompressionOutputCallback = { refcon, sourceFrameRefCon, status, infoFlags, sampleBuffer in
guard let refcon = refcon,
@bradtraversy
bradtraversy / terminal-commands.md
Last active March 3, 2026 21:21
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
@xThrasherrr
xThrasherrr / move_head.lua
Last active March 3, 2026 21:21
FiveM Client Script - Move player head to look at closest talking player
-- config values
local config = {
debug = true,
distance = 20 -- distance to check
}
-- variables
local lastTargetPlayer, lastDist = nil, 100
local function debugTxt(...)
@joepie91
joepie91 / mastodon-guide.md
Last active March 3, 2026 21:21
The 5-minute guide to the fediverse and Mastodon

The 5-minute guide to the fediverse and Mastodon

There are lots of guides explaining Mastodon and the broader fediverse, but they often go into way too much detail. So I've written this guide - it only talks about the basics you need to know to start using it, and you can then gradually learn the rest from other helpful fediverse users. Let's get started!

The fediverse is not Twitter!

The fediverse is very different from Twitter, and that is by design. It's made for building close communities, not for building a "global town square" or as a megaphone for celebrities. That means many things will work differently from what you're used to. Give it some time, and ask around on the fediverse if you're not sure why something works how it does! People are usually happy to explain, as long as it's a genuine question. Some of the details are explained in this article, but it's not required reading.

The most important takeaway is the "

"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@chaitanyaSoni96
chaitanyaSoni96 / podman-deploy.sh
Last active March 3, 2026 21:19
Deploy podman images to VPS
#!/usr/bin/env bash
set -euo pipefail
# ── Arguments ─────────────────────────────────────────────────────────────────
usage() {
echo "Usage: $0 <host> <compose-file> [remote-dir] [--tag <version>]"
exit 1
}
@burkeholland
burkeholland / ainstall.md
Last active March 3, 2026 21:15
Ultralight Orchestration

Ultralight Orchestration

A minimal multi-agent system with an orchestrator, a planner, a coder, and a designer working together providing orchestration between Claude, Codex and Gemini.

Instructions

Install all agents listed below into VS Code Insiders...

Title Type Description
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active March 3, 2026 21:14
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example