Skip to content

Instantly share code, notes, and snippets.

View Sllayan's full-sized avatar
🦎
This is a CPU, not an HDD

Shayan Sllayan

🦎
This is a CPU, not an HDD
View GitHub Profile
@Sllayan
Sllayan / README.md
Last active November 25, 2023 14:41
Linux : gnome terminal settings backup

Linux

gnome terminal settings backup


Customize your gnome terminal with this file

Open terminal in .txt file directory :

@Sllayan
Sllayan / README.md
Last active October 14, 2023 13:15
Typescript(logger): best practice to create a logger function and use it anywhere you need to log

Typescript

Logging

Best practice to create a logger function and use it anywhere you need to log

log.ts : include logging config and function use.ts : call example

It is better to create a env file and set the settings of the log.ts file in it.

@Sllayan
Sllayan / README.md
Last active October 14, 2023 13:17
Python(logger): best practice to create a logger function and use it anywhere you need to log

Python

Logging

Best practice to create a logger function and use it anywhere you need to log

log.py : include logging config and function use.py : call example

It is better to create a config file and set the settings of the log.py file in it.