Skip to content

Instantly share code, notes, and snippets.

View benzntech's full-sized avatar
:octocat:

Benson benzntech

:octocat:
  • Tech enthusiast
  • Coimbatore
View GitHub Profile
@benzntech
benzntech / Steer-report-0000000040800000.json
Created January 11, 2026 14:16
Steer crash log: EXC_BREAKPOINT after logout and setup
{
"report": {
"version": "3.2.0",
"id": "E4D4C7CF-EB08-4685-B8A3-E98DC007A2DF",
"process_name": null,
"timestamp": 1768140208,
"type": "standard"
},
"binary_images": [
{
@benzntech
benzntech / gist:bd6569af9f45cfcd4fb7bca252c7579d
Created November 9, 2025 06:22
# Using Gemini CLI for Large Codebase Analysis
# Using Gemini CLI for Large Codebase Analysis
When analyzing large codebases or multiple files that might exceed context limits, use the Gemini CLI with its massive
context window. Use `gemini -p` to leverage Google Gemini's large context capacity.
## File and Directory Inclusion Syntax
Use the `@` syntax to include files and directories in your Gemini prompts. The paths should be relative to WHERE you run the
gemini command:
@benzntech
benzntech / Gemini.md
Created October 4, 2025 08:04 — forked from ruvnet/Gemini.md
Free & Secure API Key Rotator for Google Gemini 2.5 Pro (Deno Edge Functions)

Great. I’ll develop a phased implementation plan, edge function code, deployment strategy, user guide, and full documentation for a key rotator using Deno Edge Functions. This will focus on rotating Gemini 2.5 Pro API keys to handle 429 rate limits efficiently.

I’ll return with a clear breakdown of components, including a secure architecture, key storage and cycling logic, usage limits, and guidance for setup and customization.

Secure API Key Rotator for Google Gemini 2.5 Pro (Deno Edge Functions)

Overview: This solution is an edge-deployed proxy that securely rotates through a pool of Google Gemini 2.5 Pro API keys to avoid hitting per-key rate limits (e.g. free-tier limit of ~2 requests/minute (Gemini 2.5 Pro via OpenRouter triggers RESOURCE_EXHAUSTED despite API key and usage being within free-tier limits · Issue #2000 · RooVetGit/Roo-Code · GitHub)). By

@benzntech
benzntech / dkcleanup.sh
Created September 21, 2022 01:22 — forked from Whistler092/dkcleanup.sh
scripts
#!/bin/bash
# options:
# remove stopped containers and untagged images
# $ dkcleanup
# remove all stopped|running containers and untagged images
# $ dkcleanup --reset
# remove containers|images|tags matching {repository|image|repository\image|tag|image:tag}
# pattern and untagged images
# $ dkcleanup --purge {image}
@benzntech
benzntech / hacktext.txt
Last active July 1, 2020 23:47
elementaryOS Open Terminal Here | File Manager UX Hack
To open a command line shell in the pantheon File Browser in elementary OS, you need to create a text file and paste code into it.
The location of the file which needs to be created is:
/usr/share/contractor/openinterminal.contract
One command you can use to edit it is:
sudo nano /usr/share/contractor/openinterminal.contract
@benzntech
benzntech / vhost.py
Created March 7, 2019 14:50 — forked from fideloper/vhost.py
Create vHost Ubuntu Lamp-Server (bash and python)
#! /usr/bin/python
from sys import argv
from os.path import exists
from os import makedirs
from os import symlink
from os import system
import getopt
#

Git commands

Tell Git who you are

Configure the author name and email address to be used with your commits.

Note that Git [strips some

@benzntech
benzntech / Instructions for php Installation.txt
Created October 10, 2018 11:46
Install PHP 5.6,7.1,7.2 On linux (Debian, Ubuntu, Mint ...) and Switch From PHP 5.6 => PHP 7.1
Install PHP 5.6,7.1,7.2 On linux (Debian, Ubuntu, Mint ...) and Switch From PHP 5.6 => PHP 7.1
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php5.6
heck Installed PHP Version
php -v
@benzntech
benzntech / Readme.md
Last active April 25, 2018 06:21
LAMP Easy installation Bash Script.

LAMP

Description

LAMP is a powerful bash script for the installation of Apache + PHP + MySQL/MariaDB/Percona Server and so on. You can install Apache + PHP + MySQL/MariaDB/Percona Server in an very easy way, just need to choose what you want to install before installation. And all things will be done in a few minutes.

@benzntech
benzntech / convert id_rsa to pem
Created April 23, 2018 18:13 — forked from mingfang/convert id_rsa to pem
Convert id_rsa to pem file
openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem
chmod 700 id_rsa.pem