This file contains 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
sudo rm -rf "/Library/Application Support/Paragon Software/" | |
sudo rm /Library/LaunchDaemons/com.paragon-software.installer.plist | |
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfs.loader.plist | |
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfsd.plist | |
sudo rm /Library/LaunchAgents/com.paragon-software.ntfs.notification-agent.plist | |
sudo rm -rf /Library/Filesystems/ufsd_NTFS.fs/ | |
sudo rm -rf /Library/PrivilegedHelperTools/com.paragon-software.installer | |
sudo rm -rf /Library/Extensions/ufsd_NTFS.kext/ | |
sudo rm -rf /Library/PreferencePanes/ParagonNTFS.prefPane |
This file contains 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 -e | |
# Directory to process (current directory) | |
DIRECTORY="$PWD" | |
# Loop through all .ass files in the directory | |
for file in "$DIRECTORY"/*.ass; do | |
# Check if the file exists (to avoid issues if no .ass files are present) | |
if [[ -f "$file" ]]; then |
This file contains 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 os | |
def rename_files_with_leading_zeroes(folder_path=os.getcwd()): | |
for root, _, files in os.walk(folder_path): | |
total_files = len(files) | |
# Determine the number of digits needed | |
digits = len(str(total_files)) | |
# Sort files for consistent renaming order |
This file contains 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 os | |
import subprocess | |
def convert_folders_to_cbz(folder_path=os.getcwd()): | |
# Get all folders in the specified directory | |
dirs = [d for d in os.listdir(folder_path) if os.path.isdir(os.path.join(folder_path, d))] | |
for dir_name in dirs: | |
folder_to_convert = os.path.join(folder_path, dir_name) | |
zip_file = os.path.join(folder_path, f"{dir_name}.zip") |
This file contains 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
--embed-subs | |
--embed-chapters | |
--embed-thumbnail | |
--embed-metadata | |
--sub-langs all | |
--compat-options no-live-chat | |
--output "$HOME/Movies/%(title)s.%(ext)s" | |
# --format-sort "vcodec:avc,aext:m4a" #for a-Shell iOS# | |
# --output "$PATH_LOCALE/%(title)s.%(ext)s" #for a-Shell iOS# |
This file contains 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
# Player # | |
no-border | |
no-osc | |
window-scale=0.8 | |
# Screenshots # | |
screenshot-template="%x%F-T%wH.%wM.%wS.%wT-F%{estimated-frame-number}" | |
screenshot-format=png | |
screenshot-png-compression=9 |
This file contains 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 -e | |
# Set input and output file extensions and additional ffmpeg arguments here | |
input_ext="mkv" # Input file extension (e.g., mp4, mkv) without the dot | |
output_ext="mkv" # Output file extension (e.g., mp4, mkv) without the dot | |
# Create the output directory if it doesn't exist | |
output_dir="$PWD/dir" | |
mkdir -p "$output_dir" |
This file contains 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 -e | |
# Set default values for input and output formats | |
input_format="mkv" | |
output_format="mkv" | |
# Folder containing the video files | |
input_folder="./" # Change this if needed |
This file contains 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
defaults write com.microsoft.office SendAllTelemetryEnabled -bool FALSE | |
defaults write com.microsoft.office ShowFileExtensions -bool TRUE | |
defaults write com.microsoft.Word SendAllTelemetryEnabled -bool FALSE | |
defaults write com.microsoft.Excel SendAllTelemetryEnabled -bool FALSE | |
defaults write com.microsoft.Powerpoint SendAllTelemetryEnabled -bool FALSE | |
defaults write com.microsoft.Office365ServiceV2 SendAllTelemetryEnabled -bool FALSE | |
defaults write com.microsoft.autoupdate2 SendAllTelemetryEnabled -bool FALSE |
This file contains 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 bash | |
set -e | |
findcd() { | |
local search_string="$1" | |
target_dir=$(find . -maxdepth 1 -type d -name "$search_string*" -print -quit) | |
if [ -n "$target_dir" ]; then |
NewerOlder