Skip to content

Instantly share code, notes, and snippets.

# SPDX-FileCopyrightText: Copyright (c) 2023 ave9858 <edging.duj6i@simplelogin.com>
# SPDX-License-Identifier: CC0-1.0
$ErrorActionPreference = "Stop"
$regView = [Microsoft.Win32.RegistryView]::Registry32
$microsoft = [Microsoft.Win32.RegistryKey]::OpenBaseKey([Microsoft.Win32.RegistryHive]::LocalMachine, $regView).
OpenSubKey('SOFTWARE\Microsoft', $true)
$edgeUWP = "$env:SystemRoot\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe"
$uninstallRegKey = $microsoft.OpenSubKey('Windows\CurrentVersion\Uninstall\Microsoft Edge')
$uninstallString = $uninstallRegKey.GetValue('UninstallString') + ' --force-uninstall'
@fitorec
fitorec / README.md
Last active July 19, 2024 19:04
Validador del checksum del número de Seguro Social de México, usando el algoritmo Luhn

Número de seguro social NSS

El numero de seguro social de México se conforma de 11 dígitos en donde el ultimo es el dígito verificador(Checksum), el cual es generado por el algoritmo Luhn.

Formato.

Formato img

Nota: para mayores informes consultar la definición del algoritmo en wikipedia: :point_right: https://es.wikipedia.org/wiki/Algoritmo_de_Luhn