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 prefillembedcodepen.html
<div class="codepen" data-height="477" data-theme-id="dark" data-default-tab="result" data-user="mvaneijgen" data-slug-hash="LYEVQXp" data-prefill='{"title":"Key Combo Generator | QMK","description":"Each time I want to create a key combo in QMK, I get lost on how to build them exactly. The docs are fine, but I thought it could be simpler, so I&apos;ve build a simple web app that spits out the code you need based on your input.","tags":["vue","qmk"],"stylesheets":["https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/styles/tomorrow-night-blue.min.css"],"scripts":["https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.min.js","https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/highlight.min.js"]}'>
<pre data-lang="html"><div id="app">
<h1>Key Combo Generator | QMK</h1>
<p>Looking for key codes? <a href="https://beta.docs.qmk.fm/features/keycodes_basic" target="_blank">Check the Basic
Keycodes docs</a></p>
<div class="alloy-user-input">
<div class="row" v-for="(item, index)
View vscode.log
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3458 Extension host terminated unexpectedly. Code: 7 Signal: null
_onExtensionHostCrashed @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3458
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2596 Extension host terminated unexpectedly.
onDidNotificationChange @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2596
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3695 Extension Host
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3695 /Users/mitchelvaneijgen/.vscode/extensions/ritwickdey.live-sass-3.0.0/node_modules/sasslib/sass.sync.js:61var Module=typeof Module!=="undefined"?Module:{};var moduleOverrides={};var key;for(key in Module){
View bbpress custom roles.php
<?php
// enqueue the child theme stylesheet
Function wp_schools_enqueue_scripts() {
wp_register_style( 'childstyle', get_stylesheet_directory_uri() . '/style.css' );
wp_enqueue_style( 'childstyle' );
}
add_action( 'wp_enqueue_scripts', 'wp_schools_enqueue_scripts', 11);
View macOS 10.15 voices
Agnes en_US # Isn't it nice to have a computer that will talk to you?
Albert en_US # I have a frog in my throat. No, I mean a real frog!
Alex en_US # Most people recognize me by my voice.
Alice it_IT # Salve, mi chiamo Alice e sono una voce italiana.
Alva sv_SE # Hej, jag heter Alva. Jag är en svensk röst.
Amelie fr_CA # Bonjour, je m’appelle Amelie. Je suis une voix canadienne.
Anna de_DE # Hallo, ich heiße Anna und ich bin eine deutsche Stimme.
Bad News en_US # The light you see at the end of the tunnel is the headlamp of a fast approaching train.
Bahh en_US # Do not pull the wool over my eyes.
Bells en_US # Time flies when you are having fun.
View Alfred.Workflow.Todoist.log
Starting debug for 'Alfred Workflow Todoist'
[2019-10-28 09:05:29][ERROR: input.scriptfilter] Code 1: internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'worker_threads'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
View todoist.coffee
# Config Variables
# To get your API access token
# - go to https://developer.todoist.com/appconsole.html
# - Click create new app
# - Fill out the infromation and click create app
# - On the page you get redirected to scroll down a bit and click 'Create test token'
# - This is the token you need to set down here
token = '123abc'
# To get your project ID run the following command
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
You can’t perform that action at this time.