Skip to content

Instantly share code, notes, and snippets.

View TolgaBagci's full-sized avatar

TolgaBagci TolgaBagci

View GitHub Profile
@TolgaBagci
TolgaBagci / Finding, Checking and Verifying the SHA256 Checksum Hash of the Selected ISO File with Powershell.md
Last active January 8, 2024 04:10
Finding, Checking and Verifying the SHA256 Checksum Hash of the Selected ISO File with Powershell

Add-Type -AssemblyName System.Windows.Forms; $openFileDialog = New-Object System.Windows.Forms.OpenFileDialog; $openFileDialog.Filter = 'ISO Files (.iso)|.iso'; if ($openFileDialog.ShowDialog() -eq 'OK') {$isoPath = $openFileDialog.FileName; $hashValue = Get-FileHash -Path $isoPath -Algorithm SHA256; Write-Host "Selected ISO File: $($isoPath)"; Write-Host "Hash Value: $($hashValue.Hash)";} else {Write-Host "ISO file not selected!"}

@TolgaBagci
TolgaBagci / finding-ascii-code.md
Last active December 29, 2023 23:25
Finding the ASCII Code of the Text Entered with Powershell in Windows Systems

$text = Read-Host "Enter Text"; $asciiValues = $text -split '' | Where-Object { $_ -ne '' } | ForEach-Object { [int][char]$_ }; Write-Host "ASCII Values: $($asciiValues -join ' ')"

@TolgaBagci
TolgaBagci / VMware macOS Big Sur 11 - VMX Code
Created July 30, 2021 13:26
VMware macOS Big Sur 11 - VMX Code
VMware macOS Big Sur 11 - VMX Code
smbios.reflectHost = "TRUE"
hw.model = "MacBookPro14,3"
board-id = "Mac-551B86E5744E2388"
smc.version = "0"
@TolgaBagci
TolgaBagci / VirtualBox macOS Screen Resolution
Created July 28, 2021 15:44
VirtualBox macOS Screen Resolution
cd "C:\Program Files\Oracle\Virtualbox"
VBoxManage setextradata "macOSBigSur" VBoxInternal2/EfiGraphicsResolution 1280x720
Values: 1280x720, 1920x1080, 2048x1080, 2560x1440, 3840x2160, 1280x800, 1280x1024, 1440x900, 1600x900
@TolgaBagci
TolgaBagci / VirtualBox macOS High Sierra Codes
Created July 26, 2021 15:20
VirtualBox macOS High Sierra Codes
cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe modifyvm "Your Virtual Machine Name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "Your Virtual Machine Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
@TolgaBagci
TolgaBagci / How to Install VMware Workstation 16 on Ubuntu.md
Created February 9, 2021 18:18
How to Install VMware Workstation 16 Pro on Ubuntu
@TolgaBagci
TolgaBagci / Download and Install Libpng Package for Packet Tracer in Linux OS.md
Last active April 25, 2020 03:30
Download and Install Libpng Package for Packet Tracer in Linux OS

Download and Install Libpng Package for Packet Tracer in Linux OS

wget http://ftp.us.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.50-2+deb8u3_amd64.deb
dpkg -i libpng12-0_1.2.50-2+deb8u3_amd64.deb

If you experience problems with the installation, see this article: https://www.sysnettechsolutions.com/en/install-packet-tracer-ubuntu/

@TolgaBagci
TolgaBagci / Installing Wine 4.0 in Linux Mint.md
Last active February 5, 2019 03:27
Installing Wine 4.0 in Linux Mint | Wine is developed by WineHQ and allows you to run a Windows-compatible program or game on Linux distributions.

Installing Wine in Linux Mint

Wine is developed by WineHQ and allows you to run a Windows-compatible program or game on Linux distributions.

You can use many programs and games using Wine your Linux Mint computer.

Installing Wine in Linux Mint 19

The following are the commands required to install Wine on Linux Mint 19.x;

@TolgaBagci
TolgaBagci / Installing Wine 4.0 on Ubuntu 18.04.md
Last active September 17, 2020 03:23
Installing Wine 4.0 on Ubuntu 18.04
@TolgaBagci
TolgaBagci / Installing Wine 4.14 on Ubuntu 18.10 19.04.md
Last active August 23, 2019 18:56
Installing Wine 4.14 on Ubuntu 18.10 / 19.04