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/local/bin/python3.12 | |
| from pypdf import PdfWriter | |
| from pathlib import Path | |
| import sys | |
| import os | |
| def get_files(directory): | |
| pdfs = [] |
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
| /* | |
| 1. Open command palette (Cmd shift p) | |
| 2. Type "install ext" and choose the option "Extensions: Install Extensions" | |
| 3. In the Extensions Marketplace, search "Grueling Hare". Select "Grueling Hare" by Tim Franklin and install it. | |
| 4. Open Command paletted (Cmd shift p) | |
| 5. Type "color theme" and select "Preferences: Color Theme" | |
| 6. Select "Grueling Hare Dark" color theme. | |
| 7. Open command palette (Cmd shift p) | |
| 8. Type "open user settings" and choose the option "Preferences: Open User Settings (JSON)" | |
| 9. Paste below and save: |
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
| /* | |
| 1. Open command palette (Cmd shift p) | |
| 2. Type "install ext" and choose the option "Extensions: Install Extensions" | |
| 3. In the Extensions Marketplace, search "Grueling Hare". Select "Grueling Hare" by Tim Franklin and install it. | |
| 4. Open Command paletted (Cmd shift p) | |
| 5. Type "color theme" and select "Preferences: Color Theme" | |
| 6. Select "Grueling Hare Light" color theme. | |
| 7. Open command palette (Cmd shift p) | |
| 8. Type "open user settings" and choose the option "Preferences: Open User Settings (JSON)" | |
| 9. Paste below and save: |
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
| /* | |
| 1. Open command palette (Cmd shift p) | |
| 2. Type "install ext" and choose the option "Extensions: Install Extensions" | |
| 3. In the Extensions Marketplace, search "minimal". Select "Minimal" by nichabosh and install it. | |
| 4. Open command palette (Cmd shift p) | |
| 5. Type "open user settings" and choose the option "Preferences: Open User Settings (JSON)" | |
| 6. Paste below and save: | |
| */ | |
| { |
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
| /* | |
| 1. Open command palette (Cmd shift p) | |
| 2. Type "install ext" and choose the option "Extensions: Install Extensions" | |
| 3. In the Extensions Marketplace, search "minimal". Select "Minimal" by nichabosh and install it. | |
| 4. Open command palette (Cmd shift p) | |
| 5. Type "open user settings" and choose the option "Preferences: Open User Settings (JSON)" | |
| 6. Paste below and save: | |
| */ | |
| { |
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
| /* | |
| 1. Open command palette (Cmd shift p) | |
| 2. Type "install ext" and choose the option "Extensions: Install Extensions" | |
| 3. In the Extensions Marketplace, search "minimal". Select "Minimal" by nichabosh and install it. | |
| 4. Open command palette (Cmd shift p) | |
| 5. Type "open user settings" and choose the option "Preferences: Open User Settings (JSON)" | |
| 6. Paste below and save: | |
| */ | |
| { |
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
| /* | |
| 1. Open command palette (Cmd shift p) | |
| 2. Type "install ext" and choose the option "Extensions: Install Extensions" | |
| 3. In the Extensions Marketplace, search "minimal". Select "Minimal" by nichabosh and install it. | |
| 4. Open command palette (Cmd shift p) | |
| 5. Type "open user settings" and choose the option "Preferences: Open User Settings (JSON)" | |
| 6. Paste below and save: | |
| */ | |
| { |
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
| import tkinter as tk | |
| from tkinter import ttk, scrolledtext, filedialog, messagebox | |
| import threading | |
| import whisperx | |
| import os | |
| import sys | |
| import datetime | |
| import shutil | |
| from pathlib import Path | |
| import queue |
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
| For some reason ADS tends to enter a deadlock on launch, seemingly | |
| because it tends to corrupt its own cache. Anyhow, executing Apache | |
| with the "-clean" flag has always fixed it for me. This will clean | |
| the caches that store bundle dependency resolution data and OSGi | |
| extension data and then recreate them. | |
| Windows Batch script (i.e., save in a .bat file): | |
| cd "C:\Program Files\Apache Directory Studio" | |
| ApacheDirectoryStudio.exe -clean |
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/bash - | |
| # Set time zone | |
| echo "> Setting timezone.." | |
| sudo dpkg-reconfigure tzdata | |
| # Initial upgrade/installs | |
| echo "> Upgrading system.." | |
| sudo apt update && sudo apt upgrade -y |
NewerOlder