Skip to content

Instantly share code, notes, and snippets.

View ignemdev's full-sized avatar
🏠
Working from home

Ignacio Morel Pujols ignemdev

🏠
Working from home
View GitHub Profile
@ignemdev
ignemdev / findSumPair.js
Created August 25, 2022 06:43
findSumPair problem
function findSumPair(numbers, k) {
let sumPair = [];
numbers.forEach(number => {
const index = numbers.indexOf(number);
const arrayWithouNumber = [...numbers.slice(0, index), ...numbers.slice(index + 1)]
for (let i = 0; i < arrayWithouNumber.length; i++) {
var sum = number + arrayWithouNumber[i];
if (sum === k) {
@ignemdev
ignemdev / README.md
Created November 9, 2021 21:59 — forked from JaimeStill/README.md
ASP.NET Core Active Directory Integration

Active Directory Authentication

This will provide an example of integrating Active Directory authentication in an ASP.NET Core app.

Note, you'll need to be running on a Windows domain with Visual Studio debugging in IIS Express for this to work.

Setup

In launchSettings.json, you'll want to modify iisSettings by turning on windowsAuthentication: