Once you have set up your prompt sections and custom segment in your zshrc, you then need to set Powerlevel9k to use Nerd Fonts and load the theme’s script.
POWERLEVEL9K_MODE='nerdfont-complete'
source ~/powerlevel9k/powerlevel9k.zsh-theme
| import ftplib | |
| import csv | |
| import pandas as pd | |
| from credentials import ( | |
| HOST, | |
| USER, | |
| PASSWORD, | |
| ROUTE | |
| ) |
| import ftplib | |
| try: | |
| from credentials import USER, PASSWORD, HOST, ROUTE | |
| except ModuleNotFoundError: | |
| USER = 'xxx' | |
| PASSWORD = 'xxx' | |
| HOST = '207.38.86.xx' | |
| ROUTE = 'temporal' |
| import ftplib | |
| import time | |
| USER = 'xxx' | |
| PASSWORD = 'xxx' | |
| HOST = '207.38.86.xx' | |
| ROUTE = 'temporal' | |
| def ftp_connect(HOST, USER, PASSWORD, ROUTE): |
| <!DOCTYPE html> | |
| <html lang="es"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Lo sentimos, esta página no se encuentra disponible</title> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap" rel="stylesheet"> | |
| </head> | |
| <style> |
| { | |
| "id": "64c1c7fdeff5f9367ba206f7", | |
| "nodeId": "ari:cloud:trello::board/workspace/60c9a5d184f9ce7f7be5fe1b/64c1c7fdeff5f9367ba206f7", | |
| "name": "Tesis", | |
| "desc": "", | |
| "descData": null, | |
| "closed": false, | |
| "dateClosed": null, | |
| "idOrganization": "60c9a5d184f9ce7f7be5fe1b", | |
| "idEnterprise": null, |
| import requests | |
| import sqlite3 | |
| from bs4 import BeautifulSoup | |
| from requests_toolbelt.multipart.encoder import MultipartEncoder | |
| CONN = sqlite3.connect('personas.db') | |
| c = CONN.cursor() | |
| c.execute(''' | |
| CREATE TABLE IF NOT EXISTS personas ( | |
| id INTEGER PRIMARY KEY AUTOINCREMENT, |