Just think of strings as the objects.
/waves magic wand
Just think of strings as the objects.
/waves magic wand
Those are rookie numbers son, you gotta get on that.
You need to update your ISO.
Well, now they just make you throw out the old Mac hardware and buy new for $1299 (8gb RAM lol) because it’s now out of support for the latest MacOS and the newest versions of Adobe Suite/MS Office/insert productivity work related proprietary software suite here is on board with Apple’s bullshit and won’t run on older MacOS versions.
The more things change, the more they stay the same.
What if I told you you can make a backup of a config file and edit a single line in a conf file, all with a single line of bash?
sudo cp config.conf config.conf.bak.$(date +"%Y%m%d%H%M%S") && sed -i 's/^\(CONFIG_NAME\s*=\s*\).*/\1new_value/' config.conf
Yeah, totally.
Just imagine trying to do this with Windows Powershell, without a package manager like chocolatey to make it simple like linux…
$workdir = "c:\installer\"
If (Test-Path -Path $workdir -PathType Container)
{ Write-Host "$workdir already exists" -ForegroundColor Red}
ELSE
{ New-Item -Path $workdir -ItemType directory }
$source = "https://download.mozilla.org/?product=firefox-latest&os=win64&lang=en-US"
$destination = "$workdir\firefox.exe"
if (Get-Command 'Invoke-Webrequest')
{
Invoke-WebRequest $source -OutFile $destination
}
else
{
$WebClient = New-Object System.Net.WebClient
$webclient.DownloadFile($source, $destination)
}
Start-Process -FilePath "$workdir\firefox.exe" -ArgumentList "/S"
Start-Sleep -s 35
rm -Force $workdir/firefox*
What do you use, sand?