Skip to content

Instantly share code, notes, and snippets.

Mitchel van Eijgen mvaneijgen

Block or report user

Report or block mvaneijgen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View group_58f9b55cdbf02.json
{
"key": "group_58f9b55cdbf02",
"title": "Flex",
"fields": [
{
"key": "field_58f9b56154b9a",
"label": "Content-blocks",
"name": "content-blocks",
"type": "flexible_content",
"instructions": "",
View console.log
[Fine Uploader 5.15.0] Received 1 files.
util.js:236 [Fine Uploader 5.15.0] Attempting to validate image.
util.js:236 [Fine Uploader 5.15.0] Sending simple upload request for 0
util.js:236 [Fine Uploader 5.15.0] Submitting S3 signature request for 0
util.js:236 [Fine Uploader 5.15.0] Sending POST request for 0
ajax.requester.js:219 POST https://domain.local/wp-content/plugins/alloy-s3-direct-upload/admin/s3-uploader/endpoint.php?v4=true 403
l @ ajax.requester.js:219
g @ ajax.requester.js:339
send @ ajax.requester.js:395
getSignature @ request-signer.js:535
View functions.php
<?php
function add_the_table_button( $buttons ) {
array_push( $buttons, 'separator', 'table' );
return $buttons;
}
add_filter( 'mce_buttons', 'add_the_table_button' );
function add_the_table_plugin( $plugins ) {
$plugins['table'] = get_stylesheet_directory_uri() . '/tinymceplugins/table/plugin.min.js';
View gist:3abd42de77542ffa60fcc98c8d1038c0
*** Attempting to flash, please don't remove device
>>> avrdude -p atmega32u4 -c avr109 -U flash:w:/Users/user/Documents/qmk_firmware/.build/mvaneijgen_small_40_default.hex:i -P /dev/cu.MitchelsiPad-WirelessiAP -C avrdude.conf
avrdude: warning at avrdude.conf:14976: part atmega32u4 overwrites previous definition avrdude.conf:11487.
Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
*** Caterina device disconnected
*** Caterina device connected
Found port: /dev/cu.usbmodem146401
*** Caterina device disconnected
View start.gcode
; Ender 3 Custom Start G-code
G28 ; Home all axes
G92 E0 ; Reset Extruder
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position
G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line
G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little
G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line
G92 E0 ; Reset Extruder
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
View faseTwo.vue
<template>
<svg id="faseTwo" width="100%" height="100%" viewBox="0 0 650 700" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g id="prev">
<g id="basePrev">
<path d="M330.004,396.139L108.542,524L325.241,649.111L546.703,521.25L330.004,396.139Z" style="fill:#1d2e55;" />
<path d="M325.626,393.333L103.923,521.333L117.779,529.333L325.626,409.333L325.626,393.333Z" style="fill:#1c2b4d;" />
<path d="M546.703,521.25L325.626,393.333L325.626,409.25L533.089,529.112L546.703,521.25Z" style="fill:#36558d;" />
</g>
<g id="gridPrev">
<path d="M136.255,518.667L133.945,520L341.41,639.78L343.72,638.447L136.255,518.667Z" style="fill:#19233b;" />
View pageByUri.gql
query GET_PAGE_BY_URI($uri: String) {
pageBy(uri: $uri) {
pageId
title
content
uri
acfFlex {
flex {
__typename
... on Page_Acfflex_Flex_CallToAction {
View apollo-vue.log
ERROR WARNING: heuristic fragment matching going on! 10:12:50
WARN Missing field content in { 10:12:50
"__typename": "Page_Acfflex_Flex_Diensten"
}
WARN Missing field fieldGroupName in { 10:12:50
"__typename": "Page_Acfflex_Flex_Diensten"
View pageByUri.gql
query GET_PAGE_BY_URI($uri: String) {
pageBy(uri: $uri) {
pageId
title
content
uri
acfFlex {
flex {
... on Page_Acfflex_Flex_CallToAction {
content
View graphql.php
<?php
add_filter( 'graphql_PostObjectsConnectionOrderbyEnum_values', function( $values ) {
$values['FEATURED'] = [
'value' => 'featured',
'description' => __( 'Get only featured items', 'wp-graphql' ),
];
return $values;
You can’t perform that action at this time.