Skip to content

Instantly share code, notes, and snippets.

View brunoalbim's full-sized avatar
🚀

Bruno Devx brunoalbim

🚀
View GitHub Profile
@brunoalbim
brunoalbim / graphik.md
Created March 20, 2019 12:31 — forked from mfd/ graphik.md
Graphik LCG font
https://cdn.rawgit.com/mfd/e7842774e037edf15919037594a79b2b/raw/665bdfc532094318449f1010323c84013d5af953/graphik.css

<link rel="stylesheet prefetch" href="https://cdn.rawgit.com/mfd/e7842774e037edf15919037594a79b2b/raw/665bdfc532094318449f1010323c84013d5af953/graphik.css">

@brunoalbim
brunoalbim / options-values-in-code.php
Created September 28, 2023 01:37 — forked from MjHead/options-values-in-code.php
Get option values for JetEngine options pages inside the PHP code
<?php
/**
* Method 1
* Can be used for: Any storage type
*
* page-slug - replace this with your Option Page slug
* option-name - replace this with your option Name/ID
*/
$value = jet_engine()->listings->data->get_option( 'page-slug::option-name' );
@brunoalbim
brunoalbim / instalacao-portainer-docker-ssh.md
Last active July 10, 2025 13:33
Instalando Portainer Localmente no Docker

Instalando Portainer Localmente no Docker

Para instalar o Portainer localmente via Docker e usá-lo para gerenciar containers, volumes, redes e stacks no seu computador seja via Linha de comando (CLI) ou Interface (GUI), segue comandos abaixo para rodar no seu terminal:

Criando o volume:

docker volume create portainer_data
@brunoalbim
brunoalbim / docker-build.sh
Last active September 4, 2025 16:54
Como construir, salvar e transferir uma imagem Docker para sua VPS
# VARIAVEIS DO SCRIPT
IMAGE_NAME="chatbot-agent"
IMAGE_TAG="latest"
USERNAME="brunoalbim"
IP="IP"
# [1] BUILD DA IMAGEM DO DOCKER