Skip to content

Instantly share code, notes, and snippets.

View hhslepicka's full-sized avatar

Hugo Slepicka hhslepicka

View GitHub Profile
@hhslepicka
hhslepicka / instructions.md
Last active December 27, 2023 12:48
BotCity - From Bot to EXE

Generating a Binary from a Bot Template

This short tutorial will demonstrate how to create an EXE file from a bot starting from the template.

Requirements

This short tutorial assumes that you already have the following dependencies installed. Note: it is recommended that you use a virtual environment.

  • Python 3.7 or greater
  • Git
@hhslepicka
hhslepicka / comprovante.py
Created December 17, 2021 01:00
Comprovante Compra - Alinhado
# crie um produto e preço para três itens
produto1_nome, produto1_valor = "Livro", 50.95
produto2_nome, produto2_valor = "Computador", 598.99
produto3_nome, produto3_valor = "Monitor", 156.89
# Agora vamos guardar o nome e endereço de uma empresa que é muito importante mostrar no topo de um recibo
nome_empresa = 'O programador inteligente, inc.'
endereço_empresa = 'Av.Presidente Vargas 144'
cidade_empresa = 'Rio de Janeiro'
@hhslepicka
hhslepicka / free_proxy_list.py
Last active November 17, 2021 05:43
Fetch info from free-proxy-list
import os
import itertools
from botcity.plugins.crawler import BotCrawlerPlugin
url = "https://free-proxy-list.net/"
# Execute request and return HTML object
html = BotCrawlerPlugin().request(url)
# Generator for all rows in table body
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.