Skip to content

Instantly share code, notes, and snippets.

View ozzbetto's full-sized avatar
🏠
Working from home

Betto Rodriguez ozzbetto

🏠
Working from home
View GitHub Profile
@ozzbetto
ozzbetto / mysql-gui.sh
Created June 5, 2021 02:54
Exclude mysql from dark mode in MacOs Catalina
#!/bin/bash
defaults write com.oracle.workbench.MySQLWorkbench NSRequiresAquaSystemAppearance -bool yes
echo "OK - You have to restart the GUI now"
@ozzbetto
ozzbetto / scroll-refresh.sh
Last active November 14, 2021 14:45
Mouse scroll does no work in linux after suspend
#This command will refresh the scroll in Linux after suspend
#!/bin/bash
modprobe -r psmouse && modprobe psmouse
@ozzbetto
ozzbetto / git-alias.txt
Last active March 18, 2022 17:39 — forked from Klerith/git-alias.md
Useful Git Alias
# Log
git config --global alias.lg "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"
# Status
git config --global alias.s status --short
# Alternativa útil de status
git config --global alias.s status -sb
@ozzbetto
ozzbetto / plugins.md
Created March 20, 2022 02:19 — forked from Klerith/plugins.md
Flutter: Curso de Flutter - Instalaciones recomendadas

Programas

git config --global user.name "Tu nombre"
git config --global user.email "Tu correo"
@ozzbetto
ozzbetto / MySql-5.6-installation guide.md
Created April 14, 2023 00:46 — forked from vinodpandey/MySql-5.6-installation guide.md
Install MySQL 5.6.xx on Ubuntu 18.04 & Ubuntu 20.04

MySQL Download URL

https://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.46-linux-glibc2.12-x86_64.tar.gz

Open the terminal and follow along:

  • Uninstall any existing version of MySQL
sudo rm /var/lib/mysql/ -R
@ozzbetto
ozzbetto / docker-compose.yml
Created September 11, 2023 20:18 — forked from Klerith/docker-compose.yml
PostgreSQL + PgAdmin
version: '3'
services:
myDB:
image: postgres:15.3
container_name: my-database
restart: always
ports:
- 5432:5432
environment: