This file contains hidden or 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
| (* | |
| Script for processing emails in Apple Mail. | |
| This script automatically processes emails with specific attachments (e.g., PDFs), | |
| decrypts them if necessary, and saves them in designated folders based on the sender's email address. | |
| Author: Mario Lacko & ChatGPT | |
| Date: November 30, 2024 | |
| Tested on: macOS Sequoia with Apple Mail and qpdf installed via Homebrew | |
| Dependencies: |
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| __author__ = "Mario Lacko" | |
| __copyright__ = "Copyright (C) 2023" | |
| __license__ = "Public Domain" | |
| __version__ = "0.9" | |
| import re | |
| import ssl |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Upload your files</title> | |
| </head> | |
| <body> | |
| <form enctype="multipart/form-data" action="upload.php" method="POST"> | |
| <p>Upload your file</p> | |
| <input type="file" name="uploaded_file"></input><br /> | |
| <input type="submit" value="Upload"></input> |
This file contains hidden or 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
| /* | |
| * XorFiles.c | |
| * Copyright (C) 2017 Mario Lacko | |
| * | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation, either version 3 of the License, or | |
| * (at your option) any later version. | |
| * | |
| * ... |
This file contains hidden or 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
| /* | |
| * JB_Coder.c | |
| * Copyright (C) 2017 Mario Lacko | |
| * | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation, either version 3 of the License, or | |
| * (at your option) any later version. | |
| * | |
| * ... |
This file contains hidden or 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
| #!/bin/sh | |
| # Súbor premenuje výpisy z Tatra banky na zrozumiteľnejší tvar, odhesluje a pôvodné vymaže | |
| # Pre Mac OS X (macOS): | |
| # Doinštalovať sa dá pomocou MacPorts (www.macports.org), ktoré rožšírujú funkcionalitu OS X | |
| # po doinštalovaní MacPorts sa qpdf nainštaluje príkazom: | |
| # sudo port install qpdf | |
| # Pre Debian, Ubuntu Linux: | |
| # sudo apt-get install qpdf | |
| # Globálne konštanty |
This file contains hidden or 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
| @echo off | |
| SET count=0 | |
| set files=0 | |
| set exe="C:\Program Files\Handbrake\HandBrakeCLI" | |
| for %%A in (*.avi) do set /a files+=1 | |
| for /f "tokens=*" %%G in ('dir /b /o:n *.avi') do (call :transcode "%%G") | |
| GOTO :eof |