Authenticate A Golang API With JSON Web Tokens
JSON Web Tokens refresher
The client sends login credentials, the server checks matches the credentials
Note this command.
find . -not -path '*/\.*' -iname '*' -maxdepth 1 -mtime -1
Let's cut it open and see what's happening.
find .: This says find in the current directory (
-not -path '*/\.*': This says not to match dot (hidden) files.
-iname '*': This says match
*(any name). The
inameis for case-insensitive.
-mtime -1: This says only match files which are modified less than 1 day(s) ago. If
-is turned to
+, it will say only match files which are not modified after one day which is same as matching every file which are modified after one day.