From 95d3b56a6fddf767d806cdbc08e560bd03be183d Mon Sep 17 00:00:00 2001
From: s2gh <157559401+s2gh@users.noreply.github.com>
Date: Thu, 8 Feb 2024 14:02:49 +0000
Subject: [PATCH] --
---
.../data-structures-and-algorithms-for-coding-interview.md | 1 +
content/posts/online-pdf-compression-tool.md | 3 +++
content/posts/real-time-voice-translator.md | 3 +++
3 files changed, 7 insertions(+)
diff --git a/content/posts/data-structures-and-algorithms-for-coding-interview.md b/content/posts/data-structures-and-algorithms-for-coding-interview.md
index 48ea73ee7..def874998 100644
--- a/content/posts/data-structures-and-algorithms-for-coding-interview.md
+++ b/content/posts/data-structures-and-algorithms-for-coding-interview.md
@@ -83,6 +83,7 @@ I am continuously trying to improve this repository by adding new questions and
- Update the existing solution with a better one (better complexity).
- Add new questions and solutions in
+
```python3``` to the respective directory.
- Add new resources to [BOOKS-and-PDFs](https://github.com/SamirPaulb/DSAlgo/tree/main/BOOKS-and-PDFs) & [Questions-Sheet](https://github.com/SamirPaulb/DSAlgo/tree/main/Questions-Sheet).
- Solve issues raised by other people or yourself.
diff --git a/content/posts/online-pdf-compression-tool.md b/content/posts/online-pdf-compression-tool.md
index 3087d248a..d8fd7b3b2 100644
--- a/content/posts/online-pdf-compression-tool.md
+++ b/content/posts/online-pdf-compression-tool.md
@@ -21,6 +21,7 @@ cover:
An online PDF file compression tool to reduce the size of a .pdf file. Python Flask is used to upload the file to a temporary location on the server.
In the backend, using the ```PDFNetPython``` library that file gets reduced and saved to its final location. After download, the files are automatically deleted from the server after 1 hour. Technologies used in this project:
+
```python3```, ```Flask```, ```C```, ```Shell```, ```Nix```, ```Replit```, ```Git```, ```HTML```, ```CSS```, ```JavaScript```.
@@ -45,6 +46,7 @@ On successfully uploading the file, it is saved to the desired location on the s
Here’s the Python code for the Flask application.
+
```python
from flask import Flask, render_template, request
from werkzeug import secure_filename
@@ -69,6 +71,7 @@ if __name__ == '__main__':
### How PDF is compressed in backend:
+
```python
import os
import sys
diff --git a/content/posts/real-time-voice-translator.md b/content/posts/real-time-voice-translator.md
index 2a585f213..40e66bda8 100644
--- a/content/posts/real-time-voice-translator.md
+++ b/content/posts/real-time-voice-translator.md
@@ -149,12 +149,15 @@ I am using cx_Fr
##### Build installer containing all the files:
- Windows:
+
```python setup.py bdist_msi```
- Linux:
+
```python setup.py bdist_rpm```
- Mac:
+
```python setup.py bdist_mac```