Skip to content

Instantly share code, notes, and snippets.

View Trisky's full-sized avatar
🧉
Drinking

Sebastián Styrsky Trisky

🧉
Drinking
View GitHub Profile
@Trisky
Trisky / wp-sentry-integration.php
Created March 26, 2021 08:20
Wordpress Sentry performance integration mu-plugin
<?php
/**
* This is a modified mu-plugin for wp-sentry that enables Sentry Performance albeit it doesn't show the stacktrace
* Plugin Name: WordPress Sentry
* Plugin URI: https://github.com/stayallive/wp-sentry
* Description: A (unofficial) WordPress plugin to report PHP and JavaScript errors to Sentry.
* Version: must-use-proxy
* License: MIT
*/
@Trisky
Trisky / how-to-multi-arch-docker-image.md
Last active May 4, 2022 16:13
How to create multi arch docker image

How to create multi arch docker image

1 - Build your image for each architecture.

Option 1:

Use buildx.

Option 2:

Build the image in the actual hardware (for example a raspberry pi) and push it from there.