What is bubbling and how it works

Capturing Capturing is a process of event propagation that starts from the top of the DOM tree (generally Document) and goes downward till reaching event target. All capturing `EventListeners` of the appropriate type, registered on ancestors of the event’s target will be intercepted and triggered. addEventListener(type, listener, useCapture) To use capturing we have to set… Continue reading What is bubbling and how it works

Log in to DigitalOcean via ssh with password

How to add ssh public key to authorized_keys on DigitalOcean Droplet First thing you probably tried was pasting the public key to authorized_keys via console tool offered by DigitalOcean. Sounds easy and obvious but DigitalOcean’s console changes some characters during the pasting, so your key will be in total mess. Writing it character by character… Continue reading Log in to DigitalOcean via ssh with password