A media query breakpoint is a specific screen width at which a website’s layout or styling changes to provide a better user experience on different devices.
Example:
@media screen and (max-width: 768px) {
sed
(Stream Editor) is a powerful Unix utility used for parsing, transforming, and filtering text in a file or input stream. It works line-by-line and is commonly used in shell scripts for automated editing of configuration files, logs, and other text data. sed
supports advanced operations like substitution, deletion, insertion, and text manipulation using regular expressions.
Command | Purpose |
---|---|
sed 's/old/new/' file.txt |
Replace first occurrence of 'old' with 'new' in each line. |
sed 's/old/new/g' file.txt |
Replace all occurrences of 'old' with 'new' in each line. |
The most interesting idea was starting with small, simple habits and adding them to things you already do. This makes habits easier and more natural.
The B = MAP formula (Behavior = Motivation + Ability + Prompt) says that a habit happens when motivation and ability meet the right trigger. Getting these three right makes a habit easier to do.
Grit means having the passion and perseverance to stick with long-term goals, even when progress is slow or difficult. Success depends more on consistent effort than on raw talent.
A growth mindset is the belief that abilities and intelligence can be developed through Dedication,HardWork and Focus.
1. mkdir hello # Creates a directory named 'hello'
2. cd hello # Changes the current directory to 'hello'
3. mkdir five # Creates a directory named 'five' inside 'hello'
4. mkdir one # Creates a directory named 'one' inside 'hello'
5. cd five # Changes the current directory to 'five'