If you're trying to do this, you came to the right place!
See this code in action here: https://twitter.com/CodingDoug/status/953031540811825152
- Create a Firebase project at the Firebase Console
If you're trying to do this, you came to the right place!
See this code in action here: https://twitter.com/CodingDoug/status/953031540811825152
If you're trying to do this, you came to the right place!
Watch this code work in real time: https://twitter.com/CodingDoug/status/945035556555186176
These instructions assume that you already have a Firebase project, and billing is enabled. Billing is required to use the Vision API.
| const functions = require('firebase-functions'); | |
| const admin = require('firebase-admin'); | |
| admin.initializeApp(functions.config().firebase); | |
| const twilio = require('twilio'); | |
| const accountSid = functions.config().twilio.sid | |
| const authToken = functions.config().twilio.token | |
| const client = new twilio(accountSid, authToken); |
| //: Playground - noun: a place where people can play | |
| import Foundation | |
| // Example struct | |
| struct Customer: CustomStringConvertible { | |
| let name: String | |
| let age: Int | |
| var description: String { |
| class SearchResultsViewController: UITableViewController { | |
| // MARK: - Properties | |
| private let viewModel: SearchResultsViewModelType | |
| private let disposeBag = DisposeBag() | |
| // MARK: - Initialization | |
| init(viewModel: SearchResultsViewModelType = SearchResultsViewModel()) { |
| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- | |
| Copyright (C) 2015 The Android Open Source Project | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 |
| package com.github.manuelpeinado.toolbartest; | |
| import android.graphics.Color; | |
| import android.graphics.drawable.Drawable; | |
| import android.os.Bundle; | |
| import android.support.v7.app.ActionBarActivity; | |
| import android.support.v7.widget.Toolbar; | |
| import android.view.Menu; | |
| import android.view.View; |