Skip to content

Instantly share code, notes, and snippets.

View justtails's full-sized avatar
🏠
Working from home

Dmitry Safronov justtails

🏠
Working from home
  • Russia
  • 19:52 (UTC +03:00)
View GitHub Profile
@glats
glats / install-r8168-fedora-36-linux-5.19-secure-boot.md
Created October 11, 2022 17:07
Install r8168 Fedora 36 Linux 5.19 with Secure Boot activated

Install required tools

sudo dnf install -y openssl kernel-devel mokutil keyutils

Check current keys

mokutil --sb-state

Create your own key

mkdir keys && cd keys
cat << EOF > x509.genkey
@itoleck
itoleck / Install WinGet Software
Last active March 17, 2026 19:26
WinGetInstalls
Start /WAIT /B Winget install "Microsoft.PowerShell.Preview" --force --accept-package-agreements --accept-source-agreements
Start /WAIT /B Winget install "Microsoft.WindowsTerminal" --force --accept-package-agreements --accept-source-agreements
Start /WAIT /B Winget install "Microsoft XNA Framework Redistributable Refresh" --force --accept-package-agreements --accept-source-agreements &REM *Needs alone time, no other install*
Start /WAIT /B Winget install "Microsoft.VisualStudio.2022.Community" --force --accept-package-agreements --accept-source-agreements
REM Install all of the VC++ Redistributables
Start /WAIT /B Winget install "Microsoft Visual C++ 2005 Redistributable" --force --accept-package-agreements --accept-source-agreements
Start /WAIT /B Winget install "Microsoft Visual C++ 2005 Redistributable (x64)" --force --accept-package-agreements --accept-source-agreements
Start /WAIT /B Winget install "Microsoft Visual C++ 2008 Redistributable - x64" --force --accept-package-agreements --accept-source-ag
@Splaxi
Splaxi / download-latest-release.ps1
Last active June 23, 2025 17:55 — forked from MarkTiedemann/download-latest-release.ps1
Download latest GitHub release via Powershell
# Download latest dotnet/codeformatter release from github
$repo = "jgm/pandoc"
$filenamePattern = "*x86_64.zip"
$pathExtract = "C:\Tools\pandoc"
$innerDirectory = $true
$preRelease = $false
if ($preRelease) {
$releasesUri = "https://api.github.com/repos/$repo/releases"
@MarkTiedemann
MarkTiedemann / download-latest-release.ps1
Last active July 1, 2025 17:06
Download latest GitHub release via Powershell
# Download latest dotnet/codeformatter release from github
$repo = "dotnet/codeformatter"
$file = "CodeFormatter.zip"
$releases = "https://api.github.com/repos/$repo/releases"
Write-Host Determining latest release
$tag = (Invoke-WebRequest $releases | ConvertFrom-Json)[0].tag_name