Skip to content

Instantly share code, notes, and snippets.

View pikami's full-sized avatar
MORE COFFEE!! NEED MORE COFFEE!!!

Pijus Kamandulis pikami

MORE COFFEE!! NEED MORE COFFEE!!!
View GitHub Profile
@mariuseis
mariuseis / azure-devops-image-diff.js
Created August 20, 2024 11:17
Azure DevOps - PR Image Comparison. Display pixel differences when clicking on a modified image in Azure Devops pull-requests view. Uses pixelmatch library.
// ==UserScript==
// @name Azure DevOps - PR Image Comparison
// @version 2024-08-20
// @description Display pixel differences when clicking on a modified image in Azure Devops pull-requests view. Uses pixelmatch library.
// @author Marius Eismantas
// @match https://dev.azure.com/*
// @icon https://cdn.vsassets.io/content/icons/favicon.ico
// @grant none
// ==/UserScript==
@plembo
plembo / DisableMFAForAADUser.md
Last active April 24, 2025 01:36
Disable MFA for an individual Azure AD User

Disabling MFA for an Azure AD User

Azure AD MFA is not enabled by default for AAD and Microsoft 365 users, but it will be if during setup an admin chooses to Enable Security Defaults on Azure AD (as most will when prompted to do so: after all, who in their right mind wouldn't require MFA?).

However, there are situations where being able to toggle MFA on or off for a particular user can be useful. For example, in a development or test tenant when working with sample code from Microsoft that doesn't account for MFA (like a simple Microsoft Graph console app). This procedure involves disabling Security Defaults on AAD.

@mattiaslundberg
mattiaslundberg / arch-linux-install
Last active February 10, 2025 13:16
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swedish keymap