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
| CREATE SCHEMA IF NOT EXISTS `mydb` DEFAULT CHARACTER SET utf8 ; | |
| USE `mydb` ; | |
| CREATE TABLE IF NOT EXISTS `fabricante` ( | |
| `id_fabricante` INT NOT NULL AUTO_INCREMENT, | |
| `nome` VARCHAR(60) NULL, | |
| PRIMARY KEY (`id_fabricante`)); | |
| CREATE TABLE IF NOT EXISTS `modelo` ( | |
| `id_modelo` INT NOT NULL AUTO_INCREMENT, |
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
| # https://www.shellhacks.com/create-csr-openssl-without-prompt-non-interactive/ | |
| # create a CA to sign server certificate(server.crt), server certificate will be created in next steps. | |
| # generated_files: ca.crt ca.key | |
| openssl req -x509 -sha256 \ | |
| -nodes \ | |
| -newkey rsa:2048 \ | |
| -keyout ca.key \ | |
| -out ca.crt \ | |
| -subj "/C=BR/ST=Santa Catarina/L=Florianopolis/O=Certificate Authority/OU=Root" \ |
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
| #### Dependency: | |
| #### pip install pynput | |
| #### | |
| import time | |
| import _thread | |
| import datetime | |
| from pynput.keyboard import Key, Controller | |
| keyboard = Controller() |
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
| // https://github.com/otsoft/myaac | |
| // https://github.com/opentibiabr/canary | |
| // https://github.com/dudantas/tibia-client/releases/tag/12.91.12329 | |
| <?php | |
| $databaseURL = "172.18.0.1"; | |
| $databaseUser = "forgottenserver"; | |
| $databaseUserPassword = "noob"; | |
| $databaseName = "forgottenserver"; | |
| $mysqli = mysqli_connect($databaseURL,$databaseUser, $databaseUserPassword, $databaseName); |
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 | |
| # https://github.com/RafaelClaumann/some-kubernetes-study/blob/main/kind_cluster/cluster.sh | |
| # options: | |
| # no-options -> install clean cluster | |
| # -c / --cni -> install cilium cni | |
| # -m / --metrics -> install metrics server | |
| # -i / --ingress -> install nginx ingress controller | |
| # -p / --prometheus -> install kube prometheus stack | |
| # -pi / --prometheus-ingress -> install ingress-nginx, kube prometheus stack and service monitor on nginx |