- 3 ovos
- 1/3 xic açúcar
- 1/2 xic trigo
- 1/2 col chá fermento químico
- 3/4 a 1 xic morangos picados
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); |
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 java.util.ArrayList; | |
import java.util.LinkedList; | |
public class ArrayELinkedList { | |
public static void main(String[] args) { | |
ArrayList<LinkedList<String>> arrayList = new ArrayList<>(); | |
LinkedList<String> linked01 = new LinkedList<>(); |
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
for (int i=0,j=10;i<j;i++,j--){ | |
System.out.println("i tem valor: " + i +" e j tem valor: " +j); | |
} | |
//é o mesmo que | |
int i = 0; | |
int j = 10; | |
while (i<j){ | |
System.out.println("i tem valor: " + i +" e j tem valor: " +j); | |
i++; |
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 TesteConsoleColorido { | |
public static final String ANSI_RESET = "\u001B[0m"; | |
public static final String ANSI_BLACK = "\u001B[30m"; | |
public static final String ANSI_RED = "\u001B[31m"; | |
public static final String ANSI_GREEN = "\u001B[32m"; | |
public static final String ANSI_YELLOW = "\u001B[33m"; | |
public static final String ANSI_BLUE = "\u001B[34m"; | |
public static final String ANSI_PURPLE = "\u001B[35m"; | |
public static final String ANSI_CYAN = "\u001B[36m"; |
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
Verifying that +loiane is my blockchain ID. https://onename.com/loiane |
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
for(int i=0;i<real.length;i++){ | |
double valorReal = Double.parseDouble(JOptionPane.showInputDialog(" Digite o valor em reais R$")); | |
real[i] = dolar * valorReal; //multiplicação simples por exemplo, dólar a 4 reais = 2 reais equivalem a 4*2 == 8 | |
} |
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 ArgumentosIDE { | |
public static void main(String[] args) { | |
System.out.println(args[0]); | |
} | |
} |