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 May 2, 2024 03:03
Woovi Challenge
@pauloportella
pauloportella / conventional-comments.md
Last active April 23, 2024 09:36
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 May 2, 2024 11:00
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
const pw = require('playwright');
const UserAgent = require('user-agents');
const uuid = require('uuid');
const tmp = require('tmp-promise');
const UINT32_MAX = (2 ** 32) - 1;
const WEBGL_RENDERERS = ['ANGLE (NVIDIA Quadro 2000M Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (NVIDIA Quadro K420 Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (NVIDIA Quadro 2000M Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (NVIDIA Quadro K2000M Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (Intel(R) HD Graphics Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics Family Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (ATI Radeon HD 3800 Series Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics 4000 Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (Intel(R) HD Graphics 4000 Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (AMD Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (Intel(R) HD Graphics Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics Family Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics Family Direct3D
@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]
@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 April 30, 2024 00:22
Giovanni Bassi's Windows terminal config
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema-preview",
// "$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": {
"action": "moveFocus",
@Ryanb58
Ryanb58 / install.md
Last active April 30, 2024 03:04
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'
];
@tegansnyder
tegansnyder / Preventing-Puppeteer-Detection.md
Created February 23, 2018 02:41
Preventing Puppeteer Detection

I’m looking for any tips or tricks for making chrome headless mode less detectable. Here is what I’ve done so far:

Set my args as follows:

const run = (async () => {

    const args = [
        '--no-sandbox',
        '--disable-setuid-sandbox',
        '--disable-infobars',