Skip to content

Instantly share code, notes, and snippets.

View gustavomdsantos's full-sized avatar
👨‍💻
Working as an IT manager

Gustavo Moraes gustavomdsantos

👨‍💻
Working as an IT manager
  • Universidade Federal de Goiás
  • Brasília, Distrito Federal
View GitHub Profile
@gustavomdsantos
gustavomdsantos / Welcome-WhatsApp-Remover-icon.svg
Last active April 3, 2024 13:47
"WhatsApp Web" Banner Remover - User JS for Greasemonkey / Tampermonkey.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gustavomdsantos
gustavomdsantos / Welcome-Google-Chat-Remover-icon.svg
Created January 10, 2024 20:52
"Welcome Google Chat" Banner Remover - User JS for Greasemonkey / Tampermonkey.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gustavomdsantos
gustavomdsantos / Agro.gov.br.md
Created December 20, 2023 17:37
Agro.gov.br - Logotipo de 2023-2026 do Ministério da Agricultura e Pecuária.

Agro.gov.br - Logotipo de 2023-2026 do Ministério da Agricultura e Pecuária.

@gustavomdsantos
gustavomdsantos / scrcpy_launcher.sh
Last active November 3, 2021 21:57
ScrCpy Launcher - Bash script for rom1v's application.
#!/usr/bin/env bash
windowTitle="ScrCpy Launcher, by rom1v and gustavomdsantos"
bold=$(tput bold)
normal=$(tput sgr0)
splashText="
${bold}rom1v${normal} and ${bold}gustavomdsantos${normal} presents:
@gustavomdsantos
gustavomdsantos / A_TinyPNG for Bash.md
Last active August 17, 2021 14:33
TinyPNG for Bash - compress PNG files in command-line interface.

TinyPNG for Bash

Simple script to compress PNG files faster than in web browser. This works in any operating system with Bash installed.

  1. Get your API Key in tinypng.com/developers.
  2. Edit tinypng.sh file, overwriting pJNqqHfKLj8Cs7DMFjXrx8rvZ8QrYvVD with your API Key.
  3. If you're:
    1. In a UNIX operating system:
      • Run chmod to all .sh files;
  • Run INSTALL.sh;
@gustavomdsantos
gustavomdsantos / Chapter_detection.xpath.xml
Created August 28, 2019 20:41
XPath para Calibre que detecta todos os níveis de header do HTML e derivações como capítulos.
//*[name()='h1' or name()='h2' or name()='h3' or name()='h4' or name()='h5' or name()='h6']
@gustavomdsantos
gustavomdsantos / KISS.md
Last active June 15, 2019 21:00
"Keep it simple, stupid!"

"Keep it simple, stupid!"

"O mundo tem que ser Apple e Google, ou seja, simples. Uma imagem para você guardar para o resto da vida:"

SejaSimples

(Rogério "Pastor" Vieira)

@gustavomdsantos
gustavomdsantos / Atalhos de teclado personalizados para o LibreOffice Calc.md
Created May 14, 2019 13:54
Atalhos de teclado personalizados para se ter a melhor experiência de usuário com o LibreOffice Calc.

Atalhos de teclado personalizados para o LibreOffice Calc

Atalho Função
F3 Ver cabeçalhos
F4 Barra de fórmulas
F7 Barra de status
Alt + M Barra de menu
Ctrl+M Mesclar células
Ctrl+Shift+M Mesclar e centralizar células
@gustavomdsantos
gustavomdsantos / 2019-05-10_145216.png
Last active May 10, 2019 18:08
Gist do e-book "Criando uma fé relevante para o mundo" - Yago Martins
2019-05-10_145216.png
@gustavomdsantos
gustavomdsantos / parse_yaml.sh
Created January 18, 2019 16:45
Bash-only parser that leverages sed and awk to parse simple yaml files.
##
# Bash-only parser that leverages sed and awk to parse simple yaml files.
# Code based from: http://stackoverflow.com/a/21189044
# Usage: eval $(parse_yaml sample.yml)
# or
# Usage: variable = parse_yaml sample.yml
#
# @param $1 the path of the .yml file
# @param $2 an optional prefix to the name of the variables
# @author stefan-farestam