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 BTT crash Move mouse to position
Process: BetterTouchTool [64149]
Path: /Applications/BetterTouchTool.app/Contents/MacOS/BetterTouchTool
Identifier: com.hegenberg.BetterTouchTool
Version: 3.219 (1396)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: BetterTouchTool [64149]
User ID: 501
Date/Time: 2020-01-24 13:23:25.268 +0100
@mvaneijgen
mvaneijgen / browser.txt
Created Jan 22, 2020 — forked from pankajparashar-zz/browser.txt
One line browser notepad
View browser.txt
Version 1
---------
data:text/html, <html contenteditable>
Version 2
---------
data:text/html, <html><head><link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'><style type="text/css"> html { font-family: "Open Sans" } * { -webkit-transition: all linear 1s; }</style><script>window.onload=function(){var e=false;var t=0;setInterval(function(){if(!e){t=Math.round(Math.max(0,t-Math.max(t/3,1)))}var n=(255-t*2).toString(16);document.body.style.backgroundColor="#ff"+n+""+n},1e3);var n=null;document.onkeydown=function(){t=Math.min(128,t+2);e=true;clearTimeout(n);n=setTimeout(function(){e=false},1500)}}</script></head><body contenteditable style="font-size:2rem;line-height:1.4;max-width:60rem;margin:0 auto;padding:4rem;">
Version 3
---------
View .zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/mitchelvaneijgen/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="cobalt2"
View btt crash mouse position
Process: BetterTouchTool [2804]
Path: /Applications/BetterTouchTool.app/Contents/MacOS/BetterTouchTool
Identifier: com.hegenberg.BetterTouchTool
Version: 3.219 (1396)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: BetterTouchTool [2804]
User ID: 501
Date/Time: 2020-01-13 09:02:46.686 +0100
View Problem report for Rocket League
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
View functions.php
<?php
//------------------------------------------------------//
// Add pagination to topics
//------------------------------------------------------//
function wpup_bbp_list_replies($args)
{
// Reset the reply depth
bbpress()->reply_query->reply_depth = 0;
View content.php
<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); ?>" />
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);
You can’t perform that action at this time.