Hello! I'm a full stack developer who can build apps from the ground up. I enjoy working in a dynamic and agile environments on products that have business and social impact. My background in business administration helps me to better understand the business request. I'm generally a flexible, social and responsible person that likes to learn and try new things.
This website is setup to experiment with technologies and keep track of some things I learned (TIL).
TIL: How to fetch file from remote linux server with SCP via bastion server
> scp -o "proxycommand ssh -W %h:%p -i PATH/TO/SSH/KEY username@bastion-linux-server-ip" -i PATH/TO/SSH/KEY username@linux-server-ip:/path/to/file/filename.txt /PATH/LOCAL/MACHINE
Note: If you use the root folder ('/') as the destination you will get a Read-only file system error.
TIL: Get an md5sum of a folder
Very useful if you want to see if a value has changed
find </path/to/folder/> -type f -exec md5sum {} \; | sort -k 2 | md5sum
| sed 's/ .*$//'
TIL: Cheats for numerical Linux permissions
Basically the number is based on how the permission would look in binary:
TIL: Nullish Coalescing Operator ??
Alternative to logical OR operator. It return the right hand value only if the left hand value is either NULL or undefined.
More info
TIL: Do not stringify an error in a try / catch block
Unexpected behaviour of a stringified error in try / catch block found during debugging a production issue
More info