Content :
With the release of Raspberry Pi OS Bookworm, networking on the Raspberry Pi was changed to use NetworkManager as the standard controller for networking, replacing the previous dhcpcd system. NetworkManager includes a command line tool called "nmcli," which can control NetworkManager and report on the network status.
Display the list of network interfaces:
sudo nmcli -p connection show
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
| # nginx configuration snippet for running Uptime Kuma on a URL prefix | |
| # set up for yourdomain.com/kuma, with traffic forwarded to a docker | |
| # container with the hostname 'uptime-kuma' | |
| # Use docker's DNS | |
| resolver 127.0.0.11; | |
| # uptime kuma | |
| location /uptime { |
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
| VERSION = \"1.0.0\" | |
| PREFIX ?= out | |
| INCDIR = include | |
| SRCDIR = src | |
| LANG = c | |
| OBJDIR = .obj | |
| MODULE ?= binary_name | |
| CC ?= gcc |
TODO: Separar talvez em 3 partes: 1) entre configuração mínima; 2) complementos que ajudam ; e 3) debug
https://github.com/rbenv/rbenv
$ sudo apt-get install git-core zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev nodejs yarn libpq-dev
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
| import os | |
| import sys | |
| import PTN | |
| import requests | |
| from dotenv import load_dotenv | |
| from sanitize_filename import sanitize | |
| load_dotenv() |
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
| AWSTemplateFormatVersion: 2010-09-09 | |
| Resources: | |
| OrdersTable: | |
| Type: "AWS::DynamoDB::Table" | |
| Properties: | |
| TableName: AuthorsTable | |
| AttributeDefinitions: | |
| - AttributeName: AuthorName | |
| AttributeType: S | |
| - AttributeName: BookTitle |
Acesse todos os códigos em: https://github.com/turicas/eleicoes-brasil/tree/master/apuracao
Caso queira os JSONs históricos, baixe o arquivo data.zip desse gist.
Installation Docs:
# Download
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"