Skip to content

samvimes01/dotfiles

Repository files navigation

## 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
```

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages