sudo swapoff -a
sudo apt update; sudo apt dist-upgrade -y; sudo apt autoremove -y; sudo flatpak update -y
sudo apt install kubelet kubeadm kubectl docker-ce containerd.io cri-tools kubernetes-cni
cp ~/Downloads/cri-dockerd_0.3.4.3-0.ubuntu-jammy_amd64.deb /tmp/
sudo apt install /tmp/cri-dockerd_0.3.4.3-0.ubuntu-jammy_amd64.deb
# sudo apt-mark hold kubelet kubeadm kubectl
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 <Arduino.h> | |
#include <U8g2lib.h> | |
#include <Wire.h> | |
// This line will initialize the OLED display properly | |
U8G2_SSD1306_128X64_NONAME_F_SW_I2C u8g2(U8G2_R0, /* clock=*/ 12, /* data=*/ 14, /* reset=*/ U8X8_PIN_NONE); | |
#define U8LOG_WIDTH 14 // Width of ulog object | |
#define U8LOG_HEIGHT 4 // Height of ulog object |
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
@brlaw{LGPD2018, | |
author = {BRASIL}, | |
title = {Lei nº 13.709, de 18 de agosto de 2018}, | |
year = {2018}, | |
subtitle = {Lei Geral de Proteção de Dados Pessoais}, | |
publisher = {Diário Oficial da União}, | |
address = {Brasília, DF}, | |
url = {http://www.planalto.gov.br/ccivil_03/_ato2015-2018/2018/lei/L13709.htm}, | |
addendum = {Acesso em: 14/06/2023.} | |
} |
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
for n in {001..999}; do dd if=/dev/zero of=test_image_$n bs=1M count=1000 status=progress; done |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/bin/bash | |
# Define the hostname to something very cool | |
hostnamectl set-hostname "linuxdragon" | |
# Improve the default DNF config for a blazing fast one | |
cat > /etc/dnf/dnf.conf <<EOF | |
[main] | |
gpgcheck=1 | |
installonly_limit=3 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
def encrypt(message: str, key: str) -> str: | |
cipher = [] | |
for m, k in zip(message, key): | |
cipher += [hex(ord(m) ^ ord(k))] | |
return " ".join(cipher) | |
def decrypt(cipher: str, key: str) -> str: | |
message = "" | |
cipher = cipher.split(" ") | |
for c, k in zip(cipher, key): |
NewerOlder