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
#!/bin/bash | |
#update: 2024-01-10 | |
# Adicionar o repositório Flathub se ainda não estiver adicionado | |
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo | |
# Lista de aplicativos a serem instalados | |
apps_to_install=( | |
"com.visualstudio.code" |
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
#!/bin/bash | |
# Função para verificar se o pacote está instalado | |
is_package_installed() { | |
rpm -q "$1" &> /dev/null | |
} | |
# Função para exibir mensagem de sucesso | |
success_message() { | |
echo -e "\e[32m✔ $1 instalado com sucesso.\e[0m" |
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 pandas as pd | |
import requests | |
import time | |
from requests.auth import HTTPBasicAuth | |
def update_post_meta(post_id, meta_key, meta_value, wp_user, wp_password, wp_url): | |
url = f"{wp_url}/wp-json/ra/v1/update-meta" | |
data = { |
OlderNewer