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
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "net/http" | |
| "os" | |
| "github.com/gorilla/mux" | |
| ) |
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://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 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
| 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 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
| 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 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
| 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 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
| 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 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
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "log" | |
| "time" | |
| amqp "github.com/rabbitmq/amqp091-go" | |
| ) |
NewerOlder