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
@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
@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
@guvener
guvener / tw-background-hex.md
Created April 30, 2022 08:46
Tailwind background colors HEX codes
@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
}
@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() ))
@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

@ForeSoftCorp
ForeSoftCorp / dbstrings.txt
Last active September 21, 2020 13:43
Sample TeamDesk Database translation file
; Common buttons
action.new = New
action.view = View
action.edit = Edit
action.del = Del
action.delete = Delete
action.restore = Restore
action.cancel = Cancel
action.back = Back
action.print = Print
@oseme-techguy
oseme-techguy / Correct_GnuPG_Permission.sh
Last active February 6, 2025 05:53
This fixes the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error while using Gnupg .
#!/usr/bin/env bash
# To fix the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error
# Make sure that the .gnupg directory and its contents is accessibile by your user.
chown -R $(whoami) ~/.gnupg/
# Also correct the permissions and access rights on the directory
chmod 600 ~/.gnupg/*
chmod 700 ~/.gnupg
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active July 10, 2025 17:01
Conventional Commits Cheatsheet
@prantlf
prantlf / japanese-font-family.md
Last active January 3, 2025 17:36 — forked from vanquang9387/japanese-font-family.md
Japanese default css font family

Most Japanese websites use default font sets provided on Windows, Mac or Ubuntu. The latest ones are Meiryo, Hiragino Kaku Gothic Pro and Noto. For older versions such like Windows XP, it is good to add former default fonts MS Gothic(or MS Mincho)/Osaka. Older Linux versions may include Takao fonts.

Some old browsers could not understand those font names in English, some others do not recognize the names in Japanese, so it is safe to write both in Japanese and English.

Meiryo and Hiragino's order is, because Mac users may have Meiryo from MS-Office, and Hiragino is more familiar and matching well on Mac, better by starting Hiragino series.

So the current recommended practice is like this:

font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, メイリオ, Meiryo, "MS Pゴシック", "MS PGothic", "MS ゴシック" , "MS Gothic", "Noto Sans CJK JP", TakaoPGothic, sans-serif;