Skip to content

Instantly share code, notes, and snippets.

View marcosicp's full-sized avatar
💭
Hiring

Marcos marcosicp

💭
Hiring
View GitHub Profile
@Gazer
Gazer / firebase-function-mercadopago.js
Created April 27, 2020 16:30
Create a MercadoPago Preference when a document is created in Firestore
const functions = require('firebase-functions');
const admin = require('firebase-admin');
let FieldValue = require('firebase-admin').firestore.FieldValue;
admin.initializeApp();
const db = admin.firestore();
const express = require('express');
const app = express();
const mercadopago = require('mercadopago');
@paulallies
paulallies / gist:0052fab554b14bbfa3ef
Last active November 12, 2023 23:00
Remove node_modules from git repo
#add 'node_modules' to .gitignore file
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin <branch-name>