For PHP code to execute, two things have to happen:
- The filename needs to end in
.php
- The PHP code needs to exist between an opening PHP tag
<?php
and, optionally, a closing PHP tag?>
Contents of index.html
:
# Temporarily disable Windows Update and UAC until the rest of the programs have installed | |
Disable-MicrosoftUpdate | |
Disable-UAC | |
# Remove all apps that are installed from Windows Store by default. | |
#Get-AppxPackage -AllUsers | Remove-AppxPackage | |
# Reinstall Windows Store apps that I want | |
Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.Windows.Photos_2018.18081.14710.0_x64__8wekyb3d8bbwe\appxmanifest.xml" -DisableDevelopmentMode | |
Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.WindowsStore_11809.1001.8.0_x64__8wekyb3d8bbwe\appxmanifest.xml" -DisableDevelopmentMode |
# Source: https://superuser.com/a/1201549 | |
function force-mkdir($path) { | |
if (!(Test-Path $path)) { | |
#Write-Host "-- Creating full path to: " $path -ForegroundColor White -BackgroundColor DarkGreen | |
New-Item -ItemType Directory -Force -Path $path | |
}} | |
function Takeown-Registry($key) { |
I recently had to move about 3TB of video footage between residential gigabit fiber connections. The fastest speed I could get was around ~150Mbps through Dropbox and other cloud providers, so I opted for a more direct answer.
After using Resilio Sync to buffer the files onto an Ubuntu Virtual Machine, I installed Tsunami. Using this I was able to get 600Mbps with no tuning, between a server in Los Angeles to my residential connection in Pittsburgh.
What it does:
What it does not: