Skip to content

Instantly share code, notes, and snippets.

View jankeesvw's full-sized avatar

Jankees van Woezik jankeesvw

View GitHub Profile
@jankeesvw
jankeesvw / claude-waybar-notification.md
Created January 14, 2026 12:57
Claude Code waybar notification setup - shows when Claude needs attention

Claude Code Waybar Notification

Shows how many Claude Code sessions are waiting for input in your waybar.

How it works

  1. Hook triggers when Claude becomes idle → adds 🔔 to terminal title
  2. Waybar module counts windows with 🔔 in title
  3. Click to focus that session

name: tester description: Use this agent when you need to write RSpec tests for new functionality, including feature specs for user workflows and unit tests for models, services, or other classes. Examples: Context: User has just implemented a new authentication feature and needs comprehensive test coverage. user: 'I just added magic link authentication to the User model. Can you write tests for this?' assistant: 'I'll use the rspec-test-writer agent to create comprehensive tests for your magic link authentication feature.' Since the user needs RSpec tests written for new functionality, use the rspec-test-writer agent to create appropriate test coverage. Context: User has created a new controller action and wants to ensure it's properly tested. user: 'I added a new endpoint for project time tracking. Here's the controller code...' assistant: 'Let me use the rspec-test-writer agent to write feature specs and controller tests for your new time tracking en

@jankeesvw
jankeesvw / Checklist.applescript
Created September 16, 2015 11:36
Checklist.script
on alfred_script(q)
tell application "Things 2"
set listOfShows to {}
set Shows to paragraphs of (read POSIX file "/Users/jankeesvw/Documents/checklists/Podcast")
repeat with nextLine in Shows
set newToDo to make new to do with properties {name:nextLine} at beginning of project "Checklist"
set tag names of newToDo to "Podcast, Checklist"
end repeat
show project "Checklist"
end tell
@jankeesvw
jankeesvw / CSS-only-sliding-labels.markdown
Created May 12, 2014 07:31
A Pen by Jankees van Woezik.

CSS-only sliding labels

With this css-only solution you only show the 's when necessary, the error state always shows the label.

A Pen by Jankees van Woezik on CodePen.

License.

# Meer vetalingen via https://github.com/plataformatec/devise/wiki/I18n
# Voeg 'config.i18n.default_locale = :nl' toe in je 'application.rb' en herstart je server
nl:
devise:
confirmations:
confirmed: "Je account is bevestigd, je bent nu ingelogd."
send_instructions: "Je zult een e-mail met instructies ontvangen over hoe je jouw account moet bevestigen over een paar minuten."
send_paranoid_instructions: "Als je e-mail bestaat in onze database, zul je een e-mail met instructies ontvangen over hoe je jouw account moet bevestigen over een paar minuten."
failure:

#request

{
   "invoice":{
      "company_name":"TODO: Company",
      "details_attributes":[
         {
            "amount":"10",
            "description":"En nog eens 10 uur",
            "row_order":1

request object:

{
   "invoice":{
     "company_name":"TODO: Company",
     "details_attributes":[
       {
         "amount":16.75,
         "description":"Zestien uur en drie kwartier met rowan gepraat"
namespace :api, defaults: {format: 'json'} do
namespace :v1 do
resources :projects, only: [:index]
end
end
/Users/jankeesvw/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/locale/en.yml
/Users/jankeesvw/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activemodel-3.2.13/lib/active_model/locale/en.yml
/Users/jankeesvw/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/locale/en.yml
/Users/jankeesvw/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_view/locale/en.yml
/Users/jankeesvw/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/dynamic_form-1.1.4/lib/active_model/locale/en.yml
/Users/jankeesvw/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/dynamic_form-1.1.4/lib/action_view/locale/en.yml
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false