-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
65 lines (46 loc) · 1.46 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
## install powerline fonts
```sh
# clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
```
## install oh my zsh
```sh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
ZSH_THEME="agnoster"
DEFAULT_USER="admin"
```
## nvm or volta
```sh
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
curl https://get.volta.sh | bash -s -- --skip-setup
```
## android adb via wifi
```sh
adb tcpip 5555 from a command prompt
adb shell "ip addr show wlan0 | grep -e wlan0$ | cut -d\" \" -f 6 | cut -d/ -f 1"
# to obtain the phone's IP address Disconnect USB cable and run adb connect <ip_address>:5555
```
## scrcpy for android screen sharing
## connect ssh
```sh
cd ~/Docs/db100x100
ssh -i ./LightsailDefaultKey-eu-central-1.pem ubuntu@3.68.199.65
ssh -i ./ok_gmail_ec2_db1000nX100.pem ubuntu@ec2-16-170-222-146.eu-north-1.compute.amazonaws.com
scp -r -i ./LightsailDefaultKey-eu-central-1.pem ./db1000nX100-for-docker ubuntu@3.68.199.65:/home/ubuntu/
scp -r -i ./ok_gmail_ec2_db1000nX100.pem ./db1000nX100-for-docker ubuntu@ec2-16-170-222-146.eu-north-1.compute.amazonaws.com:/home/ubuntu/
ssh -i ./LightsailDefaultKey-eu-central-1.pem ubuntu@3.68.199.65 -t 'tmux -CC new -A -s tomac'
```
## Java sdkman
```sh
sdk list java
https://stackoverflow.com/a/52524114
sdk use java 8.0.333-librca
sdk use java 11.0.15-librca
```
## git submodule
```sh
git submodule update
```