Skip to content

Instantly share code, notes, and snippets.

View samoray1998's full-sized avatar
🏠
Working from home

Jamal koukou samoray1998

🏠
Working from home
View GitHub Profile
@samoray1998
samoray1998 / jwt.go
Created May 6, 2023 18:10 — forked from Goodnessuc/jwt.go
JWT tutorial in Go using the golang-jwt package
package main
import (
"encoding/json"
"fmt"
"github.com/golang-jwt/jwt"
"log"
"net/http"
"time"
)
@nikhilmufc7
nikhilmufc7 / auth.dart
Last active April 14, 2024 13:06
Firebase Flutter Platform Exception Codes and example
// Error Codes for SignUp
ERROR_OPERATION_NOT_ALLOWED` - Indicates that Anonymous accounts are not enabled.
ERROR_WEAK_PASSWORD - If the password is not strong enough.
ERROR_INVALID_EMAIL` - If the email address is malformed.
ERROR_EMAIL_ALREADY_IN_USE - If the email is already in use by a different account.
ERROR_INVALID_CREDENTIAL` - If the [email] address is malformed.
// sending password reset email
ERROR_INVALID_EMAIL` - If the [email] address is malformed.
@shcyiza
shcyiza / car_brands.json
Created September 2, 2019 21:30
list of car brands name and logo in JSON format
[
{
"logo": "https://www.car-logos.org/wp-content/uploads/2011/09/abarth1.png",
"name": "Abarth"
},
{
"logo": "https://www.car-logos.org/wp-content/uploads/2011/09/ac-cars.png",
"name": "AC"
},
{