Vim DB client: vim-dadbod-ui connection via SSH tunnel
I’m using vim-dadbod-ui as my MySQL client.
I was trying to connect to RDS via SSH tunnel, finally figure out how to do that.
This is my technical blog about programming, server setup & configuration, technical learning experience.
I’m using vim-dadbod-ui as my MySQL client.
I was trying to connect to RDS via SSH tunnel, finally figure out how to do that.
1 |
|
To install PostgreSQL in Ubuntu (tested in 20.04)
1 | echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list |
A sample file demo.txt contains the following content
1 | 1 Linux Operating System |
I believe most of AWS users will use Amazon Simple Email Service (SES)
for system email sending.
Before you can use in production, by default it’s in sandbox mode, which
you are required to pre-configure a few email addresses to receive email.
I was wondering what’s wrong with my server (host Laravel web app),
it’s fine after reboot the instance, but after a while it become very
slow, and CPU 100%
I heard about Docker few years ago, but wasn’t know about best practice how to use that.
I’ve tried Laradock, it’s way too many stuff in the config, should I use 1 docker for multiple
projects? Or better single project?
With kernel 4.17 above, we can set the threshold directly
1 | $ echo 85 > /sys/class/power_supply/BAT0/charge_start_threshold |
I’m using Windows 10 in VirtualBox for testing purpose, where my main OS is formatted to Ubuntu.
I noticed I can activate the Windows 10 with the key sealed in hardware,
get the key with the follwing command