ℹ️ Run the installation on a brand new host without any previous services running on ports 22, 80 nor 443 ℹ️
🐳 Tested using Docker Desktop 4.4.4 (73704).
var xLBD = {}; | |
xLBD.c = function (){ | |
xLBD.f = unescape(document.querySelector("[flashvars]").getAttribute("flashvars")).substring(7); | |
xLBD.f = JSON.parse(xLBD.f.substring(0, xLBD.f.lastIndexOf("}") + 1)).video_data[0].hd_src; | |
xLBD.a = "<div style='position:absolute;top:100px;height:300px;left:15%;background:#fff;border:10px solid #000;font-size:5em;padding:100px;'>Click <a download='lookback.mp4' href='"+xLBD.f+"'>here<\/a> to download your lookBack video.</div>"; | |
document.body.innerHTML += xLBD.a; | |
} | |
if(document.readyState == "complete") | |
xLBD.c(); | |
else window.onload = xLBD.c; |
/** | |
* Replace jQuery's $.fn.ready() function with a mod exec | |
* | |
* Sites that make heavy use of the $(document).ready function | |
* are generally incompatable with asynchrounous content. The | |
* the $.fn.ready function only runs once. This script replaces | |
* the ready function with a module execution controller that | |
* let's us register functions and execute all of the functions | |
* as we need them. This is useful after HTML gets injected on the | |
* page and we want to rebind functionally to the new content. |
<?php | |
/** | |
* Created by PhpStorm. | |
* User: mhoresh | |
* Date: 3/7/15 | |
* Time: 4:15 PM | |
*/ | |
namespace App\Services; |
//SearchController.php | |
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use App\Http\Requests; | |
use App\Http\Controllers\Controller; | |
use Illuminate\Support\Facades\Input; |
ℹ️ Run the installation on a brand new host without any previous services running on ports 22, 80 nor 443 ℹ️
🐳 Tested using Docker Desktop 4.4.4 (73704).
I recently cannot run a apt-get update
resulting in a kind of - weird - temporary network issue...
Execute the following lines to adress this issue:
wget https://gist.githubusercontent.com/TeddyBear06/f2524b8b2d0e15336c4f8463127f5332/raw/cc54c875310d7be4e768bf6c50df496ac4294cbb/fix_apt_update_under_WSL.sh
chmod +x fix_apt_update_under_WSL.sh
sudo ./fix_apt_update_under_WSL.sh