Skip to content

Instantly share code, notes, and snippets.

View henriquemenezes's full-sized avatar

Henrique Menezes henriquemenezes

  • Recife, Brazil
View GitHub Profile
@henriquemenezes
henriquemenezes / AwesomeCliApps.md
Created November 23, 2025 00:52 — forked from fredjoseph/AwesomeCliApps.md
Awesome CLI/Terminal Apps

Awesome Apps

  • description: Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, fish, tmux, IPython, Awesome, i3 and Qtile.
  • language: Python
  • description: If you like the interface of HTTPie but miss the features of curl, curlie is what you are searching for. Curlie is a frontend to curl that adds the ease of use of httpie, without compromising on features and performance. All curl options are exposed with syntax sugar and output formatting inspired from httpie.
  • language: Go
@henriquemenezes
henriquemenezes / network_troubleshooting.md
Created August 28, 2025 15:06
Network troubleshooting

Network troubleshooting

HTTP latency

curl with timing options

Simple curl:

# Basic HTTP latency test
@henriquemenezes
henriquemenezes / modern-unix-commands.md
Created April 26, 2023 15:30
Modern Unix Commands

Modern Unix Commands

old unix-command modern unix-command
cat bat
ls exa, lsd
diff delta
du dust, ncdu
df duf
tree broot
@henriquemenezes
henriquemenezes / caddy-renew-certificates.sh
Created March 7, 2022 15:54
Caddy force renew certificates
sudo find /var/lib/caddy/.local/share/caddy/certificates -type f -exec rm {} \;
sudo systemctl restart caddy

CFG CSGO

Criar cfg

host_writeconfig mycfg

Executar uma cfg

@henriquemenezes
henriquemenezes / webcrypto-examples.md
Created March 13, 2020 23:00 — forked from pedrouid/webcrypto-examples.md
Web Cryptography API Examples
@henriquemenezes
henriquemenezes / vscode-user-settings.json
Last active April 8, 2020 22:04
VSCode User Settings
{
"terminal.integrated.fontFamily": "'Ubuntu Mono','PowerlineSymbols'",
"go.useLanguageServer": true,
"go.formatTool": "goimports",
"[ruby]": {
"editor.insertSpaces": true,
"editor.tabSize": 2
}
}
@henriquemenezes
henriquemenezes / apns-certificates.md
Created December 6, 2018 09:09
APNS Certificates

APNS

  1. Generate CSR from Keychain

Keychain Access > Certificate Assistant > Request a Certificate from Certificate Authority...

  Email: <[email protected]>
  Common Name: <Project>
 Select Saved to disk
#!/bin/bash
from_repo=$1
to_repo=$2
repo_dir=${from_repo##*/}
echo "Git Mirror: $from_repo -> $to_repo"
git clone --bare $from_repo
cd $repo_dir
git push --mirror $to_repo
@henriquemenezes
henriquemenezes / android-move-drawable.rb
Created December 6, 2018 00:31
Android Move Drawable
#!/usr/bin/env ruby
require 'fileutils'
prefix_input = ARGV[0]
prefix_output = ARGV[1]
suffixes = [".png", "@1.5x.png", "@2x.png", "@3x.png", "@4x.png"]
output_dirs = {