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
#include<stdio.h> | |
int main(){ | |
int resto[100], numero, resultado = 1, cont=0; | |
printf("Insira o numero a ser transformado em Binario:"); | |
scanf("%d", &numero); | |
while (resultado > 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
#include<stdio.h> | |
#include<conio.h> | |
#include<windows.h> | |
int main(){ | |
while(1 != 0){ | |
printf("pa"); | |
Beep(528,300); |
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
mp_freezetime 0 | |
mp_rountime 1.5 | |
mp_roundtime_defuse 1.50 | |
mp_roundtime_hostage 1.50 | |
mp_halftime 1 | |
mp_halftime_duration 2 | |
mp_overtime_enable 1 | |
mp_buytime 0 | |
mp_maxrounds 30 | |
mp_free_armor 1 |
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
// Escreva um código (pode ser estilo função JavaScript, método Java, função C ou direto o | |
// código do algoritmo) que receba por parâmetro qualquer número e retorne true (ou | |
// verdadeiro) caso o número seja ímpar e não seja divisível por 3 e false/falso caso contrário. | |
// Exemplo: | |
// impar( 5 ) // seu código deve retornar true (verdadeiro) | |
// impar( 227 ) // seu código deve retornar true (verdadeiro) | |
// impar( 2018 ) // seu código deve retornar false (falso) | |
function impar(numero) { | |
let resp = false; |
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 ParentComponent extends Component { | |
render() { | |
// My basic render function structure: | |
// 1) Extract values from props and state | |
const {a, b, someBoolean, someList} = this.props; | |
// 2) Render any dependent items into temporary variables, such as conditional components or lists | |
const conditionalComponent = someBoolean ? <SomeComponent /> : null; | |
const listItems = someList.map(item => <ListItem item={item} />); |
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
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^ index.html [QSA,L] |
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 fatorial(numero){ | |
// Define resultado padrão como null. | |
let resultado = null; | |
// Se o número digitado atender aos requisitos, altera a variavel resultado. | |
if(numero === 0 || numero === 1){ | |
// Número digitado é 0 ou 1 | |
resultado = 1; | |
}else if(numero >= 0){ | |
// Número digitado atende aos requsitos. |
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
// no41 (Campo de Armia) | |
// ******************************************** | |
# [ 122] | |
MinuteGenerate: 1 | |
MaxNumMob: 1 | |
MinGroup: 0 | |
MaxGroup: 0 | |
Leader: Gremlin | |
Follower: Gremlin | |
RouteType: 2 |
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 DoWhiteSpace = (text) => { | |
const spacesRegexp = /\x20/g, newLineRegexp = /\n/g; | |
return text.replace(spacesRegexp, ' ').replace(newLineRegexp, '<br>'); | |
}; |
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
<html> | |
<head> | |
<title>Netflix logo in HTML + CSS</title> | |
<style> | |
body{ | |
display: flex; | |
align-items: center; | |
height: 100vh; | |
margin: 0; | |
background: black; |
OlderNewer