python3 altera_xml.py arquivo.xml
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 ( | |
"context" | |
"fmt" | |
"log" | |
"time" | |
"github.com/vingarcia/ksql" | |
"github.com/vingarcia/ksql/adapters/kmysql" |
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
https://archive.raspberrypi.org/debian/pool/main/c/chromium-browser/ | |
https://www.blackmoreops.com/2021/09/16/add-raspberry-pi-repository-in-ubuntu/#google_vignette |
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
from dataclasses import dataclass | |
from threading import Thread, Lock | |
from tkinter import * | |
from tkinter import messagebox | |
from time import sleep | |
from typing import Any | |
STATE = "state" | |
ENABLED = "normal" | |
DISABLED = "disabled" |
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
from threading import Thread | |
from tkinter import * | |
from time import sleep | |
cont=0 | |
def clicou(): | |
global cont | |
while True: | |
cont+=1 | |
conta_label.config(text=f"contando: {cont}") |
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
from tkinter import * | |
from time import sleep | |
cont=0 | |
def clicou(): | |
global cont | |
while True: | |
cont+=1 | |
conta_label.config(text=f"contando: {cont}") | |
print(cont) |
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
panic: runtime error: invalid memory address or nil pointer dereference [recovered] | |
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x615c5e] | |
goroutine 38 [running]: | |
go/types.(*Checker).handleBailout(0xc00043c000, 0xc0002cdbd0) | |
/usr/local/go/src/go/types/check.go:367 +0x88 | |
panic({0xa9d000?, 0xfa2cb0?}) | |
/usr/local/go/src/runtime/panic.go:770 +0x132 | |
go/types.(*StdSizes).Sizeof(0x0, {0xc17ab8, 0xfa99a0}) |
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
FROM debian:12-slim as builder | |
RUN apt update && apt install -y --no-install-recommends \ | |
ca-certificates \ | |
git \ | |
wget \ | |
tar \ | |
gcc \ | |
g++ \ | |
make \ |
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 ( | |
"context" | |
"fmt" | |
"log" | |
"time" | |
amqp "github.com/rabbitmq/amqp091-go" | |
) |
NewerOlder