Skip to content

Instantly share code, notes, and snippets.

View eduanmoldeep's full-sized avatar
🦁
Working from home

Anmoldeep Singh Arora eduanmoldeep

🦁
Working from home
View GitHub Profile
@eduanmoldeep
eduanmoldeep / setupForBV.sh
Last active September 8, 2023 12:36
Setup base for Server admin
sudo apt update
sudo apt upgrade
sudo apt-get update
sudo apt-get upgrade
sudo timedatectl set-timezone Asia/Kolkata
$ sudo apt install -y gconf-service libgbm-dev libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
# open vscode and exit
alias codehere="code . && exit"
# sojaaa - command to put system on hibernate
alias sojaa="systemctl hibernate"
@eduanmoldeep
eduanmoldeep / setup_mongo.sh
Last active April 24, 2021 07:58
Simple script to setup mongodb on AWS Ubuntu Instance
# tested on ubuntu 20 VM
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
sudo apt purge mongo* -y
sudo apt-get update
sudo apt-get install -y mongodb-org
# prevent updates
echo "-------------------------------------------------"
echo "------steps to prevent undesired updates---------"
@eduanmoldeep
eduanmoldeep / webdev_online_resources.md
Last active June 6, 2019 12:45 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)