Skip to content

Instantly share code, notes, and snippets.

View AxeemHaider's full-sized avatar

Azeem Haider AxeemHaider

View GitHub Profile
@AxeemHaider
AxeemHaider / settings.json
Created May 28, 2022 09:48
VsCode default settings
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"eslint.enable": true,
"eslint.alwaysShowStatus": true,
"eslint.validate": ["javascript", "typescript"]
}
@AxeemHaider
AxeemHaider / .prettierrc
Created May 28, 2022 09:20
Prettier Default config
{
"arrowParens": "always",
"embeddedLanguageFormatting": "auto",
"endOfLine": "lf",
"printWidth": 80,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"semi": true,
"singleQuote": false,
"tabWidth": 2,
@AxeemHaider
AxeemHaider / lampp_config.md
Last active October 3, 2023 09:35
Install and Config Lampp on Ubuntu

Prerequisites

sudo apt update

Install Apache

Config file /etc/apache2/apache2.conf

sudo apt install apache2
@AxeemHaider
AxeemHaider / .bashrc
Last active June 13, 2022 09:51
Show Git branches and status in Ubuntu Terminal
# Adds the current branch to the bash prompt when the working directory is
# part of a Git repository. Includes color-coding and indicators to quickly
# indicate the status of working directory.
git_branch() {
# -- Finds and outputs the current branch name by parsing the list of
# all branches
# -- Current branch is identified by an asterisk at the beginning
# -- If not in a Git repository, error message goes to /dev/null and