Skip to content

Instantly share code, notes, and snippets.

View athossampayo's full-sized avatar
:octocat:

Athos Sampayo athossampayo

:octocat:
View GitHub Profile
@athossampayo
athossampayo / decrypt_dbeaver.py
Last active January 24, 2024 14:17 — forked from felipou/decrypt_dbeaver.py
DBeaver password decryption script
# https://stackoverflow.com/questions/39928401/recover-db-password-stored-in-my-dbeaver-connection
# requires pycryptodome lib (pip install pycryptodome)
import sys
import base64
import os
import json
from Crypto.Cipher import AES
@athossampayo
athossampayo / DefaultKeyBinding.dict
Last active March 9, 2022 14:47 — forked from trusktr/DefaultKeyBinding.dict
My DefaultKeyBinding.dict for Mac OS BigSur 11.6.4
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict
This file remaps the key bindings of a single user on Mac OS X 10.5 to more
closely match default behavior on Windows systems. This makes the Command key
behave like Windows Control key. To use Control instead of Command, either swap
Control and Command in Apple->System Preferences->Keyboard->Modifier Keys...
or replace @ with ^ in this file.
Here is a rough cheatsheet for syntax.
Key Modifiers