Watch the whole playlist
Author: dion
End to end authorization + auth strategy used in my web application MyServers Background For a traditional session approach, the user would login and would be issued with a cookie (JSESSION or something like that) with a key. This key would then be mapped to a value on the backend. That way we can store … Read More “Authentication / Authorization [JWT]” »
Adding extra storage in VMware and rebooting is not enough… df -h will still show your old storage. You need to use a tool called “parted” to add extra space to your partition (/dev/sda1) https://unix.stackexchange.com/questions/610129/resize-dev-sda2-ubuntu-vmware
Exceptions should be handled in try catch blocks. If an exception is thrown but not handled by the program, then it is terminated midway. Example: I have an exception in method do2() which I don’t handle. The program terminates as soon as the exception is thrown. do1() does not get a chance to execute: However, … Read More “If exceptions are not handled” »
https://i.stack.imgur.com/qiEfi.png
brb https://webdevsimplified.com/specificity-cheat-sheet.html Learn Every CSS Selector In 20 Minutes
Automatic updates displayed in client from the server Basically SSE works by the client opening a long lived connection to a particular endpoint. Unlike websockets, it is uni-directional – meaning that only the server pushes events, the client simply listens. Once a new event is pushed, it can be displayed on the UI Emitter is … Read More “Server Sent Events” »
How to get your files back when you delete them, or do git reset – -hard without committing I made a bunch of changes to my UI. But I thought that the UI looked better before making these changes.. So I wanted to go back to the original HEAD and check it out. At this … Read More “Git reset without committing” »