Skip to content

Instantly share code, notes, and snippets.

View yooouuri's full-sized avatar

Youri van Mill yooouuri

View GitHub Profile
@yooouuri
yooouuri / error
Created April 24, 2018 07:38
error log
[2018-04-24T09:34:02.854+0200] [Payara 5.181] [SEVERE] [] [org.glassfish.jersey.server.wadl.internal.generators.WadlGeneratorJAXBGrammarGenerator] [tid: _ThreadID=30 _ThreadName=http-thread-pool::http-listener-1(4)] [timeMillis: 1524555242854] [levelValue: 1000] [[
Failed to generate the schema for the JAX-B elements
com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 4 counts of IllegalAnnotationExceptions
Class has two properties of the same name "driver"
this problem is related to the following location:
at public final be.rekeningrijders.api.models.Driver be.rekeningrijders.api.models.User.getDriver()
at be.rekeningrijders.api.models.User
this problem is related to the following location:
at public be.rekeningrijders.api.models.Driver be.rekeningrijders.api.models.User.driver
at be.rekeningrijders.api.models.User
webpackJsonp([0], {
"+VGo": function(t, e) {},
0: function(t, e, a) {
t.exports = a("NHnr")
},
"1/oy": function(t, e) {},
"6HqF": function(t, e) {},
"9M+g": function(t, e) {},
D50l: function(t, e) {},
Id91: function(t, e) {},
<template>
<b-container fluid>
<b-row>
<b-col>1 of 3</b-col>
<b-col cols="8">
<b-form @submit="onSubmit" @reset="onReset" v-if="show" class="my-5">
<b-form-textarea id="textarea1"
v-model="text"
placeholder="What’s happening?"
:rows="3"
version: "3"
services:
jenkins:
image: jenkins/jenkins
container_name: jenkins
networks:
- sop
ports:
- "8080:8080"
volumes:
version: '3'
services:
jenkins:
image: jenkins/jenkins
container_name: jenkins
networks:
- sop
ports:
// router.js
import VueRouter from 'vue-router'
const Foo = { template: '<div>foo</div>' }
const Bar = { template: '<div>bar</div>' }
const routes = [
{ path: '/foo', component: Foo },
{ path: '/bar', component: Bar }
]
String url = "http://feetback-api.yourivanmill.nl/api/videos";
Request request = new Request.Builder()
.url(url)
.header("Authorization", String.format("Bearer %s", token))
.build();
OkHttpClient client = new OkHttpClient();
client.newCall(request).enqueue(new Callback() {
@Override
public void onFailure(Call call, IOException e) {
<!DOCTYPE html>
<html>
<head>
<title>Facebook Login JavaScript Example</title>
<meta charset="UTF-8">
</head>
<body>
<script>
// This is called with the results from from FB.getLoginStatus().
function statusChangeCallback(response) {
// task model
'use strict';
module.exports = (sequelize, DataTypes) => {
const Task = sequelize.define('Task', {
name: DataTypes.STRING
});
Task.associations = function (models) {
Task.belongsTo(models.User, {
<?php
namespace App\Providers;
use Faker\Factory;
use Faker\Generator;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{