Skip to content

Instantly share code, notes, and snippets.

View charlires's full-sized avatar

Carlos Andonaegui charlires

  • Brightcove
  • Guadalajara, MX
View GitHub Profile
@JamieCurnow
JamieCurnow / firestore.ts
Last active April 14, 2024 01:42
Using Firestore with Typescript
/**
* This Gist is part of a medium article - read here:
* https://jamiecurnow.medium.com/using-firestore-with-typescript-65bd2a602945
*/
// import firstore (obviously)
import { firestore } from "firebase-admin"
// Import or define your types
// import { YourType } from '~/@types'
@danesparza
danesparza / negroni-gorilla.go
Last active December 16, 2020 12:36
Negroni with Gorilla mux subrouter
package main
import (
"fmt"
"github.com/codegangsta/negroni"
"github.com/gorilla/mux"
"log"
"net/http"
)