- Visão Geral
- Visão geral do Firebase por plataforma e por produtos
- Guias
- Um guia com instruções passo a passo dos recursos do Firebase
- Api Reference
- Informações detalhadas sobre cada classe e método no SDK do Firebase
This file contains 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/sh | |
echo "Deploy umbler master" | |
COMMIT_MSG="$1" | |
DEPLOY_FOLDER=~/projects/deploy/seusite-com | |
BUILD_FOLDER=dist | |
GIT_URL=ssh://[email protected]:9922/~/git/seusite-com.git | |
if [[ ! -d $DEPLOY_FOLDER ]]; then | |
git clone $GIT_URL $DEPLOY_FOLDER |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am evlymn on github. | |
* I am evlymn (https://keybase.io/evlymn) on keybase. | |
* I have a public key ASD4mPAIjTD5xszXPrin47icdhKHhKlkDymjVA6uRLENkgo | |
To claim this, I am signing this object: |
This file contains 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
import { Injectable, NgZone } from '@angular/core'; | |
import { Router } from '@angular/router'; | |
import { AngularFireAuth } from '@angular/fire/auth'; | |
import * as firebase from 'firebase/app'; | |
@Injectable({ | |
providedIn: 'root' | |
}) | |
export class AuthenticationService { | |
private auth: firebase.auth.Auth; |
- Uma conta google
This file contains 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
$ defaults write com.apple.screencapture location /users/Evelyn/Screenshots |
This file contains 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
sudo spctl --master-disable |
This file contains 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
{ | |
"Ansi 6 Color" : { | |
"Red Component" : 0, | |
"Color Space" : "sRGB", | |
"Blue Component" : 0.78166204690933228, | |
"Alpha Component" : 1, | |
"Green Component" : 0.77425903081893921 | |
}, | |
"Tags" : [ |
This file contains 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
module.exports = { | |
type: 'service_account', | |
project_id: 'project_id', | |
private_key_id: 'private_key_id', | |
private_key: 'private_key', | |
client_email: 'client_email', | |
client_id: 'client_id', | |
auth_uri: 'https://accounts.google.com/o/oauth2/auth', | |
token_uri: 'https://oauth2.googleapis.com/token', | |
auth_provider_x509_cert_url: 'https://www.googleapis.com/oauth2/v1/certs', |
This file contains 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
const serviceAccountKey = require('./firebaseConfig'); | |
const admin = require('firebase-admin'); | |
admin.initializeApp({ | |
credential: admin.credential.cert(serviceAccountKey), | |
databaseURL: 'https://simplesapp-realtime.firebaseio.com', | |
}); |
OlderNewer