Component Interaction in Angular:Angular is a powerful front-end framework built around a component-based architecture. In any Angular application, components do not exist in isolation—they interact with each other to build cohesive applications. In this article, we’ll explore the d...Apr 13, 2025·2 min read
Getting started with git cherry-pickGit cherry-pick is a very useful command that allows you to retrieve a specific commit from one branch and apply it to another branch. This can be particularly useful if you want to retrieve a particular modification made on one branch, without havin...May 8, 2023·2 min read
Get the nth line of a file using bashYou have a file.txt with the following content : Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8 Line 9 Line 10 Write a program that print the 7th line of this file : Line 7 Method 1 with loop #!/bin/bash IFS=$'\n' a=0; for i in $(cat file...May 8, 2022·1 min read
Share a file from command linetransfer a file from the terminal without having to use ssh or scp, it is possible with transfer.sh. You may just need curl to perform a file transfer. Note that tranfer.sh puts your file in its server and gives you an access link that you will then ...Jan 20, 2022·1 min read