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
var scriptData = { | |
name: 'Barbs Finder', | |
version: 'v1.4.0', | |
author: 'RedAlert', | |
authorUrl: 'https://twscripts.ga/', | |
helpLink: 'https://forum.tribalwars.net/index.php?threads/barb-finder-with-filtering.285289/', | |
}; | |
// User Input | |
if (typeof DEBUG !== 'boolean') DEBUG = 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
(function() { | |
// Função para clicar em um elemento, verificando se está desabilitado | |
function clickElement(element) { | |
if (element.classList.contains('farm_icon_disabled')) { | |
console.log("Elemento desabilitado, pulando..."); // Mensagem de log para depuração | |
return; // Sai da função se o elemento estiver desabilitado | |
} | |
element.click(); // Simula um clique no elemento | |
console.log("Clicou em um elemento farm_icon_b"); // Mensagem de log para depuração | |
} |
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
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '******' |
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
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
/***********************************************/ | |
func Funcao_Modelo(n1, n2 int) int { |
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
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '#####'; | |
flush privileges; |
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 Matricula { | |
constructor(nome, quantidadeFaltas, notas) { | |
this.nome = nome; | |
this.quantidadeFaltas = quantidadeFaltas; | |
this.notas = notas; | |
} | |
calcularMedia() { | |
let media = this.notas.reduce((nota, i) => { | |
return nota + 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
CREATE TABLE IF NOT EXISTS 'DHTube', 'video' ( | |
idVideo INT(11), | |
Usuario_idUsuario INT(11), | |
titulo VARCHAR(100), | |
descricao TEXT, | |
tamanho DOUBLE, | |
nomeArquivo VARCHAR(100), | |
duracao DOUBLE, | |
imagem VARCHAR(100), | |
qtdReproducoes INT(11), |
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 lista_de_pratos = ["pipoca", "macarrão", "carne", "feijão", "brigadeiro"]; | |
function entrada(item, time) { | |
if (lista_de_pratos.includes(item)) { | |
if (item == 'pipoca') { | |
if (time >= 10 && time < 20) { | |
if(time >= 11 && time < 20 ) { | |
console.log('CUIDADO PRATO MUITO QUENTE!!!!'); | |
} | |
console.log('prato pronto bom apetite') |
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
!true = false / !false = true / !!false = false / !!true = true / !1 = true / !!1 = false / !0 = false / !!0 = true / !!"" = false | |
let x = 5 ; | |
let y = 9; | |
x < 10 && x!==5 = false | |
x>9 || x===5 = true | |
!(x===y) = 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
const adicionar = (num1, num2) => { | |
const resposta = (num1 + num2); | |
console.log(`A operação de adição envolvendo os valores ${num1} e ${num2} é ${resposta}`); | |
return resposta; | |
}; | |
const subtracao = (num1, num2) => { | |
const resposta = (num1 - num2); | |
console.log(`A operação de subtração envolvendo os valores ${num1} e ${num2} é ${resposta}`); | |
return resposta; | |
}; |
NewerOlder