Skip to content

Instantly share code, notes, and snippets.

View aplauche's full-sized avatar

Anton Plauche-Capers aplauche

View GitHub Profile
@aplauche
aplauche / basic-menu.ino
Created October 9, 2025 13:41
Arduino Menus
#include <Wire.h>
#include "rgb_lcd.h"
rgb_lcd lcd;
// Button pins (adjust as needed)
const int BTN_UP = 2;
const int BTN_DOWN = 3;
const int BTN_LEFT = 4;
const int BTN_RIGHT = 5;
@aplauche
aplauche / style.css
Created November 18, 2024 21:42
Iframe CSS
#pnr-email-subscription-info {
display: none !important;
}
#pnr-email-intro-info {
display: none !important;
}
.field-container:nth-of-type(4), .field-container:nth-of-type(5){
display: none !important;
}
.btn btn--primary, button {
@aplauche
aplauche / theme.json
Last active June 23, 2024 16:21
Disable all in theme.json
{
"version": 2,
"settings": {
"appearanceTools": false,
"background": {
"backgroundImage": false,
"backgroundSize": false
},
"border": {
"color": false,
@aplauche
aplauche / example-wp-query.php
Created June 10, 2024 18:49
WP Query Starter
<?php
// WP_Query arguments
$args = array(
'post_type' => array('post'), // use any for any kind of post type, custom post type slug for custom post type
'post_status' => array('publish'), // Also support: pending, draft, auto-draft, future, private, inherit, trash, any
'posts_per_page' => '5', // use -1 for all post
'order' => 'DESC', // Also support: ASC
'orderby' => 'date', // Also support: none, rand, id, title, slug, modified, parent, menu_order, comment_count
'tax_query' => array(
'relation' => 'OR', // Use AND for taking result on both condition true