Entradas

Mostrando las entradas de 2022

Install npm lite-server for automatic update in your browser

Imagen
This is a basic step by step on how to install npm lite server. Requirements: create a project and open it in vsc or atom. node and npm installed. Open power shell and access the folder were your project is, and check the current node and npm version by typing the command prompt  node -v and npm -v To start, we are going to  create a package. json file,  typ e the  co mmand prompt npm init press enter and fill in all the info. asked (description, name, author etc...): when you about to finish it will show you something like this:  press enter and you can now check what is in the folder by using the command prompt  ls you see now a package.json folder, awesome!  after this,  you are going to type the command prompt  to install the lite-server. (This can take a few minutes) npm install lite-server --save-dev yarn add lite-server --dev # or yarn go now to vsc, in your project you will found a new document called packag...

Mastering Git Commands: A Beginner's Guide to Git and GitHub

Imagen
Hey there! Ever wondered how developers keep track of all their code changes without losing their minds? The secret sauce is Git. And when you pair it with GitHub, you get a powerful combo for managing and collaborating on code. Whether you’re just dipping your toes into the coding world or looking to level up your version control game, this guide will get you up to speed on the essential Git commands. What’s the Deal with Git and GitHub? Git  is a version control system that helps you track changes to your code over time. Imagine it as a magical undo button that lets you go back to previous versions of your project. It also makes it easy to collaborate with others without stepping on each other’s toes. GitHub  is like a social media platform for developers. It hosts your Git repositories and makes it easy to share your code with others, collaborate on projects, and even showcase your work to potential employers. Now, let’s dive into some Git basics and essential commands that...

💻 Terminal + VS Code + GitHub: The Trio Every Developer Should Master

If you’re learning to code or already working in tech, you've probably heard people say, “just push it to GitHub” or “use the terminal.” But if you’ve never really explored what that means—this post is for you. This is our first entry diving into the power of combining the  Terminal ,  Visual Studio Code (VSC) , and  GitHub , and why mastering this trio will seriously level up your development workflow. 🧠 What Is the Terminal? The  terminal  (also called command line or shell) is a tool where you interact with your computer by typing commands instead of clicking buttons. It may seem intimidating at first, but once you get the hang of it, it’s  faster and more powerful  than a GUI (graphical interface) for many dev tasks. In  VS Code , you can open it easily: View > Terminal Or with a shortcut: Mac:   Ctrl + `` (backtick) Windows/Linux:  `Ctrl + `` 🧰 What Can You Do With the Terminal in VS Code? Here are just a few examples: Navigate...

Power Shell: quick and easy Git version check and update

Imagen
I recently complete my IT technical support course from Google, and one of the thing that I found more handy, is working on the command lines. PowerShell for me that I use windows. It is a lot more fast and easy than interacting with the GUI and offers you endless possibilities.  Today, I will share with you how to update git on it: first, you will need to look for the PowerShell, look for this icon:                                                                            Open it, and you will see something like this: first, you can check the current version you have installed by typing:  git --version  The shell will tell you which current version you have installed on your computer, and if there are any other new version available, it will ask you if you want to update. With a Y/n,...