This file contains 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
<?php | |
$curl = curl_init(); | |
curl_setopt_array($curl, array( | |
CURLOPT_URL => 'https://api.diogenesjunior.com.br/ia/gpt4-avaliar-imagem/', | |
CURLOPT_RETURNTRANSFER => true, | |
CURLOPT_ENCODING => '', | |
CURLOPT_MAXREDIRS => 10, | |
CURLOPT_TIMEOUT => 0, |
This file contains 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
<?php | |
$curl = curl_init(); | |
curl_setopt_array($curl, array( | |
CURLOPT_URL => 'https://api.diogenesjunior.com.br/ia/gpt4-agents-mini', | |
CURLOPT_RETURNTRANSFER => true, | |
CURLOPT_ENCODING => '', | |
CURLOPT_MAXREDIRS => 10, | |
CURLOPT_TIMEOUT => 0, |
This file contains 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
<?php | |
$curl = curl_init(); | |
curl_setopt_array($curl, array( | |
CURLOPT_URL => 'https://diogenesjunior.com.br/api/ia/gpt4/', | |
CURLOPT_RETURNTRANSFER => true, | |
CURLOPT_ENCODING => '', | |
CURLOPT_MAXREDIRS => 10, | |
CURLOPT_TIMEOUT => 0, |
This file contains 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
<?php | |
// Adiciona a coluna "Vendedor" na listagem de pedidos do WooCommerce | |
add_filter('manage_edit-shop_order_columns', 'adicionar_coluna_vendedor_pedidos'); | |
function adicionar_coluna_vendedor_pedidos($columns) { | |
$columns['vendedor'] = 'Vendedor'; | |
return $columns; | |
} | |
// Exibe o nome do vendedor salvo no meta_dado 'ident_vendedor' |
This file contains 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
enviarAjaxHarmonics('harmonics_diocomp', 'rede_social_apagar', { id_postagem: idPostagem }, 'confirmacao', function(response) { | |
console.log("RETORNO HARMONICS"); | |
console.log(response); | |
abrirFecharHarmonics(); | |
var sucesso = $.confirm({ | |
title: 'Deu certo!', | |
type: 'green', |
This file contains 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
<?php | |
add_action('harmonics_pipe', function($identificador, $dados) { | |
if ($identificador === 'fluxo3') { | |
echo '<div>Este é o conteúdo do Fluxo 3 carregado via do_action e você está vendo isso, funcionou</div>'; | |
} | |
}, 10, 2); | |
?> |
This file contains 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
<?php | |
add_action( 'rest_api_init', 'custom_routes_webhook_0277'); | |
function custom_routes_webhook_0277(){ | |
//(exemplo: /wp-json/exemplo/notificacoes) | |
register_rest_route( | |
'exemplo', '/notificacoes/', array( | |
'methods' => 'POST', |
This file has been truncated, but you can view the full file.
This file contains 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
Running with gitlab-runner 14.10.1 (f761588f) | |
on Ionic Package Android Runner 8edcfcad | |
Preparing the "kubernetes" executor | |
Using Kubernetes namespace: ionic-runners | |
Using Kubernetes executor with image 319312831725.dkr.ecr.us-west-2.amazonaws.com/appflow-runners/linux:2023.10 ... | |
Using attach strategy to execute scripts... | |
Preparing environment | |
Waiting for pod ionic-runners/runner-8edcfcad-project-0-concurrent-15qlm2 to be running, status is Pending | |
Running on runner-8edcfcad-project-0-concurrent-15qlm2 via gitlab-runner-5cd9bd7bf6-z82g8... |
This file has been truncated, but you can view the full file.
This file contains 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
Running with gitlab-runner 14.10.1 (f761588f) | |
on Ionic Package Android Runner 8edcfcad | |
Preparing the "kubernetes" executor | |
Using Kubernetes namespace: ionic-runners | |
Using Kubernetes executor with image 319312831725.dkr.ecr.us-west-2.amazonaws.com/appflow-runners/linux:2023.10 ... | |
Using attach strategy to execute scripts... | |
Preparing environment | |
Waiting for pod ionic-runners/runner-8edcfcad-project-0-concurrent-8jt24t to be running, status is Pending | |
Running on runner-8edcfcad-project-0-concurrent-8jt24t via gitlab-runner-5cd9bd7bf6-z82g8... |
This file contains 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
<script> | |
const homeUrl = "<?php echo get_option('home'); ?>"; | |
</script> |
NewerOlder