Skip to content

Instantly share code, notes, and snippets.

@aschiavon91
aschiavon91 / popos+win11_secureboot.md
Last active November 13, 2025 05:44
Dual‑Boot Pop!_OS 24.04 + Windows 11 with SecureBoot
  • Enable SecureBoot with default options.
  • Wait for Windows installation normally.
  • After windows setup finishes, enter in BIOS and complettly disable secure boot.
  • cleanup all SecureBoot keys from BIOS, disable plataform key injection and then disable SecureBoot, be sure all keys are delete before continue.
  • Install PopOS normally.
  • After PopOS setup finishes, ensure that the boot order in bios is setted to firstly boot to the disk used to install PopOS not to the system partition.
  • Boot into PopOS and install/reinstall shim-signed, mokutil and sbctl.
  • check sbctl status, u should see something like:
    # sbctl status
@huynguyencong
huynguyencong / #BuildiOSWithGitHubAction.md
Last active October 1, 2025 17:10
Script to build iOS and deploy it to TestFlight using GitHub action

When merging code to build/test-flight branch, it is built and uploaded to TestFlight automatically by GitHub Action.

Set up/update the following secrets:

  • CERTIFICATES_FILE_BASE64: Base64 of the App Store distribution certificate.
  • CERTIFICATES_PASSWORD: App Store distribution certificate password.
  • APPSTORE_ISSUER_ID: App Store Connect API key's issuer ID.
  • APPSTORE_KEY_ID: App Store Connect API key's key ID.
  • APPSTORE_PRIVATE_KEY: App Store Connect API key's private key (raw p8 file).
@AlexMAS
AlexMAS / ProcessAsyncHelper.cs
Last active August 30, 2025 20:40
The right way to run external process in .NET (async version)
using System;
using System.Diagnostics;
using System.Text;
using System.Threading.Tasks;
public static class ProcessAsyncHelper
{
public static async Task<ProcessResult> ExecuteShellCommand(string command, string arguments, int timeout)
{
var result = new ProcessResult();