This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This fork limits deletion to the first 10 users | |
// and deletes the data for each user separately (rather than wiping the whole database) | |
// Because of the firebase quota of 10 deletions/second. | |
// https://firebase.google.com/docs/auth/limits | |
// NOTE: Accounts that are not represented in your /users node will not be deleted! | |
// BLOG: There are other approaches, see: http://cliffordhall.com/2017/04/nuke-firebase-db-and-all-users/ | |
'use strict'; | |
// Get credentials and initialize firebase app | |
console.log( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script automatically sets the version and short version string of | |
# an Xcode project from the Git repository containing the project. | |
# | |
# To use this script in Xcode, add the script's path to a "Run Script" build | |
# phase for your application target. | |
set -o errexit | |
set -o nounset |