Skip to content

Instantly share code, notes, and snippets.

Aqui está a tradução do guia para português:


Passo 1: Criar o Subdomínio

  1. Via Painel de Controle do Hosting (ex: cPanel):
    • Acesse o painel do seu provedor de hospedagem.
    • Navegue até Subdomínios e crie um subdomínio (ex: en.domain.com).
    • Direcione o subdomínio para o diretório principal do WordPress (ex: public_html).
      (Isso supõe que você deseja usar a mesma instalação do WordPress. Para instalações separadas, crie um novo diretório.)
@ismarsantos
ismarsantos / ue_action.yaml
Last active February 17, 2025 21:20
UE Action JSON Format
openapi: 3.0.0
info:
title: Unreal Engine API
version: 1.0.0
paths:
/command:
post:
summary: Envia comando para UE
requestBody:
required: true
@ismarsantos
ismarsantos / ubuntu.txt
Created February 4, 2025 14:04
Ubuntu Restart Desktop Gnome
sudo systemctl restart display-manager
sudo systemctl restart gdm
@ismarsantos
ismarsantos / SyncFolders.ps1
Created April 6, 2024 02:45 — forked from lafleurh/SyncFolders.ps1
PowerShell script to do a two-way sync of Windows folders
Param (
[string]$LeftFolder,
[string]$RightFolder
)
function CreateFolderStructure([string]$Path)
{
if (-not [string]::IsNullOrWhiteSpace($Path))
{
if (-not (Test-Path $Path))
@echo off
pushd "%~dp0"
rem Command generated using the editor's project launcher. See https://docs.unrealengine.com/en-US/SharingAndReleasing/Deployment/ProjectLauncher
rem For arguments documentation see https://github.com/botman99/ue4-unreal-automation-tool.
rem Use `-nocompileeditor` for forcing the editor not to compile.
.\Engine\Build\BatchFiles\RunUAT.bat BuildCookRun -project=%~dp0<project_name>\<project_name>.uproject -nop4 -clientconfig=Development -serverconfig=Development -unrealexe=%~dp0Engine\Binaries\Win64\UnrealEditor-Cmd.exe -utf8output -platform=Win64 -targetplatform=Win64 -build -cook -map=Splash.umap+Map.umap+Forest.umap -cookdir=%~dp0\<project_name>\Content\Stage\Prints\Abilities+%~dp0\<project_name>\Content\Stage\Animations -skipcookingeditorcontent -unversionedcookedcontent -pak -distribution -compressed -stage -package -stagingdirectory="%~dp0Dist"
popd
@ismarsantos
ismarsantos / docker-compose.yaml
Created March 23, 2024 03:05 — forked from BlueHippoGithub/docker-compose.yaml
Remember to change the volumes for your own desired path
version: '3.3'
networks:
caddy:
services:
portainer:
image: portainer/portainer-ce:latest
container_name: portainer
restart: unless-stopped
security_opt:
- no-new-privileges:true
@ismarsantos
ismarsantos / gist:2cb5b147954fe3e1f4fa8a7517c8f418
Last active July 11, 2024 21:11
GRUB Linux Boot in lower resolution
vga=0x314
vga=784 nomodeset modeset=0 nouveau.modeset=0 modprobe.blacklist=nouveau,nvidia
vga=784 nomodeset modprobe.blacklist=nouveau,nvidia
GRUB VGA Modes
https://wiki.bqti.com.br/linux/grub-vga-modes/
@ismarsantos
ismarsantos / description.sh
Created February 8, 2024 08:09 — forked from sebyx07/description.sh
hatchbox restore postgres db
# cd into the backup
tar -xvf DATABASE.tar
cd DATABASE/databases
gunzip -k PostgreSQL.sql.gz
psql DATABASE_URL < Postgresql.sql
@ismarsantos
ismarsantos / 9534-64-Core.txt
Created December 8, 2023 00:58
KVM QEMU CPU Pin AMD EPYC 9534 64-Core Processor
CPU NODE SOCKET CORE L1d:L1i:L2:L3 ONLINE MAXMHZ MINMHZ MHZ
0 0 0 0 0:0:0:0
64 0 0 0 0:0:0:0
1 0 0 1 1:1:1:0
65 0 0 1 1:1:1:0
2 0 0 2 2:2:2:0
66 0 0 2 2:2:2:0
@ismarsantos
ismarsantos / archlinux-qemu-kvm.md
Created December 7, 2023 05:29 — forked from tatumroaquin/archlinux-qemu-kvm.md
QEMU-KVM Installation for Arch Linux

Arch Linux QEMU-KVM

install all necessary packages

sudo pacman -S virt-manager virt-viewer qemu qemu-arch-extra \
edk2-ovmf vde2 ebtables dnsmasq bridge-utils openbsd-netcat libguestfs

enable libvirt daemon