from datetime import datetime | |
def now(): | |
format_string = "%Y-%m-%d %H:%M:%S" | |
current_datetime = datetime.now() | |
current_datetime_without_microseconds = current_datetime.replace(microsecond=0) | |
return current_datetime_without_microseconds | |
print(now()) #output example : 2024-01-09 09:05:06 | |
#sql |
from flask import request | |
from flask import jsonify | |
@app.route("/get_my_ip", methods=["GET"]) | |
def get_my_ip(): | |
return jsonify({'ip': request.remote_addr}), 200 |
-
Assembly Language Game: Create a simple game (e.g., a text-based adventure game) using assembly language. This project should demonstrate your understanding of assembly language instructions and control flow.
-
Memory Allocation Simulator: Build a program that simulates memory allocation and deallocation processes. This project will help you explore memory management concepts and data structures.
-
Basic Operating System Shell: Develop a basic command-line shell in assembly language. The shell should support essential commands like file management, process execution, and system calls.
-
File Encryption/Decryption Tool: Write a program in assembly language that encrypts and decrypts files using low-level file I/O operations. This project will involve file system interactions and basic cryptography.
-
Stack-Based Calculator: Create a calculator that performs arithmetic operations using a stack-based approach in assembly language. This project will demonstrate your knowledge of sta
.notify { | |
position: fixed; | |
bottom: 50px; | |
right: 20px; | |
width: 400px; | |
padding: 12px; | |
background: #364c89; | |
color: #fff; | |
border-radius: 20px; | |
opacity: 0; |
-
Host your python flask on AWS EC2
-
Cloning a private Github Repo to your EC2 instance
-
Auto reloading python Flask app upon code changes
-
Link : https://stackoverflow.com/questions/16344756/auto-reloading-python-flask-app-upon-code-changes