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 os | |
| import shutil | |
| def delete_node_modules(start_path): | |
| """ | |
| Deletes all 'node_modules' folders starting from the given path. | |
| :param start_path: Directory path to begin the search. | |
| """ | |
| deleted_count = 0 |
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
| <?php | |
| // Get the 'id' from the URL parameters | |
| $id = isset($_GET['id']) ? $_GET['id'] : null; | |
| if ($id) { | |
| // API endpoint for the first request | |
| $apiUrl = "https://terabox.hnn.workers.dev/api/get-info?shorturl={$id}&pwd="; | |
| // Initialize a cURL session for the first request | |
| $ch = curl_init(); |
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 lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Video Fetcher</title> | |
| <style> | |
| iframe::-webkit-scrollbar { | |
| width: 0em; | |
| height: 0em; |