This DOS batch script takes all MP3’s found on a folder and converts them to MP4 using a single image. FFMPEG and picture need to be in the same folder
For NVidia GPU
@echo off
setlocal enabledelayedexpansion
rem Set the image file name
set “image=select.jpg”
rem Loop over all mp3 files in the directory
for %%f in (*.mp3) do (
rem Get the base file name without the extension
set “filename=%%~nf”
rem Run the ffmpeg command with the current mp3 file
ffmpeg -loop 1 -i “!image!” -i “%%f” -c:v libx264 -crf 21 -preset faster -pix_fmt yuv420p -maxrate 5000K -bufsize 5000K -vf “scale=if(gte(iw\,ih)\,min(1920\,iw)\,-2):if(lt(iw\,ih)\,min(1920\,ih)\,-2)” -movflags +faststart -c:a aac -b:a 160k -shortest “!filename!.mp4”
)
endlocal
Hemmersbach engineers need to log into a portal to state their “at work”.
Save this script and run it as a cron job to perform the task automatically .
<?php
$link = “[place your https://mystatus.hemmersbach.com/index.php?token=XXX here with the quotes]”;
$queryString = parse_url($link, PHP_URL_QUERY);
// Parse the query string to get individual parameters
parse_str($queryString, $params);
if (!isset($params[‘token’])) {
header(“Location: error.php”);
exit();
} else {
$token = $params[‘token’];
$form_data = array(
‘token’ => $token,
‘action’ => ‘Login’,
‘attendanceCheck’ => ‘0’
);
// Initialize cURL session
$curl = curl_init();
// Set cURL options
curl_setopt_array($curl, array(
CURLOPT_URL => $link,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query($form_data)
));
// Execute cURL request
$response = curl_exec($curl);
// Check for errors
if (curl_errno($curl)) {
echo ‘Error: ‘ . curl_error($curl);
} else {
//Done
exit();
}
// Close cURL session
curl_close($curl);
}
?>
Death to _blank
https://chromewebstore.google.com/detail/death-to-blank/gneobebnilffgkejpfhlgkmpkipgbcno
Websites are becoming annoying with fresh tabs being open for every item your shopping for is clicked on.
Death to _blank opens links on the same tab.
Quick access data is save in path\file
%AppData%\Microsoft\Windows\Recent\AutomaticDestinations\f01b4d95cf55d32a.automaticDestinations-ms
Batch file to:
extract mapped windows shares
exclude saving H:\
produce an import.bat file to be used to remap them
only paths with spaces need to be wrapped around quotes “” manually.
@echo off
setlocal enabledelayedexpansiondel import_shares.bat /q
REM Run net use command and filter lines containing “\”
for /f “tokens=2*” %%A in (‘net use ^| find “\”‘) do (
:: remove h:\
if /i “%%A” neq “H:” (REM Remove “Microsoft Windows Network” text
set “sharePath=%%B”
set “sharePath=!sharePath:Microsoft Windows Network=!”REM Trim leading and trailing spaces
for /f “tokens=* delims= ” %%C in (“!sharePath!”) do set “sharePath=%%C”REM Display the result
echo net use %%A !sharePath!
echo net use %%A !sharePath! /persistent:yes >> import_shares.bat
))
endlocal
TIMEOUT /T 10
Visit uppdump.net
Press CTRL ALT SHIFT WINDOWS signed up for free web office 365.
Grab Audio Downloader Prime chrome extension and it works on https://dirrty.remix.es/
https://bios-pw.org/
just ignore any popups …
https://ytmp3hub.com/