Just copy your project folder into your music-directory and execute the following:
Once:
composer install
Everytime you want to rename mp3s:
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteCond %{REQUEST_URI} !^public | |
RewriteRule ^(.*)$ public/$1 [L] | |
</IfModule> |
<?php | |
class SimpleMail { | |
public static function send($to, $subject, $message) | |
{ | |
if( is_array($to) ) $to = implode(', ', $to); | |
$from = 'Max Mustermann <max@mustermann.com>'; | |
$noreply = 'noreply@mustermann.com'; | |
// To send HTML mail, the Content-type header must be set | |
$headers = "MIME-Version: 1.0" . PHP_EOL; |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Thumbnail Tester</title> | |
</head> | |
<body> | |
<img src="https://mxtoolbox.com/Public/ThumbnailHandler.aspx?url=https://yaacoubi.com" /> | |
</body> | |
</html> |
@echo off | |
cls | |
IF [%1] == [] GOTO SETVAR | |
SET SSID=%1 | |
GOTO START | |
:SETVAR | |
SET /P SSID="Please enter SSID (in quotation mark): " | |
IF [%SSID%] == [] GOTO SETVAR | |
GOTO START |
@echo off | |
FOR /F "tokens=2,3" %%A IN ('ping %computername% -n 1 -4') DO IF "von"== "%%A" set "IP=%%~B" | |
echo %IP:~0,-1% |
title Checking active hosts | |
@echo off | |
color FC | |
:start | |
cls | |
echo Ping MYServer001... | |
ping -n 1 myserver001.yaacoubi.com | find "TTL=" >nul | |
if errorlevel 1 ( | |
echo HOST NOT REACHABLE | |
timeout 3 |
@echo off | |
set /p SSID="Please enter WiFi SSID: " | |
set keyfile=%SSID%_key.txt | |
set | |
echo Retrieving security key for %SSID%... | |
netsh WLAN show profile name="%SSID%" key=clear >%keyfile% | |
echo Security key was successfully saved in %keyfile%. |