Skip to content

Instantly share code, notes, and snippets.

View bkmeneguello's full-sized avatar

Bruno Meneguello bkmeneguello

View GitHub Profile
@bkmeneguello
bkmeneguello / resume.json
Last active November 5, 2021 23:32
Resume
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Bruno Kühnen Meneguello",
"label": "Software Consultant",
"image": "https://media-exp1.licdn.com/dms/image/C4D03AQEv5PFaS9ty8g/profile-displayphoto-shrink_800_800/0/1516591295046?e=1641427200&v=beta&t=U8ARp0aqtn1UAQ1MLKlSHdOhy6VhYSAyuPjg6wUsxUY",
"email": "contact@meneguello.com",
"url": "http://github.com/bkmeneguello",
"summary": "Software development and programming languages are my world. I love to learn and use new technologies and techniques.\n\nIn the last years I've learned and used Go, Scala, Python, Groovy, C#, and C++, along with old acquaintances like Java, PHP, and Javascript.\n\nI actively contribute to some open-source projects like Jenkins (and its plugins) with code and bug tracking.\n\nIn my current job, I'm the leader in new technologies adoption and brought several changes to the team. This consolidates me as the focal point when new projects and de
@bkmeneguello
bkmeneguello / hideDotFiles.ps1
Created November 1, 2021 17:33
Hide files/directories which start with a doc char in Windows
ATTRIB +H /s /d C:\.*
@bkmeneguello
bkmeneguello / gwip.sh
Created August 25, 2021 12:00
Git WIP alias
alias gwip='git commit -a -m "work in progress - fixup"'
@bkmeneguello
bkmeneguello / pulse-headset-auto-switch.md
Created December 21, 2020 12:52
Change from A2DB to HSP/HPF on microphone request

/etc/pulse/default.pa

load-module module-bluetooth-policy auto_switch=2

@bkmeneguello
bkmeneguello / enable-git-ssh.ps1
Created December 5, 2020 15:12
Enable SSH auth on Git in Windows
# Enable SSH Agent service from an Admin Shell
Set-Service ssh-agent -StartupType Automatic
Start-Service ssh-agent
# Allow Git to use system SSH agent instead ob embedded
# from https://snowdrift.tech/cli/ssh/git/tutorials/2019/01/31/using-ssh-agent-git-windows.html
[Environment]::SetEnvironmentVariable("GIT_SSH", "$((Get-Command ssh).Source)", [System.EnvironmentVariableTarget]::User)
@bkmeneguello
bkmeneguello / readSelectedText.sh
Created September 2, 2020 12:48
Reads the selected text
xclip -out -selection primary | xclip -in -selection clipboard; xsel --clipboard | tr "\n" " " | espeak
@bkmeneguello
bkmeneguello / flush_disk_cache.sh
Created June 25, 2020 12:38
Flush disk and watch until done
#!/usr/bin/env sh
sync &
watch -d grep -e Dirty: -e Writeback: /proc/meminfo
#!/bin/bash
if (( EUID != 0 )); then
echo "You must be root to do this." 1>&2
exit 1
fi
K9S=$(command -v k9s || echo /usr/local/bin/k9s)
$K9S version
URL=$(curl https://api.github.com/repos/derailed/k9s/releases/latest | jq -r '.assets[].browser_download_url' | grep k9s_$(uname -s)_$(uname -m))
curl -sSL $URL | tar xzOf - k9s | tee $K9S > /dev/null
@bkmeneguello
bkmeneguello / toolset.md
Last active April 22, 2020 20:09
My Development Toolset (today, the future is unknown)

Development:

  • VSCode:
    • Go (ms-vscode.go)
    • Calva (betterthantomorrow.calva)
    • Java Extension Pack (vscjava.vscode-java-pack)
    • Docker (ms-azuretools.vscode-docker)
    • Kubernetes (ms-kubernetes-tools.vscode-kubernetes-tools)
    • Python (ms-python.python)
    • Tekton Pipelines (redhat.vscode-tekton-pipelines)
  • Quarkus (redhat.vscode-quarkus)
import sys
import requests
import json
import csv
from datetime import datetime
ufs = {
11: "RO",
12: "AC",