Thursday, December 5, 2024

DBeaver Mysql dump problem

DBeaver Mysql dump problem 

2059: Authentication plugin 'mysql_native_password' cannot be loaded

My temporary solution was downgrading to version 8.4:
brew install mysql-client@8.4
Ref: https://github.com/Homebrew/homebrew-core/issues/180498 



Tuesday, September 17, 2024

[macOS] import cer and trust root cer


 security add-trusted-cert -r trustRoot -k  ~/Library/Keychains/login.keychain file.pem   

Monday, June 24, 2024

[macOS] Git File Locking

 


Install Git LFS


Before getting started, make sure you have Git LFS installed in your computer. Open a terminal window and run:

git-lfs --version


If it doesn’t recognize this command, you must install it. There are several installation methods that you can choose according to your OS. To install it with Homebrew:

brew install git-lfs


Once installed, open your local repository in a terminal window and install Git LFS in your repository. If you’re sure that LFS is already installed, you can skip this step. If you’re unsure, re-installing it does no harm:

git lfs install

For more information, see Git Large File Storage (LFS).

Lock files

By locking a file, you verify that no one else is editing it, and prevent anyone else from editing the file until you’re done. On the other hand, when you unlock a file, you communicate that you’ve finished editing and allow other people to edit it.

To lock or unlock a file with Exclusive File Locking, open a terminal window in your repository directory and run the commands as described below.

To lock a file:

git lfs lock path/to/file.png


To unlock a file:

git lfs unlock path/to/file.png


You can also unlock by file ID (given by LFS when you view locked files):

git lfs unlock --id=123


If for some reason you need to unlock a file that was not locked by yourself, you can use the --force flag as long as you have Maintainer permissions to the project:

git lfs unlock --id=123 --force


You can push files to GitLab whether they’re locked or unlocked.


Sunday, June 16, 2024

Docker Images from Oracle

Official source of container configurations, images, and examples for Oracle products and projects


 oracle/docker-images: Official source of container configurations, images, and examples for Oracle products and projects (github.com)


Import private key in Mac OS

Export key pair with keystore explorer in pem format

 


In terminal run the command.

security import ~/Documents/gitlab/key.pem -f openssl  -k ~/Library/Keychains/login.keychain  -T /Applications/Microsoft\ Edge.app


Install and use xorg-server on macOS via Homebrew

  The instructions to install and use xorg-server on macOS via Homebrew: Install Homebrew (if you haven't already): /bin/bash -c ...