Mix.install([
{:kino_promptbuddy, github: "fredguth/kino_promptbuddy"},
{:kino, "~>0.17.0"},
])
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 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
| gh auth login | |
| gh api -X PUT /notifications -H "X-GitHub-Api-Version: 2022-11-28" |
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 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
| # Author: Pedro Borges | |
| import heapq | |
| import sys | |
| def knapsack(val, wt, total_w): | |
| elements = transform_to_list_dict(val, wt) | |
| open_list = [] | |
| closed_list = [] | |
| # set to mark the nodes already seen | |
| generated_nodes = set() |
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
| É uma vergonha, mas o ICP-Brazilv5 foi lançado em 2016 e até hoje um Chrome ou Safari atualizado ainda não reconhece a cadeira de certficação brasileira. | |
| No site do ITI, há uma explicação para quem tem Windows. | |
| Para quem tem Mac, aqui a solução: | |
| 1) Baixar os certificados raiz do ICP Brasil em: http://acraiz.icpbrasil.gov.br/repositorio/v1_v2_v5_v8_v9_goochr.p7b | |
| 2) Após baixar, clique duplo para instalar. | |
| 3) No software Keys (Acesso às chaves), encontre os certificados de Autoridade Certificadora Raiz Brasileira e, em cada um deles, dê um clique duplo | |
| 4) abra a aba "Confiança" e altere "Ao usar este certificado" para "Confiar sempre" |
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
| ## login | |
| get address in terminal and open in browser | |
| ## source lists | |
| rm /etc/apt/sources.list.d/pve-enterprise.list | |
| root@pve:/etc/apt/sources.list.d# nano pve-no-subscription.list | |
| --------------------- | |
| deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription | |
| /etc/apt/sources.list |
NewerOlder