October 7, 2020

$path

 # $PATH


check which directories are on the path


```bash

echo $PATH

```


add directory to path


```bash

export PATH='path_to_directory:$PATH'

#load new path

source ~/.bashrc 

```

October 4, 2020

rename all jpg with random names

#!/bin/bash    
for img in *.jpg; do
newname=$(head /dev/urandom | tr -dc a-z0-9 | head -c 8)
mv "$img" "$newname".jpg
done

ukrainian mac keyboard layout for windows 10

replaced ukrainian "І" with ukrainian "И"

https://drive.google.com/drive/folders/1G034a_BPxs0YVFWivjGZjeAyj-jefYNJ

if you are using Windows, you can use microsoft keyboard layout creator v1.4 for remapping the keys.

https://drive.google.com/file/d/1CKSM-j1ftOTqmNnJcy8PDZi7C2BiEYe7/view


it will probably ask for net framework 2.0

https://drive.google.com/file/d/1K89NDk6qvqQ7s_rKi4kELcWZzzYK81tB/view


How to type letters with accent

Very useful article https://www.freecodecamp.org/news/how-to-type-letters-with-accents-on-mac/