$ yum remove supervisor
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
<?php | |
/** | |
Intervalos | |
Você está resolvendo este problema. | |
Este problema foi utilizado em 164 Dojo(s). | |
Dado uma lista de números inteiros, agrupe a lista em um conjunto de intervalos | |
Exemplo: | |
Entrada: 100, 101, 102, 103, 104, 105, 110, 111, 113, 114, 115, 150 | |
Saída: [100-105], [110-111], [113-115], [150] | |
* |
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 data = [ | |
{ | |
name: "Alexandre", | |
city: "MG", | |
age: "45" | |
}, | |
{ | |
name: "Ricardo", | |
city: "MG", | |
age: "32" |
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 styled from "styled-components"; | |
const Post = styled.section ` | |
padding-bottom: 2em; | |
header { | |
h2 { | |
font-size: 2em; | |
color: #222; | |
margin-bottom: 0.2em; | |
}; |
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
class CaixaEletronico { | |
List<int> notasDisponiveis = []; | |
Map<int, int> notasSacadas = {}; | |
CaixaEletronico(this.notasDisponiveis); | |
Map<int, int> sacar(valorSolicitado) { | |
this.notasDisponiveis.forEach((valorDisponivel) { | |
int quantidadeNota = 0; |
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
class CaixaEletronico { | |
List<int> notasDisponiveis = []; | |
Map<int, int> notasSacadas = {}; | |
CaixaEletronico(this.notasDisponiveis); | |
Map<int, int> sacar(valorSolicitado) { | |
this.notasDisponiveis.forEach((valorDisponivel) { | |
int quantidadeNota = 0; |
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
let age = prompt("How old are you?"); | |
let cnh = prompt("Do you have CNH yes/no?"); | |
let message = (age < 18 || cnh =='no') | |
? "You can't drive. Mandatory to be over 18 and have a CNH" | |
: "You can drive" | |
console.log(message); |
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
version: "3.7" | |
services: | |
app: | |
build: | |
args: | |
user: sidnei | |
uid: 1000 | |
context: ./ | |
dockerfile: Dockerfile | |
image: lamp |
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
"use strict"; | |
/* | |
* knex-dynamic-connection | |
* | |
* (c) Harminder Virk <virk@adonisjs.com> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ | |
Object.defineProperty(exports, "__esModule", { value: true }); |
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
<?php | |
function construirEscada($degraus) | |
{ | |
$escada = ''; | |
for ($i = 0; $i < $degraus; $i++) { | |
$escada .= str_repeat(' ', $degraus - $i) | |
. str_repeat('*', $i + 1) . "\n"; | |
} | |
return $escada; |