- Install A-Shell on iOS
- Create an SSH key on device
ssh-keygen -t ecdsa -N "" -f ~/Documents/.ssh/id_ecdsa
- Copy the public key and add to where your remote repository is (GitHub, Gitlab, Gitea, etc.)
cat ~/Documents/.ssh/id_ecdsa.pub
Write-Host "Attempting to download and install dependencies" | |
# Install VCLibs package | |
try { | |
Add-AppxPackage "https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx" -Verbose | |
} catch { | |
Write-Host "Failed to install VCLibs package. Error: $_" -ForegroundColor Red | |
exit 1 | |
} |
# You might need adminstrator | |
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" -Name "AllowInsecureGuestAuth" -Value 1 -Type DWord | |
Set-GPRegistryValue -Name "EnableInsecureGuestLogons" -Key "HKLM\SOFTWARE\Policies\Microsoft\Windows\LanmanWorkstation" -ValueName "AllowInsecureGuestAuth" -Type Dword -Value 1 | |
# if no RSAT | |
# Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\LanmanWorkstation" -Name "AllowInsecureGuestAuth" -Value 1 -Type DWord | |
Set-GPRegistryValue -Name "NetworkClientDigitallySignAlways" -Key "HKLM\SOFTWARE\Policies\Microsoft\Windows\LanmanWorkstation" -ValueName "RequireSecuritySignature" -Type Dword -Value 0 | |
# if no RSAT | |
# Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" -Name "RequireSecuritySignature" -Value 0 -Type DWord |
ssh-keygen -t ecdsa -N "" -f ~/Documents/.ssh/id_ecdsa
cat ~/Documents/.ssh/id_ecdsa.pub
while (1) {Get-BitLockerVolume -MountPoint "C:" | Select-Object EncryptionPercentage; sleep 5} |
Invoke-WebRequest ` | |
-Uri "https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-23.Q4-Win10-Win11-For-HIP.exe" ` | |
-OutFile "~\Downloads\Setup.exe" | |
Start-Process ~\Downloads\Setup.exe -ArgumentList '-install','-log',"${env:USERPROFILE}\installer_log.txt" -NoNewWindow -Wait |
curl https://projects.blender.org/blender/blender/raw/branch/main/build_files/build_environment/linux/linux_rocky8_setup.sh -o linux_rocky8_setup.sh | |
chmod +x linux_rocky8_setup.sh | |
sudo ./linux_rocky8_setup.sh | |
echo "source scl_source enable gcc-toolset-11" | sudo tee -a /etc/profile |
Add-AppPackage -path "https://cdn.winget.microsoft.com/cache/source.msix." | |
winget install Microsoft.VisualStudio.2022.Community --override "--add ProductLang En-us --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended" | |
winget install Git.Git | |
winget install Kitware.CMake |
{"label":"lighthouse","message":"99","schemaVersion":1,"color":"4c1","namedLogo":"Lighthouse"} |
import os | |
import sys | |
import time | |
import subprocess | |
import re | |
import paramiko | |
from paramiko import SSHClient, AutoAddPolicy | |
REMOTE_FILE_OUTPUT = "/home/site/wwwroot.tar" |
{"label":"lighthouse","message":"98","schemaVersion":1,"color":"4c1","namedLogo":"Lighthouse"} |