-
Notifications
You must be signed in to change notification settings - Fork 0
/
clipboard.txt
24 lines (20 loc) · 1.58 KB
/
clipboard.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
-------------------------------------------------------------------------------------------------
new database for new application:
sudo mysql -u root
create database zen;create user 'c'@'%' identified by 'password';grant all on zen.* to 'c'@'%';
-------------------------------------------------------------------------------------------------
journalctl -u bob | grep ClassNotFoundException | cut -c 1-200
sudo tcpdump -i lo port 8888 -X
ssh root@ journalctl -u bob -e | grep http404 | cut -b 79-180 | sort -u | less
SHOW VARIABLES WHERE Variable_Name IN ('connect_timeout', 'interactive_timeout', 'wait_timeout');
-------------------------------------------------------------------------------------------------
TAG=$(date "+%Y-%m-%d--%H-%M") && git tag $TAG && git push origin $TAG
-------------------------------------------------------------------------------------------------
git reset --hard HEAD
----------------------------------------------------------------------------------
To enable Hot Code Replace (HCR) in Visual Studio Code for Java development, you need to make sure that the VS Code Java extension is installed and configured.
Here are the steps to enable it:
* Install the VS Code Java extension by going to the Extensions view in VS Code and searching for "Java".
* Open the settings editor by navigating to Preferences: Open User Settings from the Command Palette (Ctrl + Shift + P).
* In the settings editor, search for "java.debug.settings.hotCodeReplace" and set it to "auto" to enable automatic HCR.
----------------------------------------------------------------------------------