Skip to content

Instantly share code, notes, and snippets.

View mdaamer248's full-sized avatar
🏠
Working from home

Md Aamer mdaamer248

🏠
Working from home
View GitHub Profile
@mdaamer248
mdaamer248 / clean-up-arch-linux.md
Created May 17, 2023 20:23 — forked from rumansaleem/clean-up-arch-linux.md
Instructions to clean up Arch Linux (Manjaro)

Contents

  • Clean pkg cache
  • Remove unused packages (orphans)
  • Clean cache in /home
  • remove old config files
  • Find and Remove
    • duplicates
    • empty files
    • empty directories
  • broken symlinks
@mdaamer248
mdaamer248 / npmcrashcourse.txt
Created March 15, 2022 13:06 — forked from bradtraversy/npmcrashcourse.txt
NPM Crash Course Commands
# GET VERSION
npm -v (or --version)
# GET HELP
npm help
npm
# CREATE PACKAGE.JSON
npm init
npm init -y (or --yes)
# GET VERSION
yarn -v (or --version)
# GET HELP
yarn help
# CREATE PACKAGE.JSON
yarn init
yarn init -y // Use defaults
@mdaamer248
mdaamer248 / webdev_online_resources.md
Created March 15, 2022 13:04 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@mdaamer248
mdaamer248 / node_nginx_ssl.md
Created March 15, 2022 12:59 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user

Here I am Sharing Some Useful #CheatSheets of DevOps and Cloud that can ease daily relatively tasks.
if you find some more can add in comment section
- Linux command cheat sheet: https://lnkd.in/eemfYJU
- Git and GitHub cheat sheet: https://lnkd.in/eqmYz7Y
- Docker cheat sheet: https://lnkd.in/euVgEym
@mdaamer248
mdaamer248 / docker-help.md
Created February 28, 2022 11:22 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@mdaamer248
mdaamer248 / ssh.md
Created February 28, 2022 11:21 — forked from bradtraversy/ssh.md
SSH & DevOps Crash Course Snippets

SSH Cheat Sheet

This sheet goes along with this SSH YouTube tutorial

Login via SSH with password (LOCAL SERVER)

$ ssh [email protected]

Create folder, file, install Apache (Just messing around)

$ mkdir test

$ cd test

@mdaamer248
mdaamer248 / Deploy-to-netlify.yaml
Created February 28, 2022 11:20 — forked from CinematicCow/Deploy-to-netlify.yaml
A Workflow to use Github Actions and deploy a nextjs site to netlify
name: Deploy to Netlify
on:
push:
branches:
- "master"
jobs:
deploy:
runs-on: ubuntu-18.04