Skip to content

Instantly share code, notes, and snippets.

View mvaneijgen's full-sized avatar

Mitchel van Eijgen mvaneijgen

View GitHub Profile
@mvaneijgen
mvaneijgen / serverlog
Created March 3, 2014 16:59
spigotmc server crash
[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 July 31, 2014 10:07
Set foreground application as skype mood
-- Global variables
global old_mood
global changed
global current_app
global last_current_app
-- Polling interval
property polling_interval : 10
@mvaneijgen
mvaneijgen / colors
Last active August 29, 2015 14:07 — forked from twerth/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\]"

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 August 29, 2015 14:14
Timely’s All-in-One Event Calendar agenda template file
{{ 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
<?php
/**
* BP Usernames Only Core
*
* @package BP-Usernames-Only
* @subpackage Core
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;

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 August 29, 2015 14:16
Dutch version (Nederlandse versie)

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

{"latitude":52.3886,"longitude":4.6397,"timezone":"Europe/Amsterdam","offset":1,"currently":{"time":1425917589,"summary":"Clear","icon":"clear-day","precipIntensity":0,"precipProbability":0,"temperature":53.07,"apparentTemperature":53.07,"dewPoint":46.54,"humidity":0.78,"windSpeed":6.97,"windBearing":180,"visibility":6.21,"cloudCover":0.2,"pressure":1024.42,"ozone":319.79},"hourly":{"summary":"Drizzle starting tonight, continuing until tomorrow morning.","icon":"rain","data":[{"time":1425916800,"summary":"Clear","icon":"clear-day","precipIntensity":0,"precipProbability":0,"temperature":53.47,"apparentTemperature":53.47,"dewPoint":46.95,"humidity":0.78,"windSpeed":6.79,"windBearing":178,"visibility":6.21,"cloudCover":0.18,"pressure":1024.5,"ozone":319.82},{"time":1425920400,"summary":"Partly Cloudy","icon":"partly-cloudy-day","precipIntensity":0,"precipProbability":0,"temperature":51.66,"apparentTemperature":51.66,"dewPoint":45.09,"humidity":0.78,"windSpeed":7.63,"windBearing":186,"visibility":6.21,"cloudCover
@mvaneijgen
mvaneijgen / gist:4121efb8fac4833454fa
Created March 16, 2015 18:58
Trying to install Hubot terminal erros
npm WARN locking Error: EACCES, open '/Users/mvaneijgen/.npm/_locks/hubot-google-images-b597f0e6cc957660.lock'
npm WARN locking at Error (native)
npm WARN locking /Users/mvaneijgen/.npm/_locks/hubot-google-images-b597f0e6cc957660.lock failed { [Error: EACCES, open '/Users/mvaneijgen/.npm/_locks/hubot-google-images-b597f0e6cc957660.lock']
npm WARN locking errno: -13,
npm WARN locking code: 'EACCES',
npm WARN locking path: '/Users/mvaneijgen/.npm/_locks/hubot-google-images-b597f0e6cc957660.lock' }
npm ERR! Darwin 14.1.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "hubot" "hubot-scripts" "hubot-diagnostics" "hubot-help" "hubot-heroku-keepalive" "hubot-google-images" "hubot-google-translate" "hubot-pugme" "hubot-maps" "hubot-redis-brain" "hubot-rules" "hubot-shipit" "hubot-youtube" "--save"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1