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
| # PowerShell Script to Prepare Files and Combine Them Using FFmpeg (https://ardalis.com/combine-mp4-files-ffmpeg-windows/) | |
| try { | |
| # Step 1: Get all .mp4 files in the current folder and check the total duration | |
| $files = Get-ChildItem -Filter *.mp4 | |
| # Check if there are no .mp4 files in the folder | |
| if ($files.Count -eq 0) { | |
| Write-Host "No .mp4 files found in the current folder. Exiting script." | |
| exit |
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
| function clickSend(x,i) { | |
| var y = document.getElementsByClassName('artdeco-button--3 ml1'); | |
| if(y.length > 0) { | |
| y[0].click(); | |
| console.log("Request sent for index: "+ i) | |
| setTimeout(function(){ | |
| clickConnect(x,i+1); | |
| }, 1000); | |
| } else { | |
| console.log("Button not found for index: " + i) |
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
| // | |
| // ReachabilityHelper.swift | |
| // TradeX | |
| // | |
| // Created by Kushal Ashok on 1/11/19. | |
| // | |
| import Reachability //https://cocoapods.org/pods/ReachabilitySwift | |
| import CoreTelephony |