本文件收錄了由「Windows 友善命名之魂」爆改後的直覺版指令集。全面砸碎現行科技界充斥的「拔河、碼頭海運、希臘神話、植物學」等反人類中二命名,將其降維打擊成符合人類大腦真實直覺的白話文語系。
現行的 Git 充滿了拔河(Pull/Push)與植物學(Branch),讓新手在 Terminal 前大腦嚴重結網。校正回歸後的系統改採「職場/家庭層級模型」,寫程式直接變成高雅的「數位出版藝術家」。
| Add-Type -AssemblyName System.Windows.Forms | |
| # Create a new form | |
| $form = New-Object System.Windows.Forms.Form | |
| $form.Text = "Stopwatch" # Form title | |
| $form.Size = New-Object System.Drawing.Size(220, 130) # Set a smaller height for the form | |
| $form.StartPosition = "CenterScreen" # Center the form on the screen | |
| # Create a label to display time | |
| $label = New-Object System.Windows.Forms.Label |
| #!/usr/bin/env bash | |
| set -e | |
| sudo -v | |
| sudo apt-get update | |
| sudo apt-get dist-upgrade -y | |
| sudo apt-get autoremove -y |
There are multiple options how to install MS Office on Linux.
VM-based - Integrate Windows apps running in a Windows virtual machine as native-looking in Linux
The VM-based options means can run Office 2021 or Office 365 including all apps, but while the Windows apps themselves run flawlessly (as they're running on real Windows) there's various freerdp-related bugs you may encounter.
| # This script will manually rip out all VMware Tools registry entries and files for Windows 2008-2019 | |
| # Tested for 2019, 2016, and probably works on 2012 R2 after the 2016 fixes. | |
| # This function pulls out the common ID used for most of the VMware registry entries along with the ID | |
| # associated with the MSI for VMware Tools. | |
| function Get-VMwareToolsInstallerID { | |
| foreach ($item in $(Get-ChildItem Registry::HKEY_CLASSES_ROOT\Installer\Products)) { | |
| If ($item.GetValue('ProductName') -eq 'VMware Tools') { | |
| return @{ | |
| reg_id = $item.PSChildName; |
This gist is almost entirely not unlike Derek Seaman's awesome blog:
Proxmox VE 8: Windows 11 vGPU (VT-d) Passthrough with Intel Alder Lake
As such please refer to that for pictures, here i will capture the command lines I used as i sequence the commands a little differently so it makes more logic to me.
This gists assumes you are not running ZFS and are not passing any other PCIE devices (as both of these can require addtional steps - see Derek's blog for more info)
This gist assumes you are not running proxmox in UEFI Secure boot - if you are please refer entirely to dereks blog.
The project is split into several parts:
| #!/bin/bash | |
| # Details: https://www.bleepingcomputer.com/news/security/rce-bug-in-widely-used-ghostscript-library-now-exploited-in-attacks/ | |
| if [ ! -f CVE-2024-29510_testkit.ps ]; then | |
| cat > CVE-2024-29510_testkit.ps << EOF | |
| %!PS | |
| % Run like this: | |
| % ghostscript -q -dBATCH -dNODISPLAY CVE-2024-29510_testkit.ps |
| #!/bin/bash | |
| # Install Latest XRDP with XORGXRDP and GFX | |
| BUILD_DIR=/tmp/xrdpbuild | |
| # Prepare Build Directory | |
| rm -f -r $BUILD_DIR | |
| mkdir -p $BUILD_DIR | |
| # Install Dependencies - Dev |
| #!/usr/bin/env bash | |
| set -e | |
| sudo -v | |
| sudo apt-get update | |
| sudo apt-get dist-upgrade -y | |
| sudo apt-get autoremove -y |