- check all corner cases
- build the project and view the changed pages to make sure everything is working perfectly
- package.json updated?
Question:
https://dev.mysql.com/doc/refman/8.0/en/datetime.html
According to doc, other than TIMESTAMP, date & datetime values are not converted for storage using any time zone. This makes since, since if one uses LocalDate & LocalDateTime in Java, which also doesn't contain any time zone info, and since MySQL says no timezone conversion happens for storing/retreiving date/datetime values, why should I define a timezone to MySQL connection to retrieve those values correctly?
Answer:
The way MySQL Server handles temporal data and temporal data exchanged between a Client and a Server are different things.
The documentation you referred pertains to how MySQL Server stores and retrieves temporal data and if some kind of TZ adjustments occur in the process. For example, suppose the server is configured with TZ UTC+02:00 and you store the same instant X in a TIMESTAMP column and a DATETIME column; when you retrieve the same data you'll see the same instant X values, but if you change the serv
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
.bashrc
file: nano ~/.bashrc
PROMPT_DIRTRIM=2
more info: https://www.gnu.org/software/bash/manual/html_node/Bash-Variables.html#index-PROMPT_005fDIRTRIM
https://unix.stackexchange.com/questions/381113/how-do-i-shorten-the-current-directory-path-shown-on-terminal
create different ssh key according the article generate ssh key
$ ssh-keygen -t ed25519 -C "[email protected]"
Below are the Big O performance of common functions of different Java Collections. | |
List | Add | Remove | Get | Contains | Next | Data Structure | |
---------------------|------|--------|------|----------|------|--------------- | |
ArrayList | O(1) | O(n) | O(1) | O(n) | O(1) | Array | |
LinkedList | O(1) | O(1) | O(n) | O(n) | O(1) | Linked List | |
CopyOnWriteArrayList | O(n) | O(n) | O(1) | O(n) | O(1) | Array |
Choice List: https://oauth.net/code/java/
Option 1: MITREid Connect
Good:
Description | Shortcut | Comments |
---|---|---|
show desktop | Super + D | linux + windows |
cycle open window | Alt + Tab | linux + windows |
show all windows | Ctrl + Alt + Down | linux Mint |
show all workspaces | Ctrl + Alt + Up | linux Mint |
snap window up/down/left/right | Super + ⬆️ ⬇️ ⬅️ ➡️ | linux |
move window to left/right workspace | Shift + Ctrl + Alt + ⬅️ ➡️ | linux |
move window to left/right monitor | Shift + Super + ⬅️ ➡️ | linux |
switch to left/right workspace | Ctrl + Alt + ⬅️ ➡️ | linux |
Description | Shortcut | Used in Ide |
---|---|---|
Delete Line | Ctrl + Shift + k | (Sublime, Intellij, VScode) |
format file | Shift + Alt + f | (VScode-windows) |
Goto Class/file | Ctrl + P | (sublime, VScode) |
Goto Symbol/Methods | Ctrl + R | (sublime) |
Goto Line | Ctrl + G | (sublime, VScode, Intellij, Eclipse) |
Command/Action | Ctrl + Shift + P | (Sublime, VScode) |
Quick Defintion (source code) | Ctrl + Shift + i | (Browser, Intellij) |
Quick Type Definition | Ctrl + Q | (Intellij) |