Skip to content

Instantly share code, notes, and snippets.

Avatar

André Lima andreloty

View GitHub Profile
@JaimeStill
JaimeStill / README.md
Last active Feb 1, 2021
ASP.NET Core Active Directory Integration
View README.md

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:

@idleberg
idleberg / scoop.md
Last active Feb 11, 2021
Scoop Aliases
View scoop.md

Common aliases for the scoop package manager

# Install app
scoop alias add i 'scoop install $args[0]' 'Install app'
scoop alias add add 'scoop install $args[0]' 'Install app'

# Uninstall app
scoop alias add rm 'scoop uninstall $args[0]' 'Uninstall an app'
scoop alias add remove 'scoop uninstall $args[0]' 'Uninstall an app'
@leonardofed
leonardofed / README.md
Last active Feb 27, 2021
A curated list of AWS resources to prepare for the AWS Certifications
View README.md


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


View bling.js
/* bling.js */
window.$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function (name, fn) {
this.addEventListener(name, fn);
}
NodeList.prototype.__proto__ = Array.prototype;
@idleberg
idleberg / fish_shell.md
Last active Jan 27, 2021
Instructions on how to install Fish shell on Mac OS X, including Oh My Fish!. Also includes several useful functions.
View fish_shell.md

Installation

  1. Install fish via Brew
  2. Optionally install Oh My Fish!
  3. Add fish to known shells
  4. Set default shell to fish
brew install fish  
curl -L https://get.oh-my.fish | fish
@emersonsoares
emersonsoares / EnumEx.cs
Last active Aug 29, 2015
Solution for friendly enums
View EnumEx.cs
public static class EnumEx
{
public static string GetNormalizedString(this Enum value)
{
if (value == null)
return string.Empty;
var type = value.GetType();
var fieldInfo = type.GetField(value.ToString());
View LinusTalk200705Transcript.wiki

This is transcript of Tech Talk: Linus Torvalds on Git at Google on YouTube.


Andrew:

Thank you, for coming everybody, some of you probably already have heard of Linus Torvalds, those of you who haven't, you are the people with Macintoshes on your laps.