Skip to content

Instantly share code, notes, and snippets.

View suryaajha's full-sized avatar
🎯
Finding my purpose!

Suryaa Jha suryaajha

🎯
Finding my purpose!
View GitHub Profile
import re
def get_file_content(include_tag):
file_name = include_tag.split(" ")[1].split("=")[1].replace('"', "")
return open(file_name).read()
def main():
"""
# Importing from the ubuntu:latest image
FROM ubuntu:latest
# End Importing from the ubuntu:latest image
# Updating Distribution Packages
RUN apt update -y \
&& apt upgrade -y \
1) Create Collection with options
db.createCollection(
'users',
{
capped : true,
size : 100,
max : 2
}
);