- 90
- 64 027
Code Gyaan
India
Приєднався 10 кві 2021
Hi there. I am software engineer with working experience on Fintech, Transport, Enterprise applications building.
How To Make Your Boring Mac Terminal So Much Better
Hey guys! In this video I'll be sharing exactly how I setup my mac terminal to make it amazing and get a much better experience. We'll be using iTerm2, zsh, Oh-My-Zsh, Powerlevel10k and some other cool things! I hope you enjoy it and find it helpful!
Add status bar in terminal which will show ram usage, cpu usage etc...
Step 1:
Install Brew
Command: /bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Step 2:
Install iTerm2
Command: brew install --cask iterm2
Install oh-my-zsh
command: sh -c "$(curl -fsSL raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Install theme
command: git clone github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
Plugins:
Syntax highlight: git clone github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
Auto suggestion: git clone github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
Add in terminal: vi ~/.zshrc
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(
git
zsh-syntax-highlighting
zsh-autosuggestions
)
p10k configure -- to reset theme configurations
Customise item2 top bar -
item - settings - sessions
Let’s fix vsc terminal theme:
Vsc terminal fix
Add status bar in terminal which will show ram usage, cpu usage etc...
Step 1:
Install Brew
Command: /bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Step 2:
Install iTerm2
Command: brew install --cask iterm2
Install oh-my-zsh
command: sh -c "$(curl -fsSL raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Install theme
command: git clone github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
Plugins:
Syntax highlight: git clone github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
Auto suggestion: git clone github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
Add in terminal: vi ~/.zshrc
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(
git
zsh-syntax-highlighting
zsh-autosuggestions
)
p10k configure -- to reset theme configurations
Customise item2 top bar -
item - settings - sessions
Let’s fix vsc terminal theme:
Vsc terminal fix
Переглядів: 235
Відео
How To Make Your Boring Mac Terminal So Much Better
Переглядів 190Місяць тому
Hey guys! In this video I'll be sharing exactly how I setup my mac terminal to make it amazing and get a much better experience. We'll be using iTerm2, zsh, Oh-My-Zsh, Powerlevel10k and some other cool things! I hope you enjoy it and find it helpful! Step 1: Install Brew Command: /bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Step 2: Install iTerm2 Comma...
Second Largest | GeeksForGeeks | DSA | Without sorting
Переглядів 43Місяць тому
Prob link- www.geeksforgeeks.org/problems/second-largest3735/1 "Second Largest element in array problem solution" "GeeksforGeeks array problem solution in C " "Single loop approach to find second largest element" "Two loop solution for second largest in array" "How to solve second largest element problem" "Efficient way to find second largest element in C " "GeeksforGeeks easy problem solution"...
LeetCode for Beginners 2024: Start Solving Like a Pro! | Easy Steps for Success
Переглядів 4092 місяці тому
LeetCode for Beginners 2024: Start Solving Like a Pro! | Easy Steps for Success Description: Want to start solving LeetCode but don’t know where to begin? 🤔 In this video, I’ll guide you through the easiest and most effective way to kick off your LeetCode journey as a beginner in 2024. From choosing the right programming language (Python or C ?) to managing time, solving the right problems, and...
Deploy Your Django Project in 5 Mins! Simple Steps with 100% Guarantee | AWS Cloud Tutorial
Переглядів 5563 місяці тому
🚀 Ready to launch your Django project in just 5 minutes? Follow this step-by-step guide for hosting your Django app on AWS EC2 with a 100% success guarantee! Each step is carefully explained to avoid confusion and ensure a successful website deployment using the robust and scalable AWS Cloud. 🔗 Visit AWS and sign up for a free tier account! Click here 👉 aws.amazon.com/free/ Project link - githu...
useClickOutside custom hook - React JS Interview Question - Frontend Machine Coding round interview
Переглядів 1,1 тис.7 місяців тому
This video helps you in understanding and creating a custom hook where if user click outside of a given an element, The useClickOutside custom hook is a React hook used to detect clicks outside of a specified element. It involves creating a hook that uses a ref to track the element and adds an event listener to detect clicks outside of it. When a click outside is detected, a specified callback ...
useFirstRender custom hook - React JS Interview Question - Frontend Machine Coding round interview
Переглядів 6087 місяців тому
This video explains how you can write a hook that tells a component whether it is a first render or not - useFirstRender The useFirstRender custom hook in React is used to determine if a component is rendering for the first time. It uses a useRef to track if the component has been rendered before. On the first render, it returns true, and on subsequent renders, it returns false. This is useful ...
Learn Django in 1 hr with Project
Переглядів 1,1 тис.7 місяців тому
The Ultimate Django URL Shortener Project :- Welcome to our channel! In this video, we explore an exciting URL Shortener project created by Akash Bhaskar. This Python-based application simplifies long URLs into short, easy-to-share links. Whether you're a developer looking for a new project or just curious about URL shortening, this video will guide you through the setup, key features, and how ...
React js interview question (useTimeout hook)- front end machine coding round interview experience
Переглядів 1,1 тис.7 місяців тому
This video explains how you can create your own useTimeout hook in react. The useTimeout custom hook in React provides a way to execute a function after a specified delay. It simplifies the use of setTimeout by managing the timer lifecycle, ensuring the timer is cleared when the component unmounts or the delay changes. This hook is useful for scenarios where you need to perform delayed actions ...
React interview quiz question - React re-render and misconceptions around it
Переглядів 417 місяців тому
Let's understand when and how React components re-renders and solve a react interview quiz question around react component re-render cycle. State Changes Always Cause Re-renders: Not all state changes cause re-renders. React uses shallow comparison for state and props to determine if a re-render is necessary. Props Changes Always Trigger Re-renders: Similar to state, props changes trigger re-re...
how to approach and write any polyfill in JavaScript (ex: map polyfill)
Переглядів 1047 місяців тому
#javascript #javascriptinterview #frontenddeveloper A map polyfill in JavaScript provides functionality for environments that do not support the native Array.prototype.map method. It replicates the behavior of the map method, allowing you to apply a provided function to each element in an array, creating a new array with the results. The polyfill ensures compatibility across older browsers by a...
React JS Interview Questions ( useMemo Hook Polyfill )- Frontend Machine Coding Interview Experience
Переглядів 1567 місяців тому
#JavascriptInterview #ReactInterview #reactjs The useMemo custom hook in React is designed to optimize performance by memoizing the result of a computation. It takes a function and a list of dependencies as arguments, and only re-computes the memoized value when one of the dependencies changes. This helps to avoid expensive calculations on every render, thus enhancing the efficiency of the comp...
React JS Interview Questions ( Custom useEffect Hook ) - Frontend Coding Interview Experience
Переглядів 1397 місяців тому
A useEffect polyfill is typically used in React applications to ensure compatibility with older browsers or environments that do not support the useEffect hook natively. Here's a summary of how you can create a custom useEffect polyfill: Understanding useEffect: useEffect is a hook in React that allows you to perform side effects in function components. It replaces lifecycle methods like compon...
Quiz 113 - Javascript Arrays interview question #js #javascript #jsquiz
Переглядів 367 місяців тому
Quiz 113 - Javascript Arrays interview question #js #javascript #jsquiz
Quiz 131 - Async await with try catch Javascript #js #javascript #jsquiz
Переглядів 377 місяців тому
Quiz 131 - Async await with try catch Javascript #js #javascript #jsquiz
How to build a Simple Card Component in ReactJS - Beginner Friendly Tutorial
Переглядів 1378 місяців тому
How to build a Simple Card Component in ReactJS - Beginner Friendly Tutorial
Pipe Function and Compose Function | Javascript Functional Programming Tutorial
Переглядів 1008 місяців тому
Pipe Function and Compose Function | Javascript Functional Programming Tutorial
Quiz 131 - Async await with try catch Javascript #js #javascript #jsquiz
Переглядів 1988 місяців тому
Quiz 131 - Async await with try catch Javascript #js #javascript #jsquiz
Implement curry function in Javascript
Переглядів 3978 місяців тому
Implement curry function in Javascript
Quiz 12 - Function Arguments #js #javascript #jsquiz
Переглядів 1418 місяців тому
Quiz 12 - Function Arguments #js #javascript #jsquiz
Quiz 11 - Implicit Type Coercion II Javascript #js #javascript #jsquiz
Переглядів 768 місяців тому
Quiz 11 - Implicit Type Coercion II Javascript #js #javascript #jsquiz
Quiz 10 - Equal operator and booleam #js #javascript #jsquiz
Переглядів 758 місяців тому
Quiz 10 - Equal operator and booleam #js #javascript #jsquiz
Quiz #9 - Null and undefined javascript #js #javascript #jsquiz
Переглядів 618 місяців тому
Quiz #9 - Null and undefined javascript #js #javascript #jsquiz
Quiz #8 - Implicit Type Coercion #js #javascript #jsquiz
Переглядів 908 місяців тому
Quiz #8 - Implicit Type Coercion #js #javascript #jsquiz
Quiz #7 - Javascript Increment Operator interview questions #js #javascript #quiz
Переглядів 858 місяців тому
Quiz #7 - Javascript Increment Operator interview questions #js #javascript #quiz
Quiz #6 - Javascript Arrow function interview questions #js #javascript #quiz
Переглядів 1318 місяців тому
Quiz #6 - Javascript Arrow function interview questions #js #javascript #quiz
Quiz #5 - Javascript Scope from BFE.dev Javascript interview questions #js #javascript #quiz
Переглядів 1058 місяців тому
Quiz #5 - Javascript Scope from BFE.dev Javascript interview questions #js #javascript #quiz
Quiz #4 - Promise then callbacks II from BFE.dev Javascript interview question #js #javascript #quiz
Переглядів 1278 місяців тому
Quiz #4 - Promise then callbacks II from BFE.dev Javascript interview question #js #javascript #quiz
Quiz #3 - Promise then callbacks from BFE.dev Javascript interview questions #js #javascript #quiz
Переглядів 2208 місяців тому
Quiz #3 - Promise then callbacks from BFE.dev Javascript interview questions #js #javascript #quiz
Quiz #2 - Promise Executor from BFE.dev Javascript interview quiz questions #js #javascript
Переглядів 1058 місяців тому
Quiz #2 - Promise Executor from BFE.dev Javascript interview quiz questions #js #javascript