Pinned Loading
-
-
Add email address to Google Sheet an...
Add email address to Google Sheet and log to Cloud Logger 1const GoogleSheets = require('@googleapis/sheets');
2const GoogleLogging = require('@google-cloud/logging');
34// both google services below are authenticated via "Application Default Credentials" (ADC)
5// https://googleapis.dev/nodejs/googleapis/latest/sheets/index.html#service-account-credentials
-
Swift 4 iOS app memory usage
Swift 4 iOS app memory usage 1/// If an error occurs while getting the amount of memory used, the first returned value in the tuple will be 0.
23func getMemoryUsedAndDeviceTotalInMegabytes() -> (Float, Float) {
45// https://stackoverflow.com/questions/5887248/ios-app-maximum-memory-budget/19692719#19692719
-
Submit nodejs request to Sendy to su...
Submit nodejs request to Sendy to subscribe email address 1const fetch = (...args) => import('node-fetch').then(({ default: fetch }) => fetch(...args));
23module.exports = {
4subscribe: async (emailAddress) => {
5const {
-
Firebase function for dynamic routin...
Firebase function for dynamic routing via redirect 1const admin = require('firebase-admin');
23function buildHtmlWithPost (post) {
45const title = post.title + ' | Example Website';
-
Setup for testing HTTP-triggered Fir...
Setup for testing HTTP-triggered Firebase Functions locally 1const functions = require('firebase-functions'); // To stub config()
2const admin = require('firebase-admin'); // To get credential cert for initializeApp
3const firebase = require('firebase'); // To sign in test user and test database writes
4const assert = require('chai').assert;
5const sinon = require('sinon');
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.