linux
-
Approach to Design: Desktop-First
A desktop-first approach to design and development is more appropriate in scenarios where the primary users are expected to access the application through desktop computers. This might be the case for software that requires a large screen for complex data visualization, such as enterprise resource planning (ERP) systems, or for applications that need the higher… Continue reading
-
Understanding Packages – How to use and what each section means
In a typical package, you will also find a package.json file. A package.json file is a manifest file that’s used in projects based on Node.js. name: Indicates the name of the package and in this case, the name is @myorg/component. The @myorg/ part suggests that this package is a part of a larger project or organization named myorg. This scoped package… Continue reading
-
Multiple Entries into the /etc/hosts file
The general format of the /etc/hosts file: You can list multiple hostnames for a single IP address, separated by spaces. However, having too many entries on a single line can sometimes make the file difficult to read. If readability becomes an issue, you can use multiple lines with the same IP address: Save the file. Flush your… Continue reading
-
How to run Github Actions Locally
We will use act to read .github/workflows/ and determine all GitHub Actions that need to be run. act uses the Docker API to build an image and determines the execution path based and runs containers for each action based on the images prepared. Installation and Running CD into the root of your working directory where your github actions… Continue reading
-
Pre-commit Hook: For preventing Passwords from being committed
We have to check for patterns that might indicate a password or other sensitive information inside a git pre-commit hook inside the .git/hooks directory in a repo & create a plain text file named pre-commit without any file extensions. The pre-commit file is a bash instructions file and therefore, we have to make it executable by running the command: chmod +x… Continue reading