11. Feb 2021 |

Bitwarden browser autofill shortcut not working (solution)

I switched from 1Password password manager to Bitwarden about year ago. Simply because Bitwarden is free while the cost of 1Password was 72 dollars per year (Family version).

Recently browser autofill shortcut stopped working. Today I figured out how to get it work again.

On Chrome open chrome://extensions/shortcuts on your browser and fill the shortcut yourself.

Edge

If you use Edge browser then open edge://extensions/shortcuts and fill the shortcut yourself.

Firefox

If you use Firefox then go to about:addons → Extensions → from the settings icon you can get to manage extension shortcuts.

It is very convenient to autofill logins with ctrl + shift + L. If you have multiple accounts on some webservices (for example you have several Twitter accounts) then you can rotate between these by repeating the shortcut.

3. Feb 2021 |

Kuidas saab miski olla nii odav (VPS)

Selleks, et mul oleks hajussüsteemide aines oma dev andmebaas… OK, alustame sellest, et mul ei olnud esialgu ettekujutust, et mis on Docker ja kuidas VPSi kasutamine käib. Võtsin mõne päeva sellest nädalast, mis eksamite ja uue semestri vahele jäi ning natuke uurisin.

Nüüd ma olen seal kohas, et mul on Hetzneris see kõige odavam VPS (1 vCPU, 2 GB RAM, Helsinki), kus jookseb tavaline Ubuntu Server, kuhu olen installinud Dockeri ja selles jookseb MS SQL server. Seni identne selle barreli omaga, mis Käveril. Ma ei ole selle eest mitte midagi maksnud, sest lihtne Google otsing andis 24 eurose kupongi veebruari lõpuni 🙂 Aga, see maksaks muidu 2.96 eurot (koos maksudega!). Nagu, misasi see on!? Kuidas see saab nii odav olla 😀

Kui Hetzneri kupongi poleks leidnud, siis ilmselt oleks õppimiseks kasutanud siit artikli lõpust UpCloudi või DigitalOceani kupongi.

9. Apr 2020 |

How to stay away from Facebook for a period of time

How I willingly locked myself out of Facebook (and you can too).

I always regret the time I have spent on social media. I deleted my Twitter (permanently) few months ago. I stopped watching Instagram stories and haven’t seen any this year. I have deleted my Facebook account once (few years ago) and now is the second time to take a break. Because I really need (and would prefer) to study.

Continue reading “How to stay away from Facebook for a period of time”

29. Feb 2020 |

Niisama asjadest – Unsplash ja Sportlio

Unsplash saatis enda eelmise aasta kokkuvõtte ja mind väga vaimustab, kuidas 7 aastaga entusiasmi pealt lihtsast Tumblri blogist midagi sellist tehnoloogiliselt lahedat välja kasvab. Nende esimese lehe postitus Hacker Newsis (30.05.2013) endiselt kihvt lugemine (ka sellest, kuidas v1 kriitika mõnikord on väga mööda).

Kolmapäeval käisin Python Coding Clubis vaatamas Mikk Meerentsi presentatsiooni Sportliost. Ta on alates 2014 samamoodi õhina pealt üksi teinud enamvähem nende oskustega, mis ta sealt kolmapäevadel õppinud on. See on jällegi huvitav perspektiiv, et kõik on võimalik.

5. Feb 2020 |

SSH keys in Ubuntu (basic commands)

Update and clean.

#! /usr/bin/bash

sudo apt-get update && sudo apt-get -y dist-upgrade && sudo apt-get -y autoremove --purge && sudo apt-get -y clean

Regular ones

ctrl+A – beginning
ctrl+E – end
alt+F – move cursor forwadr
alt+B – move cursor back
ctrl+G – exit ssh session or exit recursive search
ctrl+L – clear terminal
ctrl+U – clear line, if curson in the end
ctrl+K – clear line, if curson in the beginning
ctrl+D – logout

mv * .. – move everything one folder up

SSH keys

Located in: /home/robert/.ssh/id_rsa.pub
To generate keys: ssh-keygen
To display in terminal: cat ~/.ssh/id_rsa.pub
Give bash script permissions: chmod +x script.sh

Add additional keys to this file:
cat ~/.ssh/authorized_keys

New password for current user: sudo passwd root

Useful guide: https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-1604

WSL (Windows subsystem for Linux)

explorer.exe . – opens current directory in Explorer.

sudo tcpflow -p -C -i lo port 8080 – listen to port 8080 and see the traffic