Skip to content

Instantly share code, notes, and snippets.

View raulb's full-sized avatar
👨‍💻
Ask me anything!

Raúl Barroso raulb

👨‍💻
Ask me anything!
View GitHub Profile

Keybase proof

I hereby claim:

  • I am raulb on github.
  • I am raulb (https://keybase.io/raulb) on keybase.
  • I have a public key whose fingerprint is 8825 0177 BEFC D287 4BAC EBAD D935 FB80 9D0F A1F2

To claim this, I am signing this object:

guard :minitest, test_folders: '.' do
  watch(/.*/) do |m|
    file = m[0].split('.rb')[0]
    file += "_test" unless file.end_with?("_test")
    "./#{file}.rb"
  end
end
@raulb
raulb / Supabase Song.md
Last active October 10, 2025 06:46
Supabase lyrics

Listen to it! 💚


(Intro) This one is for the devs with the startup dream, Building all weekend, coding full steam. Postgres base, real-time grace, Supabase got that scalable pace.

@raulb
raulb / gh-clean.js
Created March 9, 2026 09:24
Bookmarklet to Clean GitHub notifications
javascript:(function(){let pageCount=0;const maxPages=50;function processCurrentPage(){pageCount++;console.log(`\n=== Processing Page ${pageCount} ===`);const listItems=document.querySelectorAll('[data-notification-id]');const actionIcons=['octicon-git-pull-request-closed','octicon-git-merge','octicon-issue-closed','octicon-git-pull-request-draft'];const ignoredWords=['ionic','flutter'];const ciActivityKeyword='ci activity';const approvalKeyword='approval requested';const rowsToClose=Array.from(listItems).filter((item)=>{let shouldClose=false;const iconElement=item.querySelector('svg.octicon');if(iconElement){const iconClass=Array.from(iconElement.classList).find(c=>c.startsWith('octicon-'));if(iconClass&&actionIcons.includes(iconClass)){shouldClose=true;}if(iconClass==='octicon-rocket'){shouldClose=true;}}const titleElement=item.querySelector('.markdown-title');if(titleElement){const text=titleElement.textContent.toLowerCase();if(ignoredWords.some(word=>text.includes(word))||text.includes('workflow run')||te