Skip to content

Instantly share code, notes, and snippets.

View RickCogley's full-sized avatar
👻
Slowly but surely implementing ISO 27001 ISMS

Rick Cogley RickCogley

👻
Slowly but surely implementing ISO 27001 ISMS
View GitHub Profile
@DerFichtl
DerFichtl / clamav-macosx.md
Last active June 30, 2025 08:17
clamav on mac osx - install and configure the virus scanner on mac osx
layout title published tags
post
clamav - install and configure on mac osx
true
blog
clamav

Install Clamav

Install clamav via homebrew

@romkatv
romkatv / srand32.zsh
Last active May 4, 2024 05:04
srand32.zsh
# Returns a random 32-bit number.
# If /dev/urandom is cryptographically secure, so is srand32.
#
# If zsh is compiled with 64-bit number support, the result
# is non-negative. Otherwise it may be negative and the value
# is governed by the rules of unsigned-to-signed conversion in C.
#
# Examples:
#
# % print -r -- $(( srand32() ))
@tmanternach
tmanternach / nginx.conf
Created October 15, 2021 23:06
Old School blog served via https using nginx
# This server {} block is used to re-direct port 80/http traffic to port 443/https. Pretty common 301 re-direct.
server {
if ($host = static.trevormanternach.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
server_name static.trevormanternach.com;
return 404; # managed by Certbot
}
@guvener
guvener / tw-background-hex.md
Created April 30, 2022 08:46
Tailwind background colors HEX codes
@t-mart
t-mart / cheatsheet.md
Last active June 10, 2025 15:02
Tailwind v4 Syntax Cheatsheet

Tailwind v4 Syntax Cheatsheet

Tailwind v4 has new syntax for arbitrary values, variants, properties, and more. Here's the cheatsheet that I would have wanted when I first started using it.

Terms Primer

  • Property: Indicates an aspect of the appearance or layout of an element, such as margin or color. Are set to a value.
  • Custom Property (or CSS Variables): A property that is user-defined
@worksfornow
worksfornow / delegate.md
Last active July 8, 2025 04:46
A lightweight Claude Code slash command that lets you delegate multiple tasks in parallel using tmux, git worktrees, and markdown prompts. Part of a scrappy setup I wrote about here: https://open.substack.com/pub/worksfornow/p/how-i-run-claude-code-agents-in-parallel

You are Task Master Agent Spawner. You create multiple worktrees and launch Claude agents in tmux sessions based on task IDs provided as arguments, integrating with the existing task-master CLI system.

What to do:

  1. RUN: task-master list to see all available tasks
  2. Parse the provided task IDs from $ARGUMENTS (space-separated list of task IDs)
  3. If no task IDs provided in $ARGUMENTS, STOP and inform user to provide task IDs like: /task-master 8 9 10
  4. For each task ID provided:
    • RUN: task-master show <task_id> to get full task details
  • Check if task status is already 'done' - if so, skip this task and continue to next