A collection of tech essays and notes.

essay

Commenting the stored procedures

5 July 2023
Writings comments in the code will help you and anyone who reads the code by giving more readability and understandings...
notes

Deleting node modules

5 July 2023

In windows, deleting node modules takes so much time and sometimes it makes my screen unresponsive. I googled for some solution and found the below:

Install a npm package called npkill with the command npm i -g npkill.
After installing from the terminal go to the directory from which we want to delete the node modules and type npkill.

The command prompt will list all the node modules and we can select the required folder.
After the secltion, you can press the Space key which will erase the directory in which the cursor is located.

To exit, q, or Ctrl + c.

References

npkill

essay

Codbix No.4

30 June 2023
Welcome to Issue #4 of The Codbix! This week: Modern work requires attention, Self-healing code is the future of software development and How The world’s biggest batches of food are made.
essay

Data Dictionary Views in PL/SQL

21 June 2023
This is cheat sheet for data dictionary views in PL/SQL
essay

Redirect your webpage using JavaScript

14 June 2023
JavaScript to redirect from one website to another. The window.location object can be used to get the current page address and redirect to a new page.
essay

Install a specific version of npm package

7 June 2023
Installing a specific version of an npm package, something that will help to solve compatibility issues.
essay

Codbix No.3

31 March 2023
Welcome to Issue #3 of The Codbix! This week: The Arc Browser, Databases Sharding Explained, The Boy, the Mole, the Fox and the Horse, and Workspaces.
notes

Directory Objects in PL/SQL

2 March 2023

This view describes all directories accessible to the user.

SELECT * FROM ALL_DIRECTORIES;

This view describes all directories specified for the entire database.

SELECT * FROM DBA_DIRECTORIES;

To view all the tables details, look here.

References

Oracle Doc

notes

What is CSS Modules?

2 March 2023

In CSS modules, CSS class names and animation names are scoped locally by default. In React you can use the file naming conversion as [file name].module.css. This let the React and Webpack know that you are using CSS Modules.

Importing the CSS in the file.

import nameyoulike from './name.modules.css';

Calling the style in the file.

<button className={styles.button} />
References

Styled Components Doc