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
@mvaneijgen
mvaneijgen / serverlog
Created Mar 3, 2014
spigotmc server crash
View serverlog
[16:55:49 INFO]: NLbrain: Set own game mode to CREATIVE mode
[16:57:43 ERROR]: The server has stopped responding!
[16:57:43 ERROR]: Please report this to http://www.spigotmc.org/
[16:57:43 ERROR]: Be sure to include ALL relevant console errors and Minecraft crash reports
[16:57:43 ERROR]: Spigot version: git-Spigot-1325 (MC: 1.7.2)
[16:57:43 ERROR]: ------------------------------
[16:57:43 ERROR]: Server thread dump (Look for plugins here before reporting to Spigot!):
[16:57:43 ERROR]: ------------------------------
[16:57:43 ERROR]: Current Thread: Server thread
[16:57:43 ERROR]: PID: 13 | Suspended: false | Native: false | State: RUNNABLE
@mvaneijgen
mvaneijgen / skype-mode
Created Jul 31, 2014
Set foreground application as skype mood
View skype-mode
-- Global variables
global old_mood
global changed
global current_app
global last_current_app
-- Polling interval
property polling_interval : 10
View colors
# Make ls use colors
export CLICOLOR=1
alias ls='ls -Fa'
# define colors
C_DEFAULT="\[\033[m\]"
C_WHITE="\[\033[1m\]"
C_BLACK="\[\033[30m\]"
C_RED="\[\033[31m\]"
C_GREEN="\[\033[32m\]"
View Contract Killer 3.md

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

@mvaneijgen
mvaneijgen / agenda.twig
Last active Aug 29, 2015
Timely’s All-in-One Event Calendar agenda template file
View agenda.twig
{{ navigation | raw }}
<div class="ai1ec-agenda-view">
{% if dates is empty %}
<p class="ai1ec-no-results">
{{ text_upcoming_events }}
</p>
{% else %}
{% for date, date_info in dates %}
<div class="ai1ec-date
View bp-usernames-only.php
<?php
/**
* BP Usernames Only Core
*
* @package BP-Usernames-Only
* @subpackage Core
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;
View Contract Killer 3.md

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

@mvaneijgen
mvaneijgen / Contract Killer 3.md
Last active Aug 29, 2015 — forked from malarkey/Contract Killer 3.md
Dutch version (Nederlandse versie)
View Contract Killer 3.md

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 02/03/2015
  • Revised date: 02/03/2015
  • Original post

@mvaneijgen
mvaneijgen / Scale resolution.scpt
Last active Sep 18, 2019
Change screen resolution AppleScript
View Scale resolution.scpt
local index1, index2
set index1 to 3 -- 1920 x 1200
set index2 to 4 -- 1280 x 800
-- Launch "System Preferences", open the "Displays" options and change to the "Display" tab
tell application "System Preferences"
activate
set the current pane to pane id "com.apple.preference.displays"
reveal anchor "displaysDisplayTab" of pane id "com.apple.preference.displays"
@mvaneijgen
mvaneijgen / Screencast Setup.scpt
Created Mar 9, 2015
Change screen resolution using Applescript works on 10.10 non-rentia macbook
View Screencast Setup.scpt
-- Launch "System Preferences", open the "Displays" options and change to the "Display" tab
tell application "System Preferences"
activate
set the current pane to pane id "com.apple.preference.displays"
reveal anchor "displaysDisplayTab" of pane id "com.apple.preference.displays"
end tell
local indexToUse
-- Now lets make the necessary changes
You can’t perform that action at this time.