Category: Uncategorized

Leaks detection
View story at
View story at


Change them in Android

Work with Firebase Cloud Functions


* Installing Firebase CLI
$ npm install -g firebase-tools

* Initiate A New FirebAse Cloud Functions Project and then login
$ firebase login

* Now you’re ready to create a new Firebase Cloud Functions project. First create a new empty project folder
$ mkdir fb-functions

* Then change into the newly created folder
$ cd fb-functions

* Execute the following command
$ firebase init functions

* You’re being asked to select the Firebase project you would like to use for the Firebase Cloud Functions project. You can also select the entry [create a new project] if you would like to add a new Firebase project to your account:

* The Firebase CloudFunctions project has been setup successfully initiated.

# To deploy our project to Firebase
$ firebase deploy –only functions

# To Test in local emulator our project
$ firebase serve –only functions

Firebase Cloud Functions – Triggers


#To Registered Realtime Database Triggers (functions.database.ref)
exports.newUserCreated = functions.database.ref(‘/messages/{userID}’).onCreate(event => { … });

#To Registered Authentication Triggers(functions.auth.user())
*user is created
exports.newUserCreated = functions.auth.user().onCreate(event => { … });

* For Update “onUpdate” , for Delete “onDelete” etc

exports.storageChanges = => {…});

#To Registered HTTP TRIGGERS (functions.https)
exports.httpTest = functions.https.onRequest((req, res) => {…});

#To Registered Analytics Triggers (
exports.onPurchase =‘in_app_purchase’).onLog(event => {…});

Gradient background image generator online’-moz-linear-gradient%28left%2C%20rgba%28248%2C80%2C50%2C1%29%200%25%2C%20rgba%28241%2C111%2C92%2C1%29%2050%25%2C%20rgba%28246%2C41%2C12%2C1%29%2051%25%2C%20rgba%28240%2C47%2C23%2C1%29%2071%25%2C%20rgba%28231%2C56%2C39%2C1%29%20100%25%29%3B’