Skip to content

Instantly share code, notes, and snippets.

@Chinmay1743
Chinmay1743 / Change-Terminal-colours.md
Created February 13, 2024 06:50
Change ugly colours of default terminal (particularly in case of Ubuntu)

For output of ls command

Add the following line of code in your .bashrc file

export LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.'

LS_COLORS is an environment variable for the command ls. 


@Chinmay1743
Chinmay1743 / setup-everything.md
Last active April 15, 2024 08:10
setup-mern-stack.md
@Chinmay1743
Chinmay1743 / Install-Terraform-Debian.md
Last active June 12, 2023 09:16
Official HashiCorp documentation gave a few errors so instead follow these steps:
@Chinmay1743
Chinmay1743 / Sign-Previous-Commits.md
Last active September 4, 2022 10:16
A Gist to verify all previous commits from a specific commit.

Sign Old Git commits as Verified



Warning : I will not be responsible for any data loss. This snippet marks all commits as verified but changes commit time & date as well as the original commit hash.

Impact : Commit linked to any issue will show error + everything will be recommitted hence same date, time and changed hash.

Result : Proceed with caution.


@Chinmay1743
Chinmay1743 / setup-git-on-linux.md
Last active September 6, 2022 15:49
A Gist to setup SSH and GPG keys for Git on one or more GitHub accounts in Linux.

Description

This Gist serves as a bare minimum tutorial/manual to help readers understand step-by-step process to configure SSH and GPG keys for Git and Github in Linux. It assumes that you have a basic idea of what Git is and where it is used.

Appropriate scenario for this could be when you have a work and a personal github (and email) account on same machine