Skip to content

Instantly share code, notes, and snippets.

View sombraguerrero's full-sized avatar

Robert Setter sombraguerrero

  • Minneapolis, MN
View GitHub Profile
@ahmednawazkhan
ahmednawazkhan / installing-cpp-on-windows.md
Last active December 19, 2025 10:18
Install C++/Mingw-w64/g++ on windows

Installing C++/g++/Mingw-w64 on Windows

  1. Install Msys2 from msys2.org
  2. Complete the steps and open Msys2
  3. Update package databases pacman -Syu
  4. Update rest of base packages pacman -Su
  5. Install Mingw-w64 pacman -S --needed base-devel mingw-w64-x86_64-toolchain
  6. Install CMake pacman -S mingw-w64-x86_64-cmake
  7. Install Ninja pacman -S mingw-w64-x86_64-ninja
  8. Make sure to launch MSYS2 MinGW 64-bit with administrator rights ( This is !mportant...!!!)
@miebach
miebach / gist:5525117
Last active July 5, 2023 06:00
God Mode for NT
Create a Desktop folder and name it:
GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
A list of other commands that also create special folders:
{00C6D95F-329C-409a-81D7-C46C66EA7F33}
{0142e4d0-fb7a-11dc-ba4a-000ffe7ab428}
{025A5937-A6BE-4686-A844-36FE4BEC8B6D}
{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}
@caspencer
caspencer / OpenSslCompatDeriveBytes.cs
Created November 4, 2011 16:12
Derives a key from a password using an OpenSSL-compatible version of the PBKDF1 algorithm.
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
namespace OpenSslCompat
{
/// <summary>
/// Derives a key from a password using an OpenSSL-compatible version of the PBKDF1 algorithm.
/// </summary>