Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
export DISPLAY=:0;
pkill -HUP cinnamon
sleep 3
cinnamon --replace &
cinnamon-unlock-desktop
show vlans 1980
show vlan 1981

https://answers.microsoft.com/en-us/windows/forum/all/its-time-to-disable-windows-update-and-all-its/56ca730b-b9af-44ee-9835-58a27ef25632

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc - Windows Update Medic Service.

You'll see "Start" Reg_DWORD key. Open this and Value Data should be set to 1 or 2. Changing this option to 4 disables the service.

go to Services and check Windows Update Medic Service (WUMS should be disabled now.) Windows Update (WU), Delivery Optimization (DO), and Update Orchestrator (UO) can now be disabled via Services, and with WUMS disabled, this should stop WU, DO, and UO services from being reactivated.

#requires -RunAsAdministrator
$serviceName = "wuauserv"
Write-Host "--- Stopping and Disabling the Windows Update Service ---" -ForegroundColor Cyan
try {
$service = Get-Service -Name $serviceName -ErrorAction Stop
if ($service.Status -eq 'Running') {

Limited Dissolve for STL files

  1. Import STL
  2. Switch to edit mode by selecting TAB key
  3. Press a to Select All the body
  4. Press x to select delete option
  5. Select Limited Dissolve