This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
def get_file_content(include_tag): | |
file_name = include_tag.split(" ")[1].split("=")[1].replace('"', "") | |
return open(file_name).read() | |
def main(): | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Create Collection with options | |
db.createCollection( | |
'users', | |
{ | |
capped : true, | |
size : 100, | |
max : 2 | |
} | |
); |