Skip to content

Instantly share code, notes, and snippets.

View mtheusbrito's full-sized avatar
🍃
Working from home

Matheus Brito mtheusbrito

🍃
Working from home
View GitHub Profile
@mtheusbrito
mtheusbrito / .p10k.zsh
Created November 10, 2022 03:10
My config powerlevel10k
# Generated by Powerlevel10k configuration wizard on 2022-08-29 at 22:49 -03.
# Based on romkatv/powerlevel10k/config/p10k-classic.zsh, checksum 62739.
# Wizard options: nerdfont-complete + powerline, small icons, classic, unicode, dark,
# 24h time, angled separators, sharp heads, flat tails, 1 line, compact, many icons,
# concise, transient_prompt, instant_prompt=verbose.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with classic powerline prompt style. Type `p10k configure` to generate
# your own config based on it.
#
{
"Basic React Native Interface": {
"prefix": "rnfc",
"body": [
"import React from 'react';",
"",
"import { Container } from './styles';",
"",
"export function ${TM_DIRECTORY/^.+\\/(.*)$/$1/}(){",
"return (",
@mtheusbrito
mtheusbrito / README.md
Created February 1, 2021 12:01 — 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:

@mtheusbrito
mtheusbrito / .zshrc
Created September 2, 2019 21:54 — forked from diego3g/.zshrc
SPACESHIP_PROMPT_ORDER=(
user # Username section
dir # Current directory section
host # Hostname section
git # Git section (git_branch + git_status)
hg # Mercurial section (hg_branch + hg_status)
exec_time # Execution time
line_sep # Line break
vi_mode # Vi-mode indicator