Skip to content

Instantly share code, notes, and snippets.

View rmgimenez's full-sized avatar

Ricardo Moura Gimenez rmgimenez

View GitHub Profile

Beast Mode

Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.

Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1

Installation Instructions

  • Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
  • Select "Create new custom chat mode file"
@rmgimenez
rmgimenez / juros-compostos-com-aportes.js
Last active October 16, 2024 14:33
Função em JavaScript para calcular o valor futuro de uma aplicação com juros compostos e aportes regulares em cada período
function calcularJurosCompostos(capitalInicial, taxaJuros, numeroPeriodos, valorAporte) {
let valorFuturo = capitalInicial;
for (let i = 0; i < numeroPeriodos; i++) {
valorFuturo = valorFuturo * (1 + taxaJuros) + valorAporte;
}
return valorFuturo;
}
@paulo-raoni
paulo-raoni / gitflowPassoAPasso.md
Last active October 6, 2025 19:03
GIT FLOW - Passo a passo

Conceitos

O que é Gitflow?

Resumidamente, o Gitflow é um modelo fortemente baseado em branches, mas focado nas entregas. Foi criado em 2010 e hoje em dia é muito utilizado por equipes de desenvolvedores em todo o mundo.

Definições das branchs no Gitflow:

Historic Branches:​

Ao invés de trabalhar apenas com a branch master, esse workflow utiliza dois branches principais para guardar histórico do projeto. A branch master guarda o histórico oficial das entregas, já a branch developer serve como integração entre todas as branches de funcionalidades (feature branches).

// Colocar no using
// using System.Net.Mail;
SmtpClient SmtpServer = new SmtpClient("smtp.live.com");
var mail = new MailMessage();
mail.From = new MailAddress("[email protected]");
mail.To.Add("[email protected]");
mail.Subject = "Test Mail - 1";
mail.IsBodyHtml = true;
string htmlBody;
@shemul49rmc
shemul49rmc / Add Floating Sidebar Social Share Buttons
Created October 27, 2013 18:10
Add Floating Sidebar Social Share Buttons
<!–SideBar Floating Share Buttons by http://iamshemul.com/ Code Start–>
<style>
#pageshare {position:fixed; bottom:15%; right:10px; float:left; border: 1px solid black; border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;background-color:#eff3fa;padding:0 0 2px 0;z-index:10;}
#pageshare .sbutton {float:left;clear:both;margin:5px 5px 0 5px;}
.fb_share_count_top {width:48px !important;}
.fb_share_count_top, .fb_share_count_inner {-moz-border-radius:3px;-webkit-border-radius:3px;}
.FBConnectButton_Small, .FBConnectButton_RTL_Small {width:49px !important; -moz-border-radius:3px;-webkit-border-radius:3px;}
.FBConnectButton_Small .FBConnectButton_Text {padding:2px 2px 3px !important;-moz-border-radius:3px;-webkit-border-radius:3px;font-size:8px;}
</style>
<div id='pageshare' title="Share This With Your Friends">