Leetcode solution's saver

Script saves the file to a folder with corresponding difficulty, name and file extension

Tác giả
ruvn-1fgas
Cài đặt hàng ngày
0
Số lần cài đặt
12
Đánh giá
0 0 0
Phiên bản
1.0.4
Đã tạo
11-08-2023
Đã cập nhật
12-08-2023
Size
9 KB
Giấy phép
MIT
Áp dụng cho

LeetCode Saver

LeetCode Saver is a tampermonkey script that helps you save your LeetCode solutions to your local machine.

Script saves task and description to a folder in the Downloads directory, with the following structure:

Downloads
└── LeetCode
    └── {task difficulty}
        ├── {task name}.md
        └── {task name}.{correct lang extension}

Usage

Before using the LeetCode Saver, you need to configure your Tampermonkey settings. Specifically, you need to add the following file extensions to the Whitelisted File Extensions list in the Downloads Beta section. This will allow the script to download files with these extensions to your local machine.

/\.(cpp|java|py|sql|c|cs|js|rb|sh|swift|go|py|scala|kt|sql|sql|html|py|rs|php|ts|rkt|erl|ex|dart|py|js|js|md)/

To use the script, you need to go to the LeetCode task page and click the "Download" button. The script will then save the task and description to your Downloads directory.

Say thank you to me