This file contains hidden or 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
| set autoindent | |
| set expandtab | |
| set tabstop=2 | |
| set shiftwidth=2 | |
| set number |
This file contains hidden or 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
| // auth.interceptor.ts | |
| import { inject } from '@angular/core'; | |
| import { HttpInterceptorFn } from '@angular/common/http'; | |
| import { AuthService } from '../services/auth.service'; | |
| import { jwtDecode } from 'jwt-decode'; | |
| import { switchMap } from 'rxjs'; | |
| export const authInterceptor: HttpInterceptorFn = (req, next) => { | |
| const authService = inject(AuthService); |
This file contains hidden or 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
| [core] | |
| editor = \"C:\\Users\\%USERPROFILE%\\AppData\\Local\\Programs\\Microsoft VS Code\\bin\\code\" --wait | |
| [color] | |
| ui = true | |
| [user] | |
| name = Stefano Esposito | |
| mail = [email protected] | |
| [alias] | |
| st = status | |
| co = checkout |
This file contains hidden or 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 winget="winpty winget" | |
| alias ls='ls --color' | |
| alias l='ls --color' | |
| alias ll='ls -l --color' | |
| alias la='ls -la --color' | |
| alias c='clear' | |
| alias h='history' | |
| alias r='dotnet run' | |
| alias p='dotnet publish -r win-x64 -c Release' | |
| alias fpp='git fetch -p && git pull' |
This file contains hidden or 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
| if test -f /etc/profile.d/git-sdk.sh | |
| then | |
| TITLEPREFIX=SDK-${MSYSTEM#MINGW} | |
| else | |
| TITLEPREFIX=$MSYSTEM | |
| fi | |
| if test -f ~/.config/git/git-prompt.sh | |
| then | |
| . ~/.config/git/git-prompt.sh |