Skip to content
View pejalo's full-sized avatar
  • Pennsylvania
Block or Report

Block or report pejalo

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. top-of-second-ticker top-of-second-ticker Public

    JavaScript

  2. Add email address to Google Sheet an... Add email address to Google Sheet and log to Cloud Logger
    1
    const GoogleSheets = require('@googleapis/sheets');
    2
    const GoogleLogging = require('@google-cloud/logging');
    3
    
                  
    4
    // both google services below are authenticated via "Application Default Credentials" (ADC)
    5
    // https://googleapis.dev/nodejs/googleapis/latest/sheets/index.html#service-account-credentials
  3. 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.
    2
    
                  
    3
    func getMemoryUsedAndDeviceTotalInMegabytes() -> (Float, Float) {
    4
            
    5
        // https://stackoverflow.com/questions/5887248/ios-app-maximum-memory-budget/19692719#19692719
  4. Submit nodejs request to Sendy to su... Submit nodejs request to Sendy to subscribe email address
    1
    const fetch = (...args) => import('node-fetch').then(({ default: fetch }) => fetch(...args));
    2
    
                  
    3
    module.exports = {
    4
        subscribe: async (emailAddress) => {
    5
            const {
  5. Firebase function for dynamic routin... Firebase function for dynamic routing via redirect
    1
    const admin = require('firebase-admin');
    2
    
                  
    3
    function buildHtmlWithPost (post) {
    4
    
                  
    5
      const title = post.title + ' | Example Website';
  6. Setup for testing HTTP-triggered Fir... Setup for testing HTTP-triggered Firebase Functions locally
    1
    const functions = require('firebase-functions'); // To stub config()
    2
    const admin = require('firebase-admin'); // To get credential cert for initializeApp
    3
    const firebase = require('firebase'); // To sign in test user and test database writes
    4
    const assert = require('chai').assert;
    5
    const sinon = require('sinon');