Skip to content

Instantly share code, notes, and snippets.

View jellehak's full-sized avatar

Jelle jellehak

  • Utrecht
View GitHub Profile
// Globally register all base components for convenience, because they
// will be used very frequently. Components are registered using the filename
import Vue from 'vue';
// https://webpack.js.org/guides/dependency-management/#require-context
const requireComponent = require.context(
'./', // Look for files in the current directory
true, // include subdirectories
// Only include "_base-" prefixed .vue files
@jellehak
jellehak / ci.php
Last active November 11, 2019 16:06
<?php
// Script to handle github webhook
// https://developer.github.com/webhooks/
// =========================
// CONFIG
// =========================
// Set in Github
$secret = ""; // (optional but recommended) this makes this endpoint only availible to github e.g. veryverysecret