Skip to content

Instantly share code, notes, and snippets.

@samed
samed / notifications.md
Created April 26, 2026 18:34
Claude Code desktop notifications on macOS

Claude Code desktop notifications on macOS

Drop this into ~/.claude/settings.json (merge with existing keys — don't replace the whole file).

Option A: osascript (built-in, no install)

{
  "hooks": {
    "Stop": [

Keybase proof

I hereby claim:

  • I am samed on github.
  • I am samed (https://keybase.io/samed) on keybase.
  • I have a public key whose fingerprint is B3B9 1ACD A3B6 7026 F261 7440 5F9C 2152 75C1 3003

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am samed on github.
  • I am samed (https://keybase.io/samed) on keybase.
  • I have a public key whose fingerprint is B3B9 1ACD A3B6 7026 F261 7440 5F9C 2152 75C1 3003

To claim this, I am signing this object:

bind C-p run "tmux set-buffer \"$(xclip -o)\"; tmux paste-buffer"
# # move tmux copy buffer into x clipboard
bind C-y run "tmux save-buffer - | xclip -i"

Keybase proof

I hereby claim:

  • I am ras0ir on github.
  • I am ras0ir (https://keybase.io/ras0ir) on keybase.
  • I have a public key whose fingerprint is 883A 3854 7E28 EE3D 055E AD05 218F 13C6 9176 0664

To claim this, I am signing this object:

@samed
samed / gist:5444665
Created April 23, 2013 15:39
jira'dan redmine'a veri aktarmak icin rake task
# encoding: utf-8
require 'rexml/document'
require 'active_record'
require 'yaml'
require File.expand_path('../../../config/environment', __FILE__)
module JiraMigration
include REXML
@samed
samed / gist:4020538
Created November 5, 2012 21:44
git commit notifier
#!/usr/bin/env python
import optparse
import os
import shutil
import socket
import sys
import subprocess
import tempfile
import time