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"
)
@samoray1998
samoray1998 / US_States_and_Cities.json
Created July 30, 2022 16:42 — forked from ahmu83/US_States_and_Cities.json
List of US States and Cities in JSON format.
{
"New York": [
"New York",
"Buffalo",
"Rochester",
"Yonkers",
"Syracuse",
"Albany",
"New Rochelle",
"Mount Vernon",
@samoray1998
samoray1998 / auth.dart
Created June 2, 2022 06:39 — forked from nikhilmufc7/auth.dart
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.