Skip to content

Instantly share code, notes, and snippets.

View itsTeknas's full-sized avatar
🚀
Launching Startups

Sanket Berde itsTeknas

🚀
Launching Startups
View GitHub Profile
@prosenjit-manna
prosenjit-manna / http.interceptor.ts
Created June 5, 2018 21:14
angular 6 interceptor
import {
Injectable,
// Injector
} from '@angular/core';
import {
HttpRequest,
HttpHandler,
HttpEvent,
HttpInterceptor,
HttpErrorResponse
@ygotthilf
ygotthilf / jwtRS256.sh
Last active July 5, 2024 12:01
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
cat jwtRS256.key
cat jwtRS256.key.pub