Skip to content

Instantly share code, notes, and snippets.

View AndyDaSilva52's full-sized avatar
🎯
Focusing

Anderson da Silva AndyDaSilva52

🎯
Focusing
View GitHub Profile
@AndrewAltimit
AndrewAltimit / README.md
Last active July 15, 2025 14:24
Claude Code and Gemini CLI Integration

Gemini CLI Integration for Claude Code MCP Server

A complete setup guide for integrating Google's Gemini CLI with Claude Code through an MCP (Model Context Protocol) server. This provides automatic second opinion consultation when Claude expresses uncertainty or encounters complex technical decisions.

@greatSumini
greatSumini / cursor_rules.mdc
Created June 27, 2025 04:04
Cursor Rule 작성 Rule
---
description:
globs:
alwaysApply: false
---
- **Required Rule Structure:**
```markdown
---
description: Clear, one-line description of what the rule enforces
@t3dotgg
t3dotgg / model-prices.csv
Last active July 15, 2025 18:14
Rough list of popular AI models and the cost to use them (cost is per 1m tokens)
Name Input Output
Gemini 2.0 Flash-Lite $0.075 $0.30
Mistral 3.1 Small $0.10 $0.30
Gemini 2.0 Flash $0.10 $0.40
ChatGPT 4.1-nano $0.10 $0.40
DeepSeek v3 (old) $0.14 $0.28
ChatGPT 4o-mini $0.15 $0.60
Gemini 2.5 Flash $0.15 $0.60
DeepSeek v3 $0.27 $1.10
Grok 3-mini $0.30 $0.50
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
@sivinnguyen
sivinnguyen / wsl2_200915_fix_dns_resolution.md
Last active July 13, 2025 15:48
Fix DNS resolution in WSL2

Error

$ sudo apt-get update
Err:1 http://archive.ubuntu.com/ubuntu focal InRelease
Temporary failure in name rerolution

$ host google.com
;; connection timed out; no servers could be reached
@felipe-ssilva
felipe-ssilva / padrao-de-commit.md
Last active March 10, 2022 21:46
export default 'padrao-de-commit' 👩‍💻

😉 Yes, we can! And we must!

Antes de mais nada: todo o trabalho precisa ser "commitado". Sem mais, nem menos. Esse é o primeiro passo.

♻️ Siga os padrões, amiguinho.

Não reinvente a roda e não seja rebelde. Se o projeto que você começou a trabalhar, já tem um padrão definido e que atende a necessidade, não há razão para mudanças drásticas. Se o projeto já tem tempos de vivência, significa que o padrão atual já dá conta do recado (ou ao menos deveria).

🚀 Ao infinito e além!

O ideal para manter o código bem versionado é, para cada mudança, um commit. Seja adição de nova funcionalidade, correção de bug ou até remoção de uma funcionalidade antiga. Isso nos dá a facilidade de usar uma das principais funcionalidades do versionamento: retroceder ao código antes do commit indicado.

Commit

@rupakg
rupakg / api-platform-matrix.md
Last active June 24, 2022 00:03
API platforms comparison table
Platform Design Code Gen. Docs Testing Management
3Scale Supports Swagger None ActiveDocs (Swagger compliant) Developer Portal Security, Analytics, Monetization, Dashboard, Traffic Mgmt.
Akana Graphical Designer. Supports Swagger, RAML, WADL, WSDL Build Code Document Developer Portal API Gateway, Security, Analytics, Orchestration, Transformation, Traffic Mgmt.
Apigee Edge UI. Supports OpenAPI Specs None Developer Portal Developer Portal API Gateway, Security, Analytics, Monetization, Orchestration, Transformation, Traffic Mgmt., API Proxy Editor
Boomi Mediate None
@AndyDaSilva52
AndyDaSilva52 / VBAOutlookCreateFoldersSubfolders.bas
Last active February 6, 2018 15:47
Create Folders and Subfolders in Outlook Folder Structure - Choose a Origim Folder and Create the same Subfolders in the Destination
Sub CreateFolders()
Dim olNS As NameSpace
Dim olFolder As Folder
Dim OlNewFolder As Folder
Dim olNewFolders As Folders
Dim olItems As Items
Dim olItem As MailItem
Dim strName As String
Dim i As Long
@ozmoroz
ozmoroz / schema_table_size.sql
Created January 1, 2018 10:53
Show sizes of all tables in an Oracle schema
-- Find the size of all tables in an Oracle schema
-- Script by Sergey Stadnik, http://ozmoroz.com
-- Licensed under CC BY with attribution required
-- Based on Stackoverflow.com discussion
-- http://stackoverflow.com/questions/264914/how-do-i-calculate-tables-size-in-oracle
DEFINE schema_name = 'replace_with_your_schema_name'
SELECT * FROM (
SELECT
@rponte
rponte / split-string-by-token.sql
Last active March 3, 2022 14:13
Oracle PLSQL - splitting string by token using regexp_substr() function
--
-- splitting as columns
--
select regexp_substr('a-b-c', '[^-]+', 1, 1) as grupo_1
,regexp_substr('a-b-c', '[^-]+', 1, 2) as grupo_2
,regexp_substr('a-b-c', '[^-]+', 1, 3) as grupo_3
from dual;
-- result:
-- a b c