- Monitor LG 38": https://amzn.to/2jegMvj
- Microfone Rode Procaster com suporte de mesa: https://amzn.to/2FoOpDf
- Interface USB Focusrite Scarlett Solo: https://amzn.to/2HE5HhC
- Cabo XLR: https://amzn.to/2r8fJAC
- Amplificador Cloudlifter: https://amzn.to/2r3JQcu
- Pop filter: https://www.bswusa.com/Pop-Filters-BSW-RE320POP-P7872.aspx
- Adaptador phone: https://amzn.to/2HGsSYY
- Headphone Holder Apple Charging Station: https://amzn.to/2HC6ek9
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 } from '@angular/core'; | |
import { Firestore, collectionData, collection, QueryConstraint } from '@angular/fire/firestore'; | |
import { addDoc, CollectionReference, deleteDoc, doc, getDoc, query, setDoc, updateDoc } from '@firebase/firestore'; | |
@Injectable({ | |
providedIn: 'root' | |
}) | |
export class FirestoreService { | |
constructor(private firestore: Firestore) { } |
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
REMOTE="origin" | |
git branch -r | grep "^ ${REMOTE}/" | sed "s|^ ${REMOTE}/|:|" | grep -v "^:HEAD" | grep -v "^:master$" | xargs git push ${REMOTE} |
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 x = document.getElementsByClassName('artdeco-button--secondary'); for (let i=0 ; i<x.length; i++) x[i].click(); | |
// falta paginacao e aceitar >100 numa tacada :P |
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
<div class="session"> | |
<div class="session-content"> | |
<div class="session-wrapper"> | |
<mat-card> | |
<mat-card-title class="text-xs-center pb-1">Faça login para continuar</mat-card-title> | |
<mat-card-content> | |
<form [formGroup]="form"> | |
<div fxLayout="column" fxLayoutAlign="space-around"> | |
<div class="pb-1 mat-error">Migramos o portal para uma nova plataforma. Caso seja a primeira fez que esteja logando, por favor, <a [routerLink]="['/sessao/resetar-senha']" class="bold">redefina a sua senha</a>.</div> | |
<div class="pb-1 mat-error" *ngIf="error">{{ error }}</div> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
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
public class TesteStringInteger { | |
public static void main(String[] args) { | |
String numeroDoArquivo = "99 "; | |
//numeroDoArquivo = numeroDoArquivo.trim(); //remove espaços das extremidades | |
numeroDoArquivo = numeroDoArquivo.replaceAll(" ", ""); //remove todos os espaços | |
long numero = Long.parseLong(numeroDoArquivo); | |
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 { Component, Input, AfterViewInit } from '@angular/core'; | |
import { NgModel, DefaultValueAccessor, NgControl } from '@angular/forms'; | |
import { Http, Headers, RequestOptions } from '@angular/http'; | |
@Component({ | |
selector: 'app-file-uploader', | |
template: '<input type="file" (change)="updated($event);">', | |
providers: [NgModel, DefaultValueAccessor] | |
}) | |
export class FileUploaderComponent implements AfterViewInit { |
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
function loadLocale(){ | |
var query = Ext.Object.fromQueryString(location.search), | |
lang = query.lang ? query.lang.toLowerCase() : 'en'; | |
if (lang === 'pt'){ | |
lang = 'pt_BR'; | |
} | |
var extJsFile = Ext.util.Format.format("resources/locale/ext-locale-{0}.js", lang); |
NewerOlder