This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias difftool='git difftool' | |
alias mergetool='git mergetool' | |
alias cob='git checkout -b' | |
alias p='git pull' | |
alias co='git checkout' | |
alias st='git status -s' | |
alias cmm='git commit -m' | |
alias a='git add .' | |
alias cpe='git cherry-pick -e' | |
alias cpn='git cherry-pick -n' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Application.UseCases.User.CreateUser.Input; | |
using Application.UseCases.User.RequestCreateUser; | |
using Microsoft.AspNetCore.Mvc; | |
using System.Net; | |
namespace Api.Controllers | |
{ | |
[Route("api/[controller]")] | |
[ApiController] | |
public class UserController : ControllerBase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Application.Extensions; | |
using Consumers; | |
using Infrastructure.Extensions; | |
using Producers; | |
using Serilog; | |
using StreamNet; | |
var builder = WebApplication.CreateBuilder(args); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
type Grafo struct { | |
vertices []Vertice | |
} | |
type Vertice struct { | |
color string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Imports Unity | |
Module Module1 | |
Public Interface IMyFirstInterface | |
Sub Test() | |
End Interface | |
Public Class MyFirstClass | |
Implements IMyFirstInterface | |
Private ReadOnly secondInterface As IMySecondInterface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir MySqlSample | |
cd MySqlSample | |
dotnet new sln | |
mkdir src | |
cd src/ | |
mkdir MySqlSample.Api | |
cd MySqlSample.Api/ | |
dotnet new webapi | |
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is Git's per-user configuration file. | |
[alias] | |
st = status -s | |
co = checkout | |
p = pull | |
po = push origin | |
cob = checkout -b | |
rd = rebase develop | |
b = branch | |
l = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias difftool='git difftool' | |
alias mergetool='git mergetool' | |
alias cob='git checkout -b' | |
alias p='git pull' | |
alias co='git checkout' | |
alias st='git status -s' | |
alias cmm='git commit -m' | |
alias a='git add .' | |
alias cpe='git cherry-pick -e' | |
alias cpn='git cherry-pick -n' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Authorization; | |
using Microsoft.AspNetCore.Mvc; | |
namespace JwtSample.Controllers | |
{ | |
[Route("api/[controller]")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IdentityModel.Tokens.Jwt; | |
using System.Security.Claims; | |
using JwtSample.Models; | |
using Microsoft.AspNetCore.Authorization; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.Extensions.Configuration; | |
using Microsoft.IdentityModel.Tokens; | |
namespace JwtSample.Controllers |
NewerOlder