chore: cleanup — untrack binaries, consolidate Go dirs, dedupe tools

- Untrack and delete compiled binaries (tarsum, gosoft.exe, rust uniq/uniq2);
  ignore build outputs (dist/, bin/, *.exe, *.test, .ruff_cache/)
- Merge tools/go/ and projects/go-tools/go/ into projects/go-tools/<name>/
- Fix goipgrep .gitignore: bare 'ipgrep' pattern was ignoring cmd/ipgrep/,
  so the main entrypoint was never tracked; now anchored to /ipgrep
- Archive duplicate implementations to archive/experimental/{rust,go}/
  (uniq, between, tarsum rewrites); canonical versions stay in tools/
- Update README tool catalog to match new layout

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
tobias
2026-06-10 13:42:45 +02:00
parent 401b3e1781
commit 1cbf8afb4a
39 changed files with 449 additions and 27 deletions
+5
View File
@@ -0,0 +1,5 @@
module pname
go 1.24.4
require github.com/erikdubbelboer/gspt v0.0.0-20210805194459-ce36a5128377
+2
View File
@@ -0,0 +1,2 @@
github.com/erikdubbelboer/gspt v0.0.0-20210805194459-ce36a5128377 h1:gT+RM6gdTIAzMT7HUvmT5mL8SyG8Wx7iS3+L0V34Km4=
github.com/erikdubbelboer/gspt v0.0.0-20210805194459-ce36a5128377/go.mod h1:v6o7m/E9bfvm79dE1iFiF+3T7zLBnrjYjkWMa1J+Hv0=
+29
View File
@@ -0,0 +1,29 @@
package main
import (
"fmt"
"os"
"os/exec"
"github.com/erikdubbelboer/gspt" // Import the new library
)
func main() {
// Change the process title using the library
gspt.SetProcTitle("notmyname")
fmt.Println("Process name changed. Press any key to exit...")
// Disable input buffering
exec.Command("stty", "-F", "/dev/tty", "cbreak", "min", "1").Run()
// Do not display entered characters on the screen
exec.Command("stty", "-F", "/dev/tty", "-echo").Run()
var b []byte = make([]byte, 1)
os.Stdin.Read(b)
// Restore the original terminal settings
exec.Command("stty", "-F", "/dev/tty", "sane").Run()
fmt.Println("\nKey pressed. Exiting.")
}