Skip to content

Instantly share code, notes, and snippets.

View gnovaro's full-sized avatar
:octocat:
Adding lines to the open source

Gustavo Novaro gnovaro

:octocat:
Adding lines to the open source
View GitHub Profile
@gnovaro
gnovaro / psql_useful_stat_queries.sql
Last active April 7, 2021 09:21 — forked from anvk/psql_useful_stat_queries.sql
List of some useful Stat Queries for PSQL
--- PSQL queries which also duplicated from https://github.com/anvk/AwesomePSQLList/blob/master/README.md
--- some of them taken from https://www.slideshare.net/alexeylesovsky/deep-dive-into-postgresql-statistics-54594192
-- I'm not an expert in PSQL. Just a developer who is trying to accumulate useful stat queries which could potentially explain problems in your Postgres DB.
------------
-- Basics --
------------
-- Get indexes of tables
@gnovaro
gnovaro / .bash_profile
Last active January 13, 2022 20:08
Bash profile for automatic loading ssh keys on login. Add this file in you home directory
if [ -z "$SSH_AUTH_SOCK" ] ; then
eval `ssh-agent -s`
ssh-add
fi
@gnovaro
gnovaro / .vimrc
Created January 17, 2022 00:55
My default VIM configuration file .vimrc add in your home dir /home/username
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"
" ██╗ ██╗██╗███╗ ███╗██████╗ ██████╗
" ██║ ██║██║████╗ ████║██╔══██╗██╔════╝
" ██║ ██║██║██╔████╔██║██████╔╝██║
" ╚██╗ ██╔╝██║██║╚██╔╝██║██╔══██╗██║
" ╚████╔╝ ██║██║ ╚═╝ ██║██║ ██║╚██████╗
" ╚═══╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝
"
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@gnovaro
gnovaro / OpenSourceCRM.rst
Last active May 31, 2025 17:41 — forked from cstroe/OpenSourceCRM.rst
A distilled list of open-source CRM software
@gnovaro
gnovaro / config
Created February 1, 2023 19:32
SSH Config github configuration ~/.ssh/config
Host github.com
User git
Hostname github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/github-asus
@gnovaro
gnovaro / .zshrc
Last active October 26, 2024 10:43
.zshrc
ZSH_THEME="agnoster"
plugins=(git ssh-agent)
export DISABLE_UPDATE_PROMPT=true
@gnovaro
gnovaro / base_site.html
Created June 4, 2025 07:34
Django Admin Template extends, Add custom logo and favicon. Save the file in templates/admin/base_site.html
{% extends "admin/base.html" %}
{% load static %}
{% block branding %}
<img src="{% static 'img/lowellbooks_logo_horizontal.webp' %}" alt="logo">
{{ block.super }}
{% endblock %}
{% block extrahead %}
<link rel="shortcut icon" href="{% static 'img/favicon/book.png' %}" />