Skip to content

Instantly share code, notes, and snippets.

View Tagliatti's full-sized avatar

Filipe Tagliatti Tagliatti

View GitHub Profile
@sibelius
sibelius / woovi_challenge.md
Last active December 24, 2024 16:25
Woovi Challenge
@pauloportella
pauloportella / conventional-comments.md
Last active November 30, 2025 22:00
How to setup conventional comments on Github

Conventional comments

Source

You can add all conventional comments Labels to Github as a saved replies by following the following steps:

  1. Go to https://github.com/settings/replies
  2. Open Developer Tools
  3. Copy/Paste above code in JavaScript console
  4. Press enter
@sts10
sts10 / rust-command-line-utilities.markdown
Last active December 11, 2025 13:05
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
@rsaryev
rsaryev / prisma-utils.ts
Last active July 15, 2025 04:33
Prisma analogue migrate rest command only programmatically, for testing purposes.
import { Prisma, PrismaClient } from '@prisma/client';
import { exec } from 'child_process';
import * as util from 'util';
const execPromisify = util.promisify(exec);
const prisma = new PrismaClient();
const tables = Prisma.dmmf.datamodel.models
.map((model) => model.dbName)
.filter((table) => table);
@giggio
giggio / Add Windows Terminal Open here.reg
Created February 12, 2021 17:00
This adds Context menus for directories and directories background to open in Windows Terminal
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\WT]
@="Open Windows Terminal here"
"Icon"="C:\\p\\terminal\\src\\cascadia\\CascadiaPackage\\bin\\x64\\Release\\AppX\\WindowsTerminal.exe"
[HKEY_CLASSES_ROOT\Directory\shell\WT\command]
@="wtd.exe -w 1 new-tab -d \"%V\""
[HKEY_CLASSES_ROOT\Directory\shell\WTU]
@HELWATANY
HELWATANY / Webstorm64.vmoptions
Last active December 14, 2025 00:11
[Updated 2025] JetBrains Custom VM Options Configuration Optimized For High Performance... Works with all JetBrains IDEs... JDK 8.x+ Recommended....
# Make sure to modify "-Xms", "Xmx", "CICompilerCount", and "ParallelGCThreads" according to your PC hardware configuration...
# -------------------------------------------
# Memory Settings (High-Memory Workstation)
# -------------------------------------------
# Set the initial heap size (this reduces resizing overhead)
-Xms2048m
# Set the maximum heap size (adjust depending on your system; 2048m or 4096m is good for modern machines)
@gmoraiz
gmoraiz / fixbootmbr.txt
Created November 30, 2019 17:55
Depois de ter instalado o debian num outro ssd, meu windows não inicializou mais!!! Depois de um mês, alguns comandos me salvaram / Fix bootmgr is missing / Fix Falta bootmgr
Arranjar um pendrive bootavel com o windows, abrir o prompt e ir rodando estes comandos na fé!!!
sfc/scannow
/chkdsk C: /f (Esse salvou o "Volume does not recognize...")
bootrec /rebuildbcd
bootrec /fixmbr
bootrec /scanos
bootrec /fixboot
bcdboot C:\windows /s C: (Usei na tentativa de resolver o "Acesso Negado" no fixboot, mas não adiantou)
bootsect/nt60 sys (Esse foi o cara... O bendito resolveu o "Acesso negado" no fixboot)
@giggio
giggio / settings.json5
Last active July 11, 2025 16:48
Giovanni Bassi's Windows terminal config
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://raw.githubusercontent.com/microsoft/terminal/main/doc/cascadia/profiles.schema.json",
// "$schema": "https://raw.githubusercontent.com/microsoft/terminal/main/doc/cascadia/profiles.schema.json", // canary
// "$schema": "https://aka.ms/terminal-profiles-schema-preview", // preview
// "$schema": "https://aka.ms/terminal-profiles-schema", // stable
"actions":
[
{
"command":
@Ryanb58
Ryanb58 / install.md
Last active July 23, 2025 14:27
How to install telnet into a alpine docker container. This is useful when using the celery remote debugger in a dev environment.
>>> docker exec -it CONTAINERID /bin/sh
/app # telnet
/bin/sh: telnet: not found

/app # apk update
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
v3.7.0-243-gf26e75a186 [http://dl-cdn.alpinelinux.org/alpine/v3.7/main]
v3.7.0-229-g087f28e29d [http://dl-cdn.alpinelinux.org/alpine/v3.7/community]
<?php
$clientSOAP = new SoapClient('http://urlsoap');
$function = 'MetodoChamado';
$arguments = [
'Cpf' => '99999999999'
];