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
// 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 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
st = status | |
co = checkout | |
ci = commit | |
br = branch | |
df = diff | |
dfs = diff --staged | |
logg = log --graph --decorate --oneline --all | |
fp = fetch -p | |
lg = log --oneline | |
ss = stash |
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 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 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 |