Skip to content

Instantly share code, notes, and snippets.

View CodeOfficer's full-sized avatar

Russell Jones CodeOfficer

View GitHub Profile
@CodeOfficer
CodeOfficer / check-plugin-updates.sh
Created January 10, 2026 14:10 — forked from BrunoMiguelMonteiro/check-plugin-updates.sh
Check for Claude Code plugin updates - compares installed versions with marketplace repositories
#!/bin/bash
# Check for Claude Code plugin updates
# Compares installed plugin versions with latest available in marketplaces
set -euo pipefail
CLAUDE_DIR="$HOME/.claude"
PLUGINS_FILE="$CLAUDE_DIR/plugins/installed_plugins_v2.json"
MARKETPLACES_DIR="$CLAUDE_DIR/plugins/marketplaces"
@CodeOfficer
CodeOfficer / README.md
Created January 10, 2026 14:02 — forked from TheBaconWizard/README.md
claude-work-tree: Quickly spin up isolated Claude Code sessions using git worktrees

claude-work-tree

Quickly spin up isolated Claude Code sessions using git worktrees.

What it does

  • Creates a git worktree for your feature branch
  • Opens Claude Code with --dangerously-skip-permissions in that worktree
  • Tab completion for existing worktrees and branches
@CodeOfficer
CodeOfficer / .claude--skills--hook-development--SKILL.md
Created January 10, 2026 13:29 — forked from alexfazio/.claude--skills--hook-development--SKILL.md
Claude Code Hook Development Skill - Install to .claude/skills/hook-development/

name: Hook Development description: >- This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "implement agent hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", "frontmatter hooks", "scoped hooks", "once: true", or mentions hook events (PreToolUse, PostToolUse, Stop,

@CodeOfficer
CodeOfficer / presentation-tips.md
Created December 15, 2025 05:41 — forked from macintux/presentation-tips.md
Public speaking tips
@CodeOfficer
CodeOfficer / firestore.rules
Created September 1, 2021 16:08 — forked from pfiadDi/firestore.rules
Firestore Advanced Security Rules
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
function isAuthenticated() {
return request.auth != null;
}
function isDefined(field) {
return field in request.resource.data
@CodeOfficer
CodeOfficer / cloudSettings
Last active November 7, 2021 20:23
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-11-07T20:23:16.167Z","extensionVersion":"v3.4.3"}
import Controller from '@ember/controller';
import { computed, set } from '@ember/object';
import { later } from '@ember/runloop';
import { tracked } from '@glimmer/tracking';
export default class ApplicationController extends Controller {
@tracked _cart = null;
@computed('cart')
get outputDude() {
// eslint-disable-next-line no-unused-vars
import { timestamp, files, shell, routes } from '@sapper/service-worker';
const ASSETS = `cache${timestamp}`;
// `shell` is an array of all the files generated by the bundler,
// `files` is an array of everything in the `static` directory
const to_cache = shell.concat(files);
const cached = new Set(to_cache);
echo code --install-extension
code --install-extension aaron-bond.better-comments
code --install-extension alefragnani.project-manager
code --install-extension ardenivanov.svelte-intellisense
code --install-extension cbuelter.vscode-toggle-max-editor
code --install-extension christian-kohler.path-intellisense
code --install-extension DavidAnson.vscode-markdownlint
code --install-extension dbaeumer.vscode-eslint
code --install-extension donjayamanne.githistory
code --install-extension dracula-theme.theme-dracula
{"lastUpload":"2020-08-13T16:51:00.817Z","extensionVersion":"v3.4.3"}