Skip to content

Instantly share code, notes, and snippets.

View ruyrocha's full-sized avatar

Ruy Rocha ruyrocha

  • Anywhere with internet connection.
View GitHub Profile
@ruyrocha
ruyrocha / LEIAME.md
Created March 8, 2024 00:11 — forked from thiagokokada/LEIAME.md
[Vivo Fibra] Usando RTF3507VW-N1 em modo bridge

[Vivo Fibra] Usando RTF3507VW-N1 em modo bridge

Por que usar o RTF3507VW-N1 em modo bridge?

O roteador Askey RTF3507VW-N1 fornecido pela Vivo tem vários problemas:

  • Existe um cache interno de DNS (usando o dnsmasq?) bugado: ao fazer a mesma requisição DNS duas vezes seguidas, a primeira resposta vem correta, porém na seguinte temos:
@ruyrocha
ruyrocha / OpenAI_Nginx_DenyList
Created September 5, 2024 04:01 — forked from JayPeet/OpenAI_Nginx_DenyList
Nginx OpenAI Deny List
# IPs taken from:
# https://openai.com/searchbot.json
# https://openai.com/chatgpt-user.json
# https://openai.com/gptbot.json
# And presumably could change.
location /
{
#deny OAI-SearchBot
deny 20.42.10.176/28;
@ruyrocha
ruyrocha / reverse-engineering-macos.md
Created July 14, 2025 22:20 — forked from 0xdevalias/reverse-engineering-macos.md
Some notes, tools, and techniques for reverse engineering macOS binaries
@ruyrocha
ruyrocha / sql_agent.ipynb
Created July 15, 2025 03:55 — forked from shibyan-ai-engineer/sql_agent.ipynb
LangChain SQL Agent Tutorial 2025
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

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: