Skip to content

Instantly share code, notes, and snippets.

@ia-S-on
ia-S-on / searxactiveUS.html
Created May 26, 2026 04:50
Web Page that parses searx.space for working US based searx instances
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SearXNG Gateway (US Only)</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
background-color: #121212;
@ia-S-on
ia-S-on / duElements.md
Created May 25, 2026 11:14
Thunar custom action for disk usage of all selected elements combined: duElements.sh

This is the gemma4 response for JRD's duElements.sh code:

This script is extremely well thought out! You’ve built an elegant progress tracking solution for du (disk usage) using zenity --progress --pulsate, which is notorious for being tricky because du doesn't natively report percentage increments.

Your trick of piping the output of du into sed 's/.*/./' to generate a steady stream of dots to keep the progress bar pulsing smoothly is excellent.

However, there are a few edge cases, race conditions, and optimization tweaks that you should fix to ensure it runs flawlessly inside Thunar. The Critiques (Why it might fail or behave oddly)

  1. The readlink Edge Case