Skip to content

Instantly share code, notes, and snippets.

View Santosl2's full-sized avatar
🎯
Focusing

Matheus Filype Santosl2

🎯
Focusing
View GitHub Profile
@t3dotgg
t3dotgg / model-prices.csv
Last active September 14, 2025 05:49
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
@purpshell
purpshell / log.js
Last active September 8, 2025 09:01
A monitoring script based on Tulir's wa-web/web-scripts logging script, for 2.3000x
if (!window.decodeStanza) {
window.decodeStanza = require("WAWap").decodeStanza;
window.encodeStanza = require("WAWap").encodeStanza;
}
require("WAWap").decodeStanza = async (e, t) => {
const result = await window.decodeStanza(e, t);
console.log('RECV', result.toString(), result);
import rootReducer from '../my-rootreducer-dir';

function renderWithRedux(ui, { initialState, store = createStore(rootReducer, initialState) } = {}, renderFn = render) {
  const obj = {
    ...renderFn(<Provider store={store}>{ui}</Provider>),
    store,
  };
  obj.rerenderWithRedux = (el, nextState) => {
@kavalcante
kavalcante / estados.js
Last active November 27, 2024 23:17
Estados do Brasil em um Array - Javascript
states: [
{ 'AC': 'Acre' },
{ 'AL': 'Alagoas' },
{ 'AP': 'Amapá' },
{ 'AM': 'Amazonas' },
{ 'BA': 'Bahia' },
{ 'CE': 'Ceará' },
{ 'DF': 'Distrito Federal' },
{ 'ES': 'Espírito Santo' },
{ 'GO': 'Goías' },
@parmentf
parmentf / GitCommitEmoji.md
Last active September 15, 2025 14:05
Git Commit message Emoji