This file contains hidden or 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 Obj { | |
private String value; | |
interface First { | |
Second first(String v); | |
} | |
interface Second { | |
Build second(String v); | |
} | |
interface Build { | |
Obj build(); |
This file contains hidden or 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
#include <stdio.h> | |
#include <errno.h> | |
#include <math.h> | |
#include <signal.h> | |
#include <spa/param/audio/format-utils.h> | |
#include <pipewire/pipewire.h> | |
struct data { | |
struct pw_main_loop *loop; | |
struct pw_stream *stream; |
This file contains hidden or 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
class Banco { | |
private final String nome; | |
private final String agencia; | |
public Banco(String nome, String agencia) { | |
this.nome = nome; | |
this.agencia = agencia; | |
} | |
public String getNome() { return nome; } |
This file contains hidden or 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
enum Formato { | |
JSON("JSON"), | |
XML("XML"), | |
CSV("PORCENTO"); | |
private String content; | |
private Formato(String content) { | |
this.content = content; |
This file contains hidden or 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
enum TipoProduto() { | |
DIGITAL("digital", 1), | |
FISICO("fisico", 2); | |
private final String tipo; | |
private final int codigo; | |
private TipoProduto(String tipo, int codigo) { | |
this.tipo = tipo; |
This file contains hidden or 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
enum Nota { | |
CEM(100L), | |
CINQUENTA(50L), | |
VINTE(20L), | |
CINCO(5L); | |
private Long valor; | |
private Nota(Long valor) { | |
this.valor = valor; |
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"time" | |
"sync" | |
) |
This file contains hidden or 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
#include <stdio.h> | |
#define DIAS_DA_SEMANA 7 | |
#define SAIR 0 | |
// Faça um programa que leia a temperatura de uma cidade em uma semana. O | |
// programa deverá conter: | |
int main() { | |
float temparatura[DIAS_DA_SEMANA]; | |
int temperatura_vazia = 0; |
This file contains hidden or 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
commitizen: | |
name: cz_customize | |
tag_format: v$version # v$major.$minor.$patch$prerelease" | |
version: 10.12.0 | |
changelog_file: CHANGELOG.md | |
changelog_incremental: false | |
update_changelog_on_bump: false | |
use_shortcuts: false | |
allow_abort: false | |
annotated_tag: true |
NewerOlder