Skip to content

Commit

Permalink
--
Browse files Browse the repository at this point in the history
  • Loading branch information
s2gh committed Feb 8, 2024
1 parent 38c5866 commit 95d3b56
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
<img loading="lazy" src="https://img.shields.io/badge/language-python-blue?logo=python&logoColor=white" alt="language-python">

```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.
Expand Down
3 changes: 3 additions & 0 deletions content/posts/online-pdf-compression-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
<img loading="lazy" src="https://img.shields.io/badge/language-python-blue?logo=python&logoColor=white" alt="language-python">

```python3```, ```Flask```, ```C```, ```Shell```, ```Nix```, ```Replit```, ```Git```, ```HTML```, ```CSS```, ```JavaScript```.


Expand All @@ -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.

<img loading="lazy" src="https://img.shields.io/badge/language-python-blue?logo=python&logoColor=white" alt="language-python">

```python
from flask import Flask, render_template, request
from werkzeug import secure_filename
Expand All @@ -69,6 +71,7 @@ if __name__ == '__main__':
### How PDF is compressed in backend:

<img loading="lazy" src="https://img.shields.io/badge/language-python-blue?logo=python&logoColor=white" alt="language-python">

```python
import os
import sys
Expand Down
3 changes: 3 additions & 0 deletions content/posts/real-time-voice-translator.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,15 @@ I am using <a href="https://github.com/marcelotduarte/cx_Freeze/tree/main">cx_Fr
##### Build installer containing all the files:
- Windows:
<img loading="lazy" src="https://img.shields.io/badge/language-python-blue?logo=python&logoColor=white" alt="language-python">
```python setup.py bdist_msi```
- Linux:
<img loading="lazy" src="https://img.shields.io/badge/language-python-blue?logo=python&logoColor=white" alt="language-python">
```python setup.py bdist_rpm```
- Mac:
<img loading="lazy" src="https://img.shields.io/badge/language-python-blue?logo=python&logoColor=white" alt="language-python">
```python setup.py bdist_mac```
Expand Down

0 comments on commit 95d3b56

Please sign in to comment.