Skip to content

Instantly share code, notes, and snippets.

View alexrsagen's full-sized avatar

Alexander Sagen alexrsagen

View GitHub Profile
@alexrsagen
alexrsagen / MSEdgeFeatureFlags.md
Created October 3, 2024 12:41
Microsoft Edge feature flags
Feature flag Source
msActiveSyncingStatus Microsoft Edge
msAllowChromeWebstore Microsoft Edge
msAlwaysSplitUMALog Microsoft Edge
msAutofillEdgeSuggestionUI Microsoft Edge
msCacheWebAccounts Microsoft Edge
msCacheWebSsoCookies Microsoft Edge
msCloseButtonDescription Microsoft Edge
msControls Microsoft Edge
@alexrsagen
alexrsagen / pam_pushover.c
Last active October 9, 2015 20:24
Session PAM for linux to send pushover notifications when logged in. Details on how to use it is in the comments.
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <curl/curl.h>
#include <security/pam_appl.h>
#include <security/pam_modules.h>
/* expected hook */
PAM_EXTERN int pam_sm_close_session( pam_handle_t *pamh, int flags, int argc, const char **argv ) {