Skip to content

Instantly share code, notes, and snippets.

View shuklaritvik06's full-sized avatar
🎯
Focusing

Ritvik Shukla shuklaritvik06

🎯
Focusing
View GitHub Profile
@shuklaritvik06
shuklaritvik06 / Dockerfile-airflow
Created December 17, 2024 18:15 — forked from sebradloff/Dockerfile-airflow
Airflow MesosExecutor dockerized workflow
# REFERENCES:
# - https://github.com/puckel/docker-airflow
# - https://github.com/ImDarrenG/mesos-framework-dev/blob/master/Dockerfile
# - https://github.com/Stibbons/docker-airflow-mesos
# Wherever you store your mesos image built from Dockerfile-mesos
FROM slicelife/mesos:1.4.0 as mesos
FROM ubuntu:16.04
# Never prompts the user for choices on installation/configuration of packages
ENV DEBIAN_FRONTEND noninteractive
@shuklaritvik06
shuklaritvik06 / list.txt
Created July 7, 2024 13:11 — forked from shortjared/list.txt
List of AWS Service Principals
a4b.amazonaws.com
access-analyzer.amazonaws.com
account.amazonaws.com
acm-pca.amazonaws.com
acm.amazonaws.com
airflow-env.amazonaws.com
airflow.amazonaws.com
alexa-appkit.amazon.com
alexa-connectedhome.amazon.com
amazonmq.amazonaws.com
@shuklaritvik06
shuklaritvik06 / bash_strict_mode.md
Created June 26, 2024 14:19 — forked from mohanpedala/bash_strict_mode.md
set -e, -u, -o, -x pipefail explanation
@shuklaritvik06
shuklaritvik06 / mern-server-setup.md
Created June 20, 2022 15:34 — forked from bradtraversy/mern-server-setup.md
Setup Ubuntu & Deploy MERN app

Linux Server Setup & MERN App Deployment

These are the steps to setup an Ubuntu server from scratch and deploy a MERN app with the PM2 process manager and Nginx. We are using Linode, but you could just as well use a different cloud provider or your own machine or VM.

Create an account at Linode

Click on Create Linode

Choose your server options (OS, region, etc)

SSH Keys

@shuklaritvik06
shuklaritvik06 / remove env file from git forever
Created February 6, 2022 09:27 — forked from gjerokrsteski/remove env file from git forever
remove env file from git history forever
echo '.env' >> .gitignore
git rm -r --cached .env
git add .gitignore
git commit -m 'untracking .env'
git push origin master
@shuklaritvik06
shuklaritvik06 / Git Commands
Last active December 19, 2022 10:34
This is just a list of git commands that I mostly used, will work as a cheatsheet for me :)
git add -p
git add .
git status
git add filename
git commit -m Message
git rebase -i HEAD~n
git rebase branchName
git log --oneline
git merge
git push alias branchname