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 net.perfectdreams.dreamcore.utils | |
import com.comphenix.packetwrapper.* | |
import com.comphenix.protocol.wrappers.WrappedDataWatcher | |
import com.comphenix.protocol.wrappers.WrappedWatchableObject | |
import org.bukkit.Bukkit | |
import org.bukkit.Location | |
import org.bukkit.entity.Entity | |
import org.bukkit.entity.EntityType | |
import org.bukkit.entity.Player |
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 utils | |
import org.w3c.dom.HTMLElement | |
@JsName("grecaptcha") | |
external object GoogleRecaptcha { | |
fun render(element: HTMLElement, options: RecaptchaOptions) | |
} | |
class RecaptchaOptions(val sitekey: String, val callback: String, val size: String) |
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
sending: {"o":{"actions":["Browsing"],"target":"ndc://x26883146/public-chats","ndcId":26883146,"params":{"duration":20215},"id":"269197328"},"t":306} | |
sending: {"o":{"ndcId":26883146,"topic":"ndtopic:x26883146:users-start-typing-at:e9b29c8d-d6ac-4868-908a-ba9d43e8b924","id":"269197372"},"t":300} | |
sending: {"o":{"ndcId":26883146,"topic":"ndtopic:x26883146:users-end-typing-at:e9b29c8d-d6ac-4868-908a-ba9d43e8b924","id":"269197377"},"t":300} | |
sending: {"o":{"ndcId":26883146,"topic":"ndtopic:x26883146:users-start-recording-at:e9b29c8d-d6ac-4868-908a-ba9d43e8b924","id":"269197381"},"t":300} | |
sending: {"o":{"ndcId":26883146,"topic":"ndtopic:x26883146:users-end-recording-at:e9b29c8d-d6ac-4868-908a-ba9d43e8b924","id":"269197385"},"t":300} | |
sending: {"o":{"ndcId":26883146,"threadId":"e9b29c8d-d6ac-4868-908a-ba9d43e8b924","id":"269197450"},"t":100} | |
sending: {"o":{"actions":["Chatting"],"target":"ndc://x26883146/chat-thread/e9b29c8d-d6ac-4868-908a-ba9d43e8b924","ndcId":26883146,"params":{"threadType":2},"id":"269197526"},"t": |
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
# *iniciando variáveis por favor ignorar* | |
addi $s0, $zero, 2 | |
addi $s1, $zero, 5 | |
# *iniciando variáveis por favor ignorar* | |
# m (s0) = 2 | |
# n (s1) = 5 | |
# s2 = somatória | |
# | |
# Fazer a somatória entre os números m e n, ou seja, se for 2 e 5, o programa |
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 net.pocketdreams.dreampocketimagehq | |
import io.netty.buffer.Unpooled | |
import net.pocketdreams.dreamcore.utils.KotlinPlugin | |
import org.bukkit.Bukkit | |
import org.bukkit.event.EventHandler | |
import org.bukkit.event.Listener | |
import protocolsupport.api.Connection | |
import protocolsupport.api.events.ConnectionHandshakeEvent | |
import protocolsupport.protocol.serializer.VarNumberSerializer |
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
fun main(args: Array<String>) { | |
var sessionId = "" | |
val conversations = arrayListOf<String>("", "", "", "", "", "", "") | |
var lineRef = ""; | |
var prevref = "" | |
while (true) { | |
// println("Insira sua mensagem para o Cleverbot") | |
val stimulus = readLine() | |
// val stimulus = "Do you like Undertale?"; |
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 com.mrpowergamerbr.loritta.utils.oauth2 | |
import com.github.kevinsawicki.http.HttpRequest | |
import com.github.salomonbrys.kotson.fromJson | |
import com.github.salomonbrys.kotson.long | |
import com.github.salomonbrys.kotson.obj | |
import com.github.salomonbrys.kotson.string | |
import com.google.gson.Gson | |
import com.google.gson.JsonElement | |
import com.google.gson.JsonObject |
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 net.dv8tion.jda.core.AccountType | |
import net.dv8tion.jda.core.JDABuilder | |
import java.io.File | |
import net.dv8tion.jda.core.WebSocketCode | |
import net.dv8tion.jda.core.entities.impl.JDAImpl | |
import org.json.JSONObject | |
fun main(args: Array<String>) { | |
val token = File("D:\\discord_token.txt").readText() | |
val jda = JDABuilder(AccountType.CLIENT).setToken(token).buildBlocking() |
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 com.mrpowergamerbr.akinator | |
import com.github.kevinsawicki.http.HttpRequest | |
import com.github.salomonbrys.kotson.array | |
import com.github.salomonbrys.kotson.get | |
import com.github.salomonbrys.kotson.int | |
import com.github.salomonbrys.kotson.long | |
import com.github.salomonbrys.kotson.obj | |
import com.github.salomonbrys.kotson.string | |
import com.google.gson.JsonParser |
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 com.mrpowergamerbr.loritta.utils | |
val morseValues = mapOf( | |
// ALFABETO | |
'A' to ".-", | |
'B' to "-...", | |
'C' to "-.-.", | |
'D' to "-..", | |
'E' to ".", | |
'F' to "..-.", |