Skip to content

Instantly share code, notes, and snippets.

View mvaneijgen's full-sized avatar

Mitchel van Eijgen mvaneijgen

View GitHub Profile
Process: TAGame [88030]
Path: /Users/USER/Library/Application Support/Steam/*/RocketLeague.app/Contents/MacOS/TAGame
Identifier: com.Psyonix.rleague
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: steam_osx [26513]
Responsible: steam_osx [26513]
User ID: 501
Date/Time: 2020-01-09 17:14:30.932 +0100
@mvaneijgen
mvaneijgen / functions.php
Last active September 20, 2022 05:29
Fixing bbPress 2.6 threaded (nested) replies & paging (original code [wpup.co](https://wpup.co/bbpress-threaded-nested-replies-with-paging/)) (see [bbpress forum for discusion](https://bbpress.org/forums/topic/what-is-the-status-of-threaded-nested-replies-and-pagination/#post-207457))
<?php
//------------------------------------------------------//
// Add pagination to topics
//------------------------------------------------------//
function wpup_bbp_list_replies($args)
{
// Reset the reply depth
bbpress()->reply_query->reply_depth = 0;
<div <?php post_class('col-lg-4 col-md-6 alloy-item-berichten'); ?>>
<div class="alloy-cards">
<div class="inner">
<?php if (has_post_thumbnail()) : ?>
<a href="<?php the_permalink(); ?>">
<div class="alloy-image">
<?php $imgID = get_post_thumbnail_id($post->ID); ?>
<img src="<?= wp_get_attachment_image_src($imgID, 'alloy_img_1400', false, '')[0] ?>" class="alloy-image" sizes="(min-width: 768px) 350px, 100vw" srcset="
<?= wp_get_attachment_image_src($imgID, 'alloy_img_300', false, '')[0] ?> 300w,
<?= wp_get_attachment_image_src($imgID, 'alloy_img_600', false, '')[0] ?> 600w" alt="<?= get_post_meta($imgID, '_wp_attachment_image_alt', true); ?>" />
<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)
/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){
<?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);
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.
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)
# 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
{
"key": "group_58f9b55cdbf02",
"title": "Flex",
"fields": [
{
"key": "field_58f9b56154b9a",
"label": "Content-blocks",
"name": "content-blocks",
"type": "flexible_content",
"instructions": "",