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
let times = 600000 | |
let frase = "The quick red fox jumped over the lazy dog and ran away quickly"; | |
function biggestWord(frase){ | |
let biggest = ''; | |
let words = frase.split(' '); | |
for(let i=0; i < words.length; i++){ | |
if(words[i].length > biggest.length){ | |
biggest = words[i]; | |
} |
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
version: '3' | |
services: | |
databse: | |
image: 'mongo' | |
container_name: 'mongo-dota' | |
environment: | |
- MONGO_INITDB_DATABASE=dota | |
- MONGO_INITDB_ROOT_USERNAME=teomewhy | |
- MONGO_INITDB_ROOT_PASSWORD=123 |
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
@media (min-width: 1400px) { | |
.button-accordion { | |
height: 82%; } } | |
@media (min-width: 768px) { | |
.button-accordion { | |
height: 74%; } } | |
@media (min-width: 1400px) { | |
.button-accordion--right { |
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
import turtle | |
turtle.speed(10) | |
turtle.bgcolor('black') | |
turtle.pensize(3) | |
def func(): | |
for _ in range(200): | |
turtle.right(1) |
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
console.log('Gerar Números Aleatórios', generateRandomNumbers(6)); | |
/** | |
* Generate a random number between 1 and 60 without repetition | |
* @param {number} amount - Amount of numbers to be generated | |
* @returns {number[]} - Array of numbers | |
*/ | |
function generateRandomNumbers(amount) { | |
const numberBetween1And60 = () => Math.floor(Math.random() * 60) + 1; |
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
#!/bin/bash | |
sudo apt install -y unzip wget | |
wget https://github.com/LuanComputacao/gnome-kiosk/archive/refs/heads/main.zip | |
unzip main.zip | |
rm main.zip* | |
cd gnome-kiosk-main/ | |
sudo ./sal_gnome1.sh |
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
def main(): | |
entradas = [] | |
# Loop para capturar entradas até o usuário digitar 'done' | |
while True: | |
entrada = input("Digite um valor (ou 'done' para terminar): ") | |
if entrada.lower() == 'done': # Para finalizar a captura | |
break | |
if entrada == '': # Captura de valores nulos | |
entradas.append(None) |
OlderNewer